modif order
This commit is contained in:
@@ -6,34 +6,16 @@
|
||||
{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %}
|
||||
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
|
||||
|
||||
|
||||
{% block body %}
|
||||
<section id="body-wrapper">
|
||||
<section>
|
||||
|
||||
{% embed 'partials/layout.html.twig' with {blog: page} %}
|
||||
{% block item %}
|
||||
|
||||
<div class="works full-works">
|
||||
{% for child in collection if child.template == 'item' %}
|
||||
{% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
{% if show_pagination and config.plugins.pagination.enabled and collection.params.pagination %}
|
||||
<div id="listing-footer">
|
||||
{% include 'partials/pagination.html.twig' with {base_url: page.url, pagination: collection.params.pagination} %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'partials/sidebar.html.twig' %}
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
</section>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -29,9 +29,8 @@
|
||||
{% 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'}) %}
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{{ assets.js()|raw }}
|
||||
|
||||
{% endblock head %}
|
||||
@@ -42,6 +41,76 @@
|
||||
{% block header %}
|
||||
<header class="section">
|
||||
<div class="head">
|
||||
<div class="contact">
|
||||
<svg viewBox="0 0 100 100" shape-rendering="geometricPrecision" >
|
||||
<polygon points="34.2,87.4 12.3,65.5 12.3,34.5 34.2,12.6 65.2,12.6 87.1,34.5 87.1,65.5 65.2,87.4" fill="black"/>
|
||||
</svg>
|
||||
<h3>
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
version="1.1"
|
||||
id="svg965"
|
||||
width="20"
|
||||
height="20">
|
||||
<metadata
|
||||
id="metadata971">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs969" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="640"
|
||||
inkscape:window-height="480"
|
||||
id="namedview967" />
|
||||
<inkscape:clipboard
|
||||
style="font-variant-east_asian:normal;opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:2.46460448;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
min="1864.7122,919.53475"
|
||||
max="1884.7122,939.53475" />
|
||||
<g
|
||||
style="display:inline;fill:#ffffff;stroke:#ffffff;stroke-width:1.08238637;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
transform="matrix(1.6100891,1.6100891,-1.6100891,1.6100891,-713.59607,-797.57947)"
|
||||
id="g1175">
|
||||
<path
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.08238637;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 475.49404,20.410717 V 31.750003"
|
||||
id="path1169"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path1171"
|
||||
d="M 481.16368,26.08036 H 469.8244"
|
||||
style="fill:#ffffff;stroke:#ffffff;stroke-width:1.08238637;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
</h3>
|
||||
|
||||
{% include 'partials/navigation.html.twig' %}
|
||||
</div>
|
||||
<nav class="title">
|
||||
<a href="/">
|
||||
<div class="svg-container">
|
||||
@@ -122,35 +191,20 @@
|
||||
</a>
|
||||
<h2>{{site.header.status|upper}}</h2></a>
|
||||
</nav>
|
||||
<div class="contact">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
||||
<polygon points="34.2,87.4 12.3,65.5 12.3,34.5 34.2,12.6 65.2,12.6 87.1,34.5 87.1,65.5 65.2,87.4" fill="black"/>
|
||||
</svg>
|
||||
|
||||
<h3>Contact</h3>
|
||||
{% include 'partials/navigation.html.twig' %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="works works-mea">
|
||||
{% set options = { items: {'@page.children': '/'}, 'order': {'by': 'folder', 'dir': 'asc'} } %}
|
||||
{% set collection = page.collection(options) %}
|
||||
|
||||
{% for child in collection %}
|
||||
{% set mea = child.header.mea == 'true' %}
|
||||
{% if mea %}
|
||||
{% include 'partials/blog-list-mea.html.twig' with {blog: page, page: child} %}
|
||||
{% include 'partials/blog-list-mea.html.twig' with {blog: page, page: child} %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="scroll">
|
||||
<p>
|
||||
<!-- <svg
|
||||
version="1.1"
|
||||
id="svg942"
|
||||
width="14.285693"
|
||||
height="21.176479">
|
||||
<path
|
||||
d="M 7.2954407,1.0142422 7.1691705,19.380554 M 1.0081461,10.47474 7.1691705,19.380554 13.277893,9.9696436"
|
||||
style="fill:none;stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</svg> -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
width="9.2404556"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{% if not hero_image_name %}
|
||||
<div class="header-item">
|
||||
<div class="info">
|
||||
<div class="title">
|
||||
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
|
||||
{% if page.header.subtitle %}
|
||||
@@ -18,6 +19,7 @@
|
||||
{{ page.content|raw }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="prev-next">
|
||||
|
||||
@@ -94,6 +96,4 @@
|
||||
id="path995"
|
||||
inkscape:connector-curvature="0" />
|
||||
</svg>
|
||||
|
||||
<p>top</p>
|
||||
</div>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
{% for category in page.taxonomy.category %}
|
||||
<div class="card {{ category }}">
|
||||
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{% set item_col = show_sidebar ? 'col-9 col-md-12' : 'col-12' %}
|
||||
{% set sidebar_col = show_sidebar ? 'col-3 col-md-12' : 'col-12' %}
|
||||
|
||||
<div id="items">
|
||||
{% block item %}{% endblock %}
|
||||
</div>
|
||||
<div id="items">
|
||||
{% block item %}{% endblock %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user