This commit is contained in:
2019-05-05 15:25:13 +02:00
parent 3d878b3cb6
commit d6c2c075af
30 changed files with 3651 additions and 439 deletions
@@ -24,8 +24,8 @@
{% do assets.addJs('jquery', 101) %}
{% do assets.addJs('theme://js/jquery.easing.1.3.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/imagesloaded.pkgd.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/masonry.filter.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/masonry.pkgd.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/multipleFilterMasonry.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/jquery.mCustomScrollbar.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/jquery.mousewheel.min.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
@@ -37,7 +37,6 @@
{% endblock head %}
</head>
<body id="top" class="{{page.template}}">
<div id="page-wrapper" class=" {{page.template}}">
{% block header %}
@@ -1,11 +1,5 @@
{% if not hero_image_name %}
<div class="header-item">
<div class="title">
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
{% if page.header.subtitle %}
@@ -19,7 +13,6 @@
</div>
{% endif %}
<div class="content">
<div class="txt">
{{ page.content|raw }}
@@ -41,7 +34,6 @@
{% endfor %}
</span>
{% endif %}
<span class="blog-date">
<time class="dt-published" datetime="{{ page.date|date("c") }}">
{{ page.prevSibling.date|date("Y") }}
@@ -49,19 +41,33 @@
</span>
</div>
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
</a>
{% endif %}
{% if page.isLast %}
{% set parent = page.parent %}
{% for item in parent.collection.slice(0, 1) %}
<a class="cc" href="{{item.url}}">
<div class="btn-info">
<span class="title">Home</span>
</div>
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
</a>
{% for first_item in parent.collection.slice(0, 1) %}
<a class="btn" href="{{ first_item.url }}">
<div class="btn-info">
<span class="title">{{ first_item.title }}</span>
{% if first_item.taxonomy.category %}
<span class="tags">
{% for category in first_item.taxonomy.category %}
{{ category }}
{% endfor %}
</span>
{% endif %}
<span class="blog-date">
<time class="dt-published" datetime="{{ first_item.date|date("c") }}">
{{ first_item.date|date("Y") }}
</time>
</span>
</div>
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
</a>
{% endfor %}
{% endif %}
@@ -77,7 +83,7 @@
</div>
<div class="top">
<a href="#page-wrapper">
<a href="">
<img src="user/themes/gilles_acezat/images/arrow-top.svg" alt="">
<p>top</p>
</a>
@@ -1,5 +1,5 @@
{% for category in page.taxonomy.category %}
<div class="card {{ category }}">
<div class="card" data-filter ="{{category}}">
{% set image = page.media.images|first %}
{% if image %}
@@ -1,7 +1,7 @@
{% if page.taxonomy.category %}
<span class="category">
{% for category in page.taxonomy.category %}
<a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-category" href="{{ blog.url|rtrim('/') }}/category{{ config.system.param_sep }}{{ category }}#body-wrapper">{{ category }}</a>
<a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-category" href="{{page.url}}">{{ category }}</a>
{% endfor %}
</span>
{% endif %}
@@ -1,7 +1,7 @@
{% if page.taxonomy.tag %}
<span class="tags">
{% for tag in page.taxonomy.tag %}
<a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-tag" href="{{ blog.url|rtrim('/') }}/tag{{ config.system.param_sep }}{{ tag }}#body-wrapper">{{ tag }}</a>
<a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-tag" href="{{page.url}}">{{ tag }}</a>
{% endfor %}
</span>
{% endif %}
@@ -5,8 +5,7 @@
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
<div data-toggle="buttons" class="btn-group">
<label class="btn btn-default">
<input type="checkbox" value="{{ tax }}" >
{{tax}}
<a href="#" data-filter="{{ tax }}">{{tax}}</a>
</label>
</div>
{% endfor %}