add anime+boucleproj
This commit is contained in:
@@ -25,11 +25,12 @@
|
||||
{% 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.pkgd.min.js', {group:'bottom'}) %}
|
||||
{% do assets.addJs('theme://js/scrollreveal.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'}) %}
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
{{ assets.js()|raw }}
|
||||
|
||||
@@ -37,37 +38,45 @@
|
||||
</head>
|
||||
|
||||
|
||||
<body id="top" >
|
||||
<body id="top" class="{{page.template}}">
|
||||
<div id="page-wrapper" class=" {{page.template}}">
|
||||
{% block header %}
|
||||
<header class="section">
|
||||
<section class="container {{ grid_size }}">
|
||||
<nav class="navbar">
|
||||
<div class="head">
|
||||
<nav class="title">
|
||||
<a href="/"><h1>{{site.title|capitalize}}</h1>
|
||||
<h2>{{site.header.status|upper}}</h2></a>
|
||||
</nav>
|
||||
<div class="contact">
|
||||
<img src="user/themes/gilles_acezat/images/contact.svg" alt="">
|
||||
<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>
|
||||
{% include 'partials/navigation.html.twig' %}
|
||||
</section>
|
||||
<section class="works works-mea">
|
||||
</div>
|
||||
<div class="works works-mea">
|
||||
{% for child in collection %}
|
||||
{% set mea = child.header.mea == 'true' %}
|
||||
{% if mea %}
|
||||
{% include 'partials/blog-list-item.html.twig' with {blog: page, page: child} %}
|
||||
{% include 'partials/blog-list-mea.html.twig' with {blog: page, page: child} %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</section>
|
||||
</div>
|
||||
<div class="scroll">
|
||||
<p>scroll</p>
|
||||
<p>scroll</p>
|
||||
</div>
|
||||
</header>
|
||||
{% endblock %}
|
||||
|
||||
<section id="start" class="section">
|
||||
<div class="cat-list btn-toolbar">
|
||||
<ul>
|
||||
{% include 'partials/taxonomylist.html.twig' with {base_url: my_url, taxonomy: 'category', children_only: true} %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% block body %}
|
||||
<section id="body-wrapper">
|
||||
<section>
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
{% 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 %}
|
||||
@@ -48,15 +54,15 @@
|
||||
{% endif %}
|
||||
|
||||
{% if page.isLast %}
|
||||
|
||||
<a class="cc" href="/">
|
||||
<div class="btn-info">
|
||||
|
||||
<span class="title">Home</span>
|
||||
|
||||
</div>
|
||||
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
|
||||
</a>
|
||||
{% 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>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% for category in page.taxonomy.category %}
|
||||
<div class="card {{ category }}" data-category= "{{ category }}">
|
||||
<div class="card {{ category }}">
|
||||
|
||||
{% set image = page.media.images|first %}
|
||||
{% if image %}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{% for category in page.taxonomy.category %}
|
||||
<div class="card {{ category }}">
|
||||
|
||||
<div class="card-image">
|
||||
<a href="{{ page.url }}"><img src="{{page.url}}/{{page.header.meaimg}}" alt="{{page.header.meaimg}}"></a>
|
||||
</div>
|
||||
|
||||
<div class="card-header">
|
||||
<div class="card-title">
|
||||
{% include 'partials/blog/title.html.twig' with {title_level: 'h5'} %}
|
||||
</div>
|
||||
|
||||
|
||||
{% if page.taxonomy.category %}
|
||||
<div class="card-category">
|
||||
{% include 'partials/blog/category.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.date %}
|
||||
<div class="card-date">
|
||||
{% include 'partials/blog/date.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if page.taxonomy.tag %}
|
||||
<div class="card-footer">
|
||||
{% include 'partials/blog/taxonomy.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
@@ -1,11 +1,11 @@
|
||||
{% set title_level = title_level ?: 'h2' %}
|
||||
{% if page.header.link %}
|
||||
<{{ title_level }}>
|
||||
<{{ title_level }}>
|
||||
{% if page.header.continue_link is not same as(false) %}
|
||||
<a href="{{ page.url }}"><i class="fa fa-angle-double-right u-url"></i></a>
|
||||
{% endif %}
|
||||
<a href="{{ page.header.link }}" class="u-url">{{ page.title }}</a>
|
||||
</{{ title_level }}>
|
||||
{% else %}
|
||||
<{{ title_level }}><a href="{{ page.url }}">{{ page.title }}</a></{{ title_level }}>
|
||||
<a href="{{ page.url }}"><{{ title_level }}>{{ page.title }}</{{ title_level }}></a>
|
||||
{% endif %}
|
||||
|
||||
@@ -3,10 +3,11 @@
|
||||
{% if taxlist %}
|
||||
{% for tax,value in taxlist[taxonomy] %}
|
||||
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
|
||||
<li class="cat">
|
||||
<a class="label label-rounded {{ label_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">
|
||||
{{ tax }}
|
||||
</a>
|
||||
</li>
|
||||
<div data-toggle="buttons" class="btn-group">
|
||||
<label class="btn btn-default">
|
||||
<input type="checkbox" value="{{ tax }}" >
|
||||
{{tax}}
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user