include js
This commit is contained in:
@@ -15,25 +15,14 @@
|
||||
|
||||
{% block bottom %}
|
||||
{{ parent() }}
|
||||
{% if show_onpage_menu %}
|
||||
<script>
|
||||
// singlePageNav initialization & configuration
|
||||
$('ul.navigation').singlePageNav({
|
||||
offset: $('#header').outerHeight(),
|
||||
filter: ':not(.external)',
|
||||
updateHash: true,
|
||||
currentClass: 'active'
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block header_navigation %}
|
||||
{% if show_onpage_menu %}
|
||||
<ul class="navigation">
|
||||
{% for module in page.collection() if module.header.visible is not same as(false) %}
|
||||
{% for module in page.collection() if module.template == 'blog' %}
|
||||
{% set current_module = (module.active or module.activeChild) ? 'active' : '' %}
|
||||
<li><a class="{{ current_module }}" href="#{{ macro.pageLinkName(module.menu) }}">{{ module.menu }}</a></li>
|
||||
<li><a class="{{ current_module }}" href="#{{ macro.pageLinkName(module.menu)|hyphenize }}">{{ module.menu }}</a></li>
|
||||
{% endfor %}
|
||||
{% for mitem in site.menu %}
|
||||
<li>
|
||||
@@ -61,25 +50,23 @@
|
||||
{{page.content}}
|
||||
</section>
|
||||
|
||||
{% for module in page.collection() if module.template == 'blog' %}
|
||||
|
||||
{% for module in page.collection() %}
|
||||
|
||||
<section id="{{ macro.pageLinkName(module.menu) }}">
|
||||
<section id="{{ macro.pageLinkName(module.menu)|hyphenize }}">
|
||||
|
||||
<h2>{{ module.title }}</h2>
|
||||
<div class="filet"></div>
|
||||
<div class="arrow"></div>
|
||||
<div>
|
||||
{{ module.content|raw }}
|
||||
|
||||
{% for child in module.collection %}
|
||||
{% set gal = child.header.blog.config %}
|
||||
|
||||
<section id="{{ macro.pageLinkName(child.menu) }}">
|
||||
<section id="{{ macro.pageLinkName(child.menu)|hyphenize }}">
|
||||
|
||||
{% if child.title %}
|
||||
<div class="title">
|
||||
<h3>{{ child.title }}</h3>
|
||||
<div class="filet"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{% set grid_size = theme_var('grid-size') %}
|
||||
{% set image = page.media.images|first %}
|
||||
|
||||
<section>
|
||||
<section class="mCustomScrollbar">
|
||||
{% if image %}
|
||||
<div class="column col-6 col-md-12">
|
||||
{{ content|raw }}
|
||||
@@ -12,7 +12,7 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="column col-12">
|
||||
<div class="column col-12" >
|
||||
{{ content|raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -16,19 +16,20 @@
|
||||
<link rel="canonical" href="{{ page.url(true, true) }}" />
|
||||
|
||||
{% block stylesheets %}
|
||||
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
|
||||
{% do assets.addCss('theme://css/owl.carousel.min.css') %}
|
||||
{% do assets.addCss('theme://css/owl.theme.default.min.css') %}
|
||||
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
|
||||
{% do assets.addCss('theme://css/owl.carousel.min.css') %}
|
||||
{% do assets.addCss('theme://css/owl.theme.default.min.css') %}
|
||||
{% do assets.addCss('theme://css/jquery.mCustomScrollbar.css') %}
|
||||
{% endblock %}
|
||||
|
||||
{{ assets.css()|raw }}
|
||||
|
||||
{% block javascripts %}
|
||||
{% do assets.addJs('jquery', 101) %}
|
||||
{% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/owl.carousel.min.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/scritps.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('jquery', 101) %}
|
||||
{% do assets.addJs('theme://js/jquery-1.10.2.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/owl.carousel.min.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/jquery.mCustomScrollbar.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/scritps.js', {group:'bottom'}) %}
|
||||
{% endblock %}
|
||||
{{ assets.js()|raw }}
|
||||
|
||||
@@ -36,6 +37,28 @@
|
||||
</head>
|
||||
|
||||
<body id="top">
|
||||
<div class="background">
|
||||
<div class="fond-g">
|
||||
<svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
|
||||
<path
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3336"
|
||||
d="M 0,0 500,0 0,500 Z"
|
||||
style="fill:#fff59b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="fond-d">
|
||||
<svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
|
||||
<path
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3336"
|
||||
d="M 0,0 500,500 500,0 Z"
|
||||
style="fill:#f39655;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
{% block header %}
|
||||
<header>
|
||||
|
||||
@@ -47,7 +70,6 @@
|
||||
|
||||
<div class="title">
|
||||
<h1><a href="{{ home_url }}">{{site.title}}</a></h1>
|
||||
<div class="filet"></div>
|
||||
</div>
|
||||
|
||||
<section class="logo">
|
||||
@@ -64,7 +86,7 @@
|
||||
{% include 'partials/logo.html.twig' %}
|
||||
|
||||
{% for module in page.find('/home').children.order('date', 'desc') %}
|
||||
<section class="why_lsdo">
|
||||
<section class="why_lsdo ">
|
||||
<h3>{{module.title}}</h3>
|
||||
{{module.content}}
|
||||
<svg>
|
||||
@@ -75,24 +97,55 @@
|
||||
</header>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block hero %}{% endblock %}
|
||||
|
||||
<section id="start">
|
||||
{% block body %}
|
||||
<section id="body-wrapper" class="section">
|
||||
<section class="container {{ grid_size }}">
|
||||
{% block messages %}
|
||||
{% include 'partials/messages.html.twig' ignore missing %}
|
||||
{% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
</section>
|
||||
</section>
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
</section>
|
||||
|
||||
|
||||
{% block footer %}
|
||||
|
||||
<footer>
|
||||
<ul>
|
||||
{% for module in page.find('/pied-de-page').children.order('date', 'desc') %}
|
||||
<li>
|
||||
<a href="#{{ macro.pageLinkName(module.menu)|hyphenize }}">{{module.title}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% for module in page.find('/pied-de-page').children.order('date', 'desc') %}
|
||||
<section id="{{ macro.pageLinkName(module.menu)|hyphenize }}">
|
||||
<h3>{{module.title}}</h3>
|
||||
{{module.content}}
|
||||
</section>
|
||||
{% endfor %}
|
||||
|
||||
<div class="background-footer">
|
||||
<div class="fond-g">
|
||||
<svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
|
||||
<path
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3336"
|
||||
d="M 500,500 0,0 0,500 Z"
|
||||
style="fill:#fff59b;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="fond-d">
|
||||
<svg version="1.1" viewBox="0 0 500 500" preserveAspectRatio="xMinYMin meet">
|
||||
<path
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3336"
|
||||
d="M 500,500 0,500 500,0 Z"
|
||||
style="fill:#f39655;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.22091293px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" />
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{% endblock %}
|
||||
|
||||
{% block bottom %}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
{% include 'partials/comments.html.twig' %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<p class="prev-next text-center">
|
||||
|
||||
@@ -11,4 +11,3 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user