add fullpage
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
{% if show_onpage_menu %}
|
||||
<script>
|
||||
// singlePageNav initialization & configuration
|
||||
$('ul.navigation').singlePageNav({
|
||||
offset: $('#header').outerHeight(),
|
||||
filter: ':not(.external)',
|
||||
updateHash: true,
|
||||
currentClass: 'active'
|
||||
});
|
||||
// $('ul.navigation').singlePageNav({
|
||||
// offset: $('#header').outerHeight(),
|
||||
// filter: ':not(.external)',
|
||||
// updateHash: true,
|
||||
// currentClass: 'active'
|
||||
// });
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
{% block body %}
|
||||
|
||||
<div id="{{ _self.pageLinkName(page.menu) }}" class="section">
|
||||
<div class=" {{ _self.pageLinkName(page.menu) }} section">
|
||||
<div class="visu-album">
|
||||
{% set header_image_media = page.media.images|first %}
|
||||
{{header_image_media}}
|
||||
@@ -69,7 +69,7 @@
|
||||
</div>
|
||||
|
||||
{% for module in page.collection() %}
|
||||
<div id="{{ _self.pageLinkName(module.menu) }}" class="section">
|
||||
<div class=" {{ _self.pageLinkName(module.menu) }} section">
|
||||
{{ module.content }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user