1
0
Fork 0

[SITE CONFIG] exclude more pages form sitemap + moved some css from head to end

This commit is contained in:
Jannik Beyerstedt 2016-04-22 22:57:29 +02:00
parent eed3847c98
commit edf3ce49c8
3 changed files with 9 additions and 15 deletions

View file

@ -68,7 +68,7 @@ c::set('columns.container', 'row');
c::set('columns.item', 'col-sm-6 columns');
// enhanced sitemap by Jannik Beyerstedt:
c::set('smap_ignoreSite', array('sitemap', 'error', 'home'));
c::set('smap_ignoreSite', array('sitemap', 'error', 'home', 'qr', 'secret', 'test'));
c::set('smap_ignoreTemplate', array('carousel', 'redirect'));
c::set('smap_heading_visible', 'Hauptmenü');
c::set('smap_heading_invisible', 'weitere Seiten');

View file

@ -39,7 +39,13 @@ echo js('assets/vendors/bootstrap/js/dist/carousel.js');
}
?>
<?php if (c::get('plg_masonry.enable') && $plg_masonry==true) : ?>
<?php if (c::get('plg_masonry.enable') && $plg_masonry==true) : $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 echo js('assets/vendors/masonry/dist/masonry.pkgd.min.js');?>
<script type="text/javascript">
@ -52,6 +58,7 @@ echo js('assets/vendors/bootstrap/js/dist/carousel.js');
</script>
<?php echo js('assets/vendors/swipebox/src/js/jquery.swipebox.min.js');?>
<?php echo css('assets/vendors/swipebox/src/css/swipebox.css') ?>
<script type="text/javascript">
$(document).ready(function () {

View file

@ -37,18 +37,5 @@ if( $page->isHomePage() ) {
<link href='https://fonts.googleapis.com/css?family=Alegreya+Sans:400,100,300,400italic,500,500italic,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Crimson+Text:400,700' rel='stylesheet' type='text/css'>
<?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>