[GIT] add even more dependencies and basic project structure
This commit is contained in:
parent
9f5109d65f
commit
b6a4368226
22 changed files with 3100 additions and 2 deletions
62
site/snippets/base/html-end.php
Normal file
62
site/snippets/base/html-end.php
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
// -------------------------------------------
|
||||
// kirby snippet FOR GENERAL
|
||||
|
||||
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
|
||||
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
|
||||
// -------------------------------------------
|
||||
?>
|
||||
|
||||
<!-- Bootstrap core JavaScript-->
|
||||
<?php echo js('assets/vendors/jquery-2.2.2.min.js') ?>
|
||||
<?php //echo js('assets/vendors/bootstrap/js/bootstrap.min.js') ?>
|
||||
|
||||
<?php if (c::get('navbar-affix')) : ?>
|
||||
<script>
|
||||
$('.navbar-wrapper').affix({
|
||||
offset: {
|
||||
top: $('header').height()
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (c::get('plg_masonry.enable')) {
|
||||
echo js('assets/vendors/masonry/dist/masonry.pkgd.min.js');
|
||||
}?>
|
||||
|
||||
<?php if (c::get('plg_masonry.lightbox')=='swipebox') {
|
||||
echo js('assets/vendors/swipebox/src/js/jquery.swipebox.min.js');
|
||||
}?>
|
||||
|
||||
<?php if (c::get('plg_carousel.enable')) : ?>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$('.carousel').carousel('cycle');
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ((c::get('plg_masonry.lightbox')=='swipebox')) : ?>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
$('.swipebox' ).swipebox();
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (c::get('plg_masonry.enable')) : ?>
|
||||
<script type="text/javascript">
|
||||
$('#masonry').masonry({
|
||||
isFitWidth: true,
|
||||
columnWidth: <?php echo c::get('plg_masonry.width') ?>,
|
||||
gutter: 10,
|
||||
itemSelector: '.masonryitem'
|
||||
});
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo piwik(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue