[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
15
site/snippets/base/cont-footer.php
Normal file
15
site/snippets/base/cont-footer.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
// -------------------------------------------
|
||||
// kirby snippet FOR jannikbeyerstedt.de
|
||||
|
||||
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
|
||||
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
|
||||
// -------------------------------------------
|
||||
?>
|
||||
<footer class="section" id="footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<p id="copyright"><?php echo $site->copyright()->kirbytextRaw() ?></p>
|
||||
<p id="info"><?php echo $site->webdesigner()->kirbytextRaw() ?></p>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</footer>
|
15
site/snippets/base/cont-header.php
Normal file
15
site/snippets/base/cont-header.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
// -------------------------------------------
|
||||
// kirby snippet FOR jannikbeyerstedt.de
|
||||
|
||||
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
|
||||
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
|
||||
// -------------------------------------------
|
||||
?>
|
||||
<header class="section" id="header" role="banner">
|
||||
<div class="container">
|
||||
<a class="logo" href="<?php echo url() ?>">
|
||||
<h1 id="logo">Jannik Beyerstedt</h1>
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
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>
|
48
site/snippets/base/html-head.php
Normal file
48
site/snippets/base/html-head.php
Normal file
|
@ -0,0 +1,48 @@
|
|||
<?php
|
||||
// -------------------------------------------
|
||||
// kirby snippet FOR jannikbeyerstedt.de
|
||||
|
||||
// copyright: Jannik Beyerstedt | https://jannikbeyerstedt.de
|
||||
// license: http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 License
|
||||
// -------------------------------------------
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<?php if( $page->isHomePage() ) : ?>
|
||||
<title><?php echo $site->title()->html() ?> </title>
|
||||
<?php else : ?>
|
||||
<title><?php echo $site->title()->html() ?> | <?php echo $page->title()->html() ?></title>
|
||||
<?php endif; ?>
|
||||
<meta name="description" content="<?php echo $site->description()->html() ?>">
|
||||
<meta name="keywords" content="<?php echo $site->keywords()->html() ?>">
|
||||
<meta name="author" content="<?php echo $site->author()->html() ?>" >
|
||||
<?php if ($page->meta_robots()->html() != "") : ?>
|
||||
<meta name="robots" content="<?php echo $page->meta_robots()->html() ?>">
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo css('assets/vendors/font-awesome/css/font-awesome.min.css') ?>
|
||||
<?php echo css('assets/vendors/font-awesome/css/font-awesome.min.css') ?>
|
||||
|
||||
<?php echo css('assets/css/main.css') ?>
|
||||
<?php echo css('@auto') ?>
|
||||
|
||||
<!-- Google web fonts -->
|
||||
|
||||
|
||||
<?php if (c::get('plg_masonry.enable')) : $width = c::get('plg_masonry.width'); ?>
|
||||
<style>
|
||||
#masonry {margin: 0 auto;}
|
||||
.masonryitem { width: <?php echo $width ?>px; margin-bottom: 10px;}
|
||||
.masonryitem.w2 { width: 40%; }
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (c::get('plg_masonry.lightbox')=='swipebox') : ?>
|
||||
<?php echo css('assets/vendors/swipebox/src/css/swipebox.css') ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</head>
|
||||
<body>
|
Loading…
Add table
Add a link
Reference in a new issue