first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{% extends 'partials/base.html.twig' %}
|
||||
{% set blog_image = page.media.images[page.header.hero_image] ?: page.media.images|first %}
|
||||
{% set collection = page.collection() %}
|
||||
{% set blog = page.find(header_var('blog_url')|defined(theme_var('blog-page'))) %}
|
||||
{% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog])|defined(true) %}
|
||||
{% 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">
|
||||
{% 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>
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,17 @@
|
||||
{% block content %}
|
||||
<div class="txt">
|
||||
{{ page.content|raw }}
|
||||
<div class="reso">
|
||||
<div class="fb">
|
||||
<a href="https://www.facebook.com/gilles.acezat" target="_blank">
|
||||
<img src="user/themes/gilles_acezat/images/fb.svg" alt="logo facebook">
|
||||
</a>
|
||||
</div>
|
||||
<div class="insta">
|
||||
<a href="https://www.instagram.com/acezatgilles/" target="_blank">
|
||||
<img src="user/themes/gilles_acezat/images/insta.svg" alt="logo instagram">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,12 @@
|
||||
{% extends 'partials/base.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<div id="error">
|
||||
<div>
|
||||
<h1>{{ 'PLUGIN_ERROR.ERROR'|t }} {{ page.header.http_response_code }}</h1>
|
||||
<p>
|
||||
{{ page.content|raw }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,32 @@
|
||||
{% extends "forms/field.html.twig" %}
|
||||
|
||||
{% block label %}
|
||||
{% endblock %}
|
||||
|
||||
{% block input %}
|
||||
{% set id = field.id|default(field.name) ~ '-' ~ key %}
|
||||
<div class="{{ form_field_wrapper_classes ?: 'form-input-wrapper' }} {{ field.size }} {{ field.wrapper_classes }}">
|
||||
<label class="{{ form_field_checkbox_classes }}" for="{{ id|e }}">
|
||||
<input
|
||||
{# required attribute structures #}
|
||||
name="{{ (scope ~ field.name)|fieldName }}"
|
||||
value="{{ value|join(', ') }}"
|
||||
type="checkbox"
|
||||
{% if value == true %} checked="checked" {% endif %}
|
||||
|
||||
{# input attribute structures #}
|
||||
{% block input_attributes %}
|
||||
id="{{ id|e }}"
|
||||
{% if field.classes is defined %}class="{{ field.classes }}" {% endif %}
|
||||
{% if field.style is defined %}style="{{ field.style|e }}" {% endif %}
|
||||
{% if field.disabled or isDisabledToggleable %}disabled="disabled"{% endif %}
|
||||
{% if field.autofocus in ['on', 'true', 1] %}autofocus="autofocus"{% endif %}
|
||||
{% if field.novalidate in ['on', 'true', 1] %}novalidate="novalidate"{% endif %}
|
||||
{% if required %}required="required"{% endif %}
|
||||
{% endblock %}
|
||||
/>
|
||||
<i class="form-icon"></i>
|
||||
{{ field.label|t|e }} {{ field.validate.required in ['on', 'true', 1] ? '<span class="required">*</span>' }}
|
||||
</label>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,44 @@
|
||||
{% extends "forms/field.html.twig" %}
|
||||
|
||||
{% set originalValue = value %}
|
||||
{% set value = (value is null ? field.default : value) %}
|
||||
{% if field.use == 'keys' and field.default %}
|
||||
{% set value = field.default|merge(value) %}
|
||||
{% endif %}
|
||||
|
||||
{% block global_attributes %}
|
||||
{{ parent() }}
|
||||
data-grav-keys="{{ field.use == 'keys' ? 'true' : 'false' }}"
|
||||
data-grav-field-name="{{ (scope ~ field.name)|fieldName }}"
|
||||
{% endblock %}
|
||||
|
||||
{% block input %}
|
||||
{% for key, text in field.options %}
|
||||
|
||||
{% set id = field.id|default(field.name) ~ '-' ~ key %}
|
||||
{% set name = field.use == 'keys' ? key : id %}
|
||||
{% set val = field.use == 'keys' ? '1' : key %}
|
||||
{% set checked = (field.use == 'keys' ? value[key] : key in value) %}
|
||||
{% set help = (key in field.help_options|keys ? field.help_options[key] : false) %}
|
||||
|
||||
<div class="checkboxes {{ form_field_wrapper_classes }} {{ field.wrapper_classes }}">
|
||||
<label class="{{ form_field_checkbox_classes }}" for="{{ id|e }}">
|
||||
<input type="checkbox"
|
||||
id="{{ id|e }}"
|
||||
value="{{ val|e }}"
|
||||
name="{{ (scope ~ field.name)|fieldName ~ '[' ~ name ~ ']' }}"
|
||||
{% if checked %}checked="checked"{% endif %}
|
||||
{% if field.classes is defined %}class="{{ field.classes }}" {% endif %}
|
||||
{% if field.disabled or isDisabledToggleable %}disabled="disabled"{% endif %}
|
||||
|
||||
>
|
||||
<i class="form-icon"></i>
|
||||
{% if help %}
|
||||
<span class="hint--bottom" data-hint="{{ help|t|e('html_attr') }}">{{ text|t|e }}</span>
|
||||
{% else %}
|
||||
{{ text|t|e }}
|
||||
{% endif %}
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,26 @@
|
||||
{% extends "forms/field.html.twig" %}
|
||||
|
||||
{% set originalValue = value %}
|
||||
{% set value = (value is null ? field.default : value) %}
|
||||
|
||||
{% block input %}
|
||||
{% for key, text in field.options %}
|
||||
{% set id = field.id|default(field.name) ~ '-' ~ key %}
|
||||
|
||||
<div class="radio {{ form_field_wrapper_classes }} {{ field.wrapper_classes }}">
|
||||
<label class="{{ form_field_radio_classes }}" for="{{ id|e }}">
|
||||
<input type="radio"
|
||||
value="{{ key|e }}"
|
||||
id="{{ id|e }}"
|
||||
name="{{ (scope ~ field.name)|fieldName }}"
|
||||
{% if field.classes is defined %}class="{{ field.classes }}" {% endif %}
|
||||
{% if key == value %}checked="checked" {% endif %}
|
||||
{% if field.disabled or isDisabledToggleable %}disabled="disabled"{% endif %}
|
||||
{% if required %}required="required"{% endif %}
|
||||
/>
|
||||
<i class="form-icon"></i>
|
||||
{% if grav.twig.twig.filters['tu'] is defined %}{{ text|tu|raw }}{% else %}{{ text|t|raw }}{% endif %}
|
||||
</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,3 @@
|
||||
{% set form_field_checkbox_classes = 'form-switch' %}
|
||||
{% extends "forms/fields/checkbox/checkbox.html.twig" %}
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{% extends 'partials/base.html.twig' %}
|
||||
{% set blog = page.find(header_var('blog_url')|defined(theme_var('blog-page'))) %}
|
||||
{% set show_breadcrumbs = header_var('show_breadcrumbs', [page, blog])|defined(true) %}
|
||||
{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %}
|
||||
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
|
||||
{% set hero_image_name = page.header.hero_image %}
|
||||
|
||||
{% block hero %}
|
||||
{% if hero_image_name %}
|
||||
{% set hero_image = page.media[hero_image_name] %}
|
||||
{% set content %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
<h2>{{ page.header.subtitle }}</h2>
|
||||
{% include 'partials/blog/date.html.twig' %}
|
||||
{% include 'partials/blog/taxonomy.html.twig' %}
|
||||
{% endset %}
|
||||
{% include 'partials/hero.html.twig' with {id: 'blog-hero'} %}
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<section id="body-wrapper" class="section blog-listing">
|
||||
<section class="container {{ grid_size }}">
|
||||
|
||||
{% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
|
||||
{% include 'partials/breadcrumbs.html.twig' %}
|
||||
{% endif %}
|
||||
|
||||
{% embed 'partials/layout.html.twig' %}
|
||||
{% block item %}
|
||||
{% include 'partials/blog-item.html.twig' %}
|
||||
{% endblock %}
|
||||
{% block sidebar %}
|
||||
{% include 'partials/sidebar.html.twig' %}
|
||||
{% endblock %}
|
||||
{% endembed %}
|
||||
</section>
|
||||
</section>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,8 @@
|
||||
{% macro nav_loop(page) %}
|
||||
{% import _self as macros %}
|
||||
|
||||
{% for p in page.children.visible if p.template == 'default' %}
|
||||
{% set active_page = (p.active or p.activeChild) ? ' class="active"' : '' %}
|
||||
{% include 'default.html.twig' with {blog: page, page: p} %}
|
||||
{% endfor %}
|
||||
{% endmacro %}
|
||||
@@ -0,0 +1,42 @@
|
||||
{% extends 'partials/base.html.twig' %}
|
||||
|
||||
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
|
||||
|
||||
{% import _self as macro %}
|
||||
|
||||
{% set show_onpage_menu = header.onpage_menu == true or header.onpage_menu is null %}
|
||||
|
||||
{% block header_navigation %}
|
||||
{% if show_onpage_menu %}
|
||||
<ul class="navigation">
|
||||
{% for module in page.collection() if module.header.visible is not same as(false) %}
|
||||
{% set current_module = (module.active or module.activeChild) ? 'active' : '' %}
|
||||
<li><a class="{{ current_module }}" href="#{{ macro.pageLinkName(module.menu) }}">{{ module.menu }}</a></li>
|
||||
{% endfor %}
|
||||
{% for mitem in site.menu %}
|
||||
<li>
|
||||
<a {% if mitem.class %}class="{{ mitem.class }}"{% endif %} href="{{ mitem.url }}">
|
||||
{% if mitem.icon %}<i class="fa fa-{{ mitem.icon }}"></i>{% endif %}
|
||||
{{ mitem.text }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
{{ parent() }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block hero %}
|
||||
{% for module in page.collection() if module.template == 'modular/hero' %}
|
||||
<div id="{{ macro.pageLinkName(module.menu) }}"></div>
|
||||
{{ module.content|raw }}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% for module in page.collection() if module.template != 'modular/hero' %}
|
||||
<div id="{{ macro.pageLinkName(module.menu) }}"></div>
|
||||
{{ module.content|raw }}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,30 @@
|
||||
{% set grid_size = theme_var('grid-size') %}
|
||||
{% set columns = page.header.class == 'small' ? 'col-3 col-md-4 col-sm-6' : 'col-4 col-md-6 col-sm-12' %}
|
||||
<section class="section modular-features {{ page.header.class}}">
|
||||
<section class="container {{ grid_size }}">
|
||||
<div class="frame-box">
|
||||
|
||||
{{ content|raw }}
|
||||
|
||||
<div class="columns">
|
||||
{% for feature in page.header.features %}
|
||||
<div class="column {{ columns }}">
|
||||
{% if feature.url %}<a href="{{feature.url}}">{% endif %}
|
||||
<div class="feature-icon">
|
||||
<i class="fa fa-fw {{ feature.icon }}"></i>
|
||||
{% if feature.header %}
|
||||
<h6>{{ feature.header }}</h6>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if feature.url %}</a>{% endif %}
|
||||
<div class="feature-content">
|
||||
{% if feature.text %}
|
||||
<p>{{ feature.text }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
@@ -0,0 +1,4 @@
|
||||
{% set grid_size = theme_var('grid-size') %}
|
||||
{% set hero_image = page.header.hero_image ? page.media[page.header.hero_image] : page.media.images|first %}
|
||||
|
||||
{% include 'partials/hero.html.twig' %}
|
||||
@@ -0,0 +1,23 @@
|
||||
{% set grid_size = theme_var('grid-size') %}
|
||||
{% set image = page.media.images|first %}
|
||||
|
||||
<section class="section modular-text {{ page.header.class}} bg-gray">
|
||||
<section class="container {{ grid_size }}">
|
||||
<div class="columns {{ page.header.image_align|default('align-right') }}">
|
||||
{% if image %}
|
||||
<div class="column col-6 col-md-12">
|
||||
{{ content|raw }}
|
||||
</div>
|
||||
<div class="column col-6 col-md-12">
|
||||
{% if image %}
|
||||
{{ image.html|raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="column col-12">
|
||||
{{ content|raw }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
</section>
|
||||
@@ -0,0 +1,13 @@
|
||||
<ul class="archives">
|
||||
|
||||
{% for month,items in archives_data %}
|
||||
<li>
|
||||
<a href="{{ base_url }}/{{ config.plugins.archives.taxonomy_names.month }}{{ config.system.param_sep }}{{ month|date('M_Y')|lower|e('url') }}">
|
||||
{% if archives_show_count %}
|
||||
<span class="label label-rounded label-primary">{{ items|length }}</span>
|
||||
{% endif %}
|
||||
<span class="archive_date">{{ month }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
@@ -0,0 +1,177 @@
|
||||
{% set body_classes = body_class(['header-fixed', 'header-animated', 'header-dark', 'header-transparent', 'sticky-footer']) %}
|
||||
{% set grid_size = theme_var('grid-size') %}
|
||||
{% set compress = theme_var('production-mode') ? '.min.css' : '.css' %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ grav.language.getActive ?: grav.config.site.default_lang }}">
|
||||
<head>
|
||||
{% block head %}
|
||||
<meta charset="utf-8" />
|
||||
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
|
||||
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{% include 'partials/metadata.html.twig' %}
|
||||
|
||||
<link rel="icon" type="image/png" href="{{ url('theme://images/favicon.png') }}" />
|
||||
<link rel="canonical" href="{{ page.url(true, true) }}" />
|
||||
|
||||
{% block stylesheets %}
|
||||
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
|
||||
{% endblock %}
|
||||
{{ assets.css()|raw }}
|
||||
|
||||
{% block javascripts %}
|
||||
{% 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/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 %}
|
||||
</head>
|
||||
|
||||
<body id="top" class="{{page.template}}">
|
||||
<div id="page-wrapper" class=" {{page.template}}">
|
||||
{% 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>Contact</h3>
|
||||
{% include 'partials/navigation.html.twig' %}
|
||||
</div>
|
||||
<nav class="title">
|
||||
<a href="/">
|
||||
<div class="svg-container">
|
||||
<svg
|
||||
version="1.1"
|
||||
viewBox="0 0 1700 230"
|
||||
preserveAspectRatio="xMinYMin meet"
|
||||
class="svg-content"
|
||||
shape-rendering="geometricPrecision"
|
||||
>
|
||||
<path
|
||||
d="M 1,224.86667 V 14.186658 h 51.52 q 34.653332,0 50.29333,11.653342 15.94667,11.653341 15.94667,39.866682 0,9.199975 -2.14667,17.173304 -1.84,7.666696 -4.90667,13.8 -2.76,6.133344 -6.74666,10.733364 -3.98667,4.59999 -7.973337,7.66666 12.879997,8.58667 18.706667,22.08 6.13333,13.49333 6.13333,31.27997 0,15.9467 -4.6,26.68003 -4.6,10.73333 -13.49333,17.47997 -8.893333,6.44002 -21.466668,9.50669 -12.266664,2.76 -27.906663,2.76 z m 32.199998,-26.67999 h 19.933333 q 8.893334,0 15.640002,-1.22668 6.746665,-1.53332 11.039996,-5.21333 4.600003,-3.98669 7.053335,-10.73333 2.453333,-6.74668 2.453333,-17.48001 0,-19.62667 -8.893334,-27.90667 -8.586667,-8.28 -26.986665,-8.28 h -20.24 z m 0,-95.37335 h 18.706668 q 8.28,0 14.719998,-0.91998 6.440001,-0.92001 10.733332,-4.293351 4.293336,-3.373342 6.440001,-9.506646 2.453333,-6.133342 2.453333,-16.253367 0,-10.733329 -2.453333,-16.866632 -2.453332,-6.133342 -7.053331,-9.200013 -4.600003,-3.066671 -11.04,-3.986683 -6.440001,-0.919975 -14.720001,-0.919975 H 33.199998 Z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path854"
|
||||
/>
|
||||
<path
|
||||
d="m 184.05124,58.959999 v 88.933341 q 0,17.78664 0.61333,28.82664 0.92,11.04 3.06667,17.17335 2.14667,5.82667 6.13333,7.97333 3.98667,2.14665 10.12,2.14665 14.10667,0 19.93333,-11.34663 5.82667,-11.65334 5.82667,-42.32001 V 58.959999 h 30.36 V 224.86667 h -23 l -6.74667,-16.25333 q -7.05333,9.81331 -16.56,14.71997 -9.2,4.60003 -21.15999,4.60003 -21.77334,0 -30.36,-15.64003 -8.58667,-15.94665 -8.58667,-58.5733 V 58.959999 Z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path856"
|
||||
/>
|
||||
<path
|
||||
d="M 295.64437,224.86667 V 58.959999 h 23 l 6.44,16.253329 q 7.66667,-11.346671 19.32,-15.639987 11.96,-4.293354 25.14666,-2.76 v 26.679987 q -1.83999,-0.613342 -3.98666,-0.613342 -2.14667,-0.30652 -4.29334,-0.30652 -14.71999,0 -25.14666,8.893304 -10.42667,8.89334 -10.42667,33.42667 v 99.97334 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path858"
|
||||
/>
|
||||
<path
|
||||
d="m 380.28914,141.45333 q 0,-46.920002 12.87999,-66.240002 13.18666,-19.32 44.16,-19.32 31.27997,0 44.16,19.32 13.18665,19.32 13.18665,66.240002 0,46.61333 -13.18665,66.54667 -12.88003,19.93334 -44.16,19.93334 -30.97334,0 -44.16,-19.93334 -12.87999,-19.93334 -12.87999,-66.54667 z m 30.36,0 q 0,36.80001 5.52,49.68 5.52,12.87998 21.15999,12.87998 15.63998,0 21.15998,-12.87998 5.82667,-12.87999 5.82667,-49.68 0,-36.79998 -5.82667,-49.066661 -5.52,-12.573316 -21.15998,-12.573316 -15.63999,0 -21.15999,12.573316 -5.52,12.266681 -5.52,49.066661 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path860"
|
||||
/>
|
||||
<path
|
||||
d="m 601.0843,1 h 29.74666 v 196.57334 l 3.68001,27.29333 h -27.29333 l -3.37334,-14.72001 q -7.97333,8.58667 -17.47998,13.18665 -9.20001,4.60003 -21.46669,4.60003 -24.53333,0 -34.65332,-20.24001 -10.11998,-20.54665 -10.11998,-65.01332 0,-42.933353 9.81331,-64.706682 9.81336,-22.08 35.88,-22.08 13.49333,0 21.77333,5.826671 8.28,5.52 13.49333,13.493329 z m 0.61334,141.06667 q 0,-35.88 -6.44001,-49.066659 -6.43998,-13.186658 -20.85332,-13.186658 -14.72001,0 -19.62667,12.879987 -4.90666,12.87999 -4.90666,48.75999 0,36.49334 4.90666,49.68 4.90666,12.87998 19.62667,12.87998 14.41334,0 20.85332,-12.87998 6.44001,-13.18666 6.44001,-49.06666 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path862"
|
||||
/>
|
||||
<path
|
||||
d="m 716.69286,204.01331 q 10.11999,0 15.63999,-6.43997 5.52,-6.44001 7.36003,-23.92003 h 29.74665 q -3.98668,28.82669 -16.25332,41.70667 -12.26669,12.57336 -36.80002,12.57336 -29.13331,0 -42.01334,-19.93334 -12.57331,-19.93334 -12.57331,-66.54667 0,-46.613331 12.87998,-65.933331 12.88003,-19.626671 42.01334,-19.626671 15.94666,0 26.37332,5.52 10.73337,5.52 16.86667,15.946658 6.13334,10.426696 8.58667,26.066684 2.76,15.33332 2.76,35.57333 v 10.42666 h -79.11998 q 0.61334,31.89335 5.52,43.24002 5.21332,11.34663 19.01332,11.34663 z m 0,-124.199957 q -12.87998,0 -18.39998,9.813317 -5.21333,9.813316 -5.82667,37.41332 h 48.45331 q -0.61334,-27.600004 -6.13334,-37.41332 -5.52,-9.813317 -18.09332,-9.813317 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path864"
|
||||
/>
|
||||
<path
|
||||
d="m 899.76807,184.08001 q 0,19.9333 -12.26664,31.89332 -12.26668,11.96001 -36.80001,11.96001 -26.37332,0 -38.33333,-14.72001 -11.65334,-14.72002 -12.57332,-39.56002 h 27.29333 q 0.6133,15.33336 5.82663,23.00002 5.52,7.35998 16.86667,7.35998 9.81336,0 15.02669,-5.21333 5.52,-5.21332 5.52,-15.02664 0,-11.96001 -8.58667,-19.32 -8.58667,-7.36003 -20.24002,-14.41334 -12.87998,-7.97333 -25.4533,-19.01333 -12.26668,-11.04 -12.26668,-32.199988 0,-19.626671 12.26668,-30.973341 12.57332,-11.653342 34.03997,-11.653342 23.61336,0 35.57333,13.8 11.96002,13.493329 13.1867,40.173351 h -27.29337 q -0.91997,-15.640022 -5.82663,-23.00001 -4.60003,-7.359987 -14.72001,-7.359987 -8.28,0 -13.49333,5.213329 -4.90666,4.906658 -4.90666,14.413304 0,9.813354 6.74665,16.560004 6.74668,6.44001 17.78668,13.18669 17.1733,9.50665 29.74666,20.85332 12.87998,11.34667 12.87998,34.04001 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path866"
|
||||
/>
|
||||
<path
|
||||
d="M 964.03867,224.86667 H 933.98535 V 82.879986 H 915.27869 V 58.959999 h 19.62667 v -3.680012 q 0,-16.866633 3.68001,-27.293329 3.67998,-10.733329 10.73333,-16.56 7.35999,-6.1333037 18.09332,-8.2799997 Q 978.14535,1 991.94535,1 v 23.920025 q -7.66666,0 -12.87999,0.919975 -4.90666,0.613341 -8.28,3.373341 -3.06667,2.76 -4.59999,8.28 -1.22668,5.52 -1.22668,15.333317 v 6.133341 h 27.29333 v 23.919987 h -28.21335 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path868"
|
||||
/>
|
||||
<path
|
||||
d="m 1003.8048,141.45333 q 0,-46.920002 12.88,-66.240002 13.1867,-19.32 44.16,-19.32 31.28,0 44.16,19.32 13.1867,19.32 13.1867,66.240002 0,46.61333 -13.1867,66.54667 -12.88,19.93334 -44.16,19.93334 -30.9733,0 -44.16,-19.93334 -12.88,-19.93334 -12.88,-66.54667 z m 30.36,0 q 0,36.80001 5.52,49.68 5.52,12.87998 21.16,12.87998 15.64,0 21.16,-12.87998 5.8267,-12.87999 5.8267,-49.68 0,-36.79998 -5.8267,-49.066661 -5.52,-12.573316 -21.16,-12.573316 -15.64,0 -21.16,12.573316 -5.52,12.266681 -5.52,49.066661 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path870"
|
||||
/>
|
||||
<path
|
||||
d="M 1149.1599,224.86667 V 58.959999 h 23 l 6.44,16.253329 q 7.6666,-11.346671 19.32,-15.639987 11.96,-4.293354 25.1467,-2.76 v 26.679987 q -1.84,-0.613342 -3.9867,-0.613342 -2.1467,-0.30652 -4.2933,-0.30652 -14.7201,0 -25.1467,8.893304 -10.4267,8.89334 -10.4267,33.42667 v 99.97334 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path872"
|
||||
/>
|
||||
<path
|
||||
d="M 1241.342,224.86667 V 58.959999 h 23.3067 l 6.7467,16.253329 q 6.1333,-7.973329 15.64,-13.493329 9.5066,-5.826671 22.08,-5.826671 8.5866,0 16.2533,3.986684 7.9733,3.986645 13.1867,15.946658 7.36,-9.506684 17.1733,-14.720013 9.8133,-5.213329 24.84,-5.213329 21.4667,0 28.8267,16.56 7.6666,16.56 7.6666,59.493352 v 92.91999 h -30.36 v -90.77333 q 0,-16.56 -0.6133,-26.98666 -0.6133,-10.733327 -2.4533,-16.866669 -1.5334,-6.133341 -5.2134,-8.28 -3.3733,-2.146658 -9.2,-2.146658 -6.1333,0 -11.04,1.839988 -4.6,1.533316 -7.6666,6.746645 -3.0667,5.213367 -4.6,14.413344 -1.5334,8.89334 -1.5334,23.92002 v 98.13332 h -30.3599 v -90.77333 q 0,-33.42667 -3.0667,-43.853329 -3.0667,-10.426658 -14.72,-10.426658 -13.8,0 -19.32,12.573316 -5.2134,12.266681 -5.2134,41.706671 v 90.77333 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path874"
|
||||
/>
|
||||
<path
|
||||
d="m 1502.5262,204.01331 q 10.12,0 15.64,-6.43997 5.52,-6.44001 7.3599,-23.92003 h 29.7467 q -3.9866,28.82669 -16.2533,41.70667 -12.2667,12.57336 -36.8,12.57336 -29.1333,0 -42.0133,-19.93334 -12.5734,-19.93334 -12.5734,-66.54667 0,-46.613331 12.88,-65.933331 12.88,-19.626671 42.0134,-19.626671 15.9466,0 26.3733,5.52 10.7333,5.52 16.8667,15.946658 6.1333,10.426696 8.5866,26.066684 2.76,15.33332 2.76,35.57333 v 10.42666 h -79.12 q 0.6134,31.89335 5.52,43.24002 5.2134,11.34663 19.0134,11.34663 z m 0,-124.199957 q -12.8801,0 -18.4,9.813317 -5.2134,9.813316 -5.8267,37.41332 h 48.4533 q -0.6133,-27.600004 -6.1333,-37.41332 -5.52,-9.813317 -18.0933,-9.813317 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path876"
|
||||
/>
|
||||
<path
|
||||
d="m 1685.6014,184.08001 q 0,19.9333 -12.2667,31.89332 -12.2666,11.96001 -36.8,11.96001 -26.3733,0 -38.3333,-14.72001 -11.6533,-14.72002 -12.5734,-39.56002 h 27.2934 q 0.6133,15.33336 5.8266,23.00002 5.52,7.35998 16.8667,7.35998 9.8133,0 15.0267,-5.21333 5.52,-5.21332 5.52,-15.02664 0,-11.96001 -8.5867,-19.32 -8.5866,-7.36003 -20.24,-14.41334 -12.88,-7.97333 -25.4533,-19.01333 -12.2667,-11.04 -12.2667,-32.199988 0,-19.626671 12.2667,-30.973341 12.5733,-11.653342 34.04,-11.653342 23.6133,0 35.5733,13.8 11.96,13.493329 13.1867,40.173351 h -27.2934 q -0.92,-15.640022 -5.8266,-23.00001 -4.6,-7.359987 -14.72,-7.359987 -8.28,0 -13.4934,5.213329 -4.9066,4.906658 -4.9066,14.413304 0,9.813354 6.7467,16.560004 6.7466,6.44001 17.7866,13.18669 17.1733,9.50665 29.7467,20.85332 12.88,11.34667 12.88,34.04001 z"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:3;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path878"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
</a>
|
||||
<h2>{{site.header.status|upper}}</h2></a>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="works works-mea">
|
||||
{% for child in collection %}
|
||||
{% set mea = child.header.mea == 'true' %}
|
||||
{% if mea %}
|
||||
{% include 'partials/blog-list-mea.html.twig' with {blog: page, page: child} %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="scroll">
|
||||
<p>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="9.2404556"
|
||||
height="8.180007">
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
id="path984"
|
||||
d="M 0.50358559,0.50617384 4.6454375,7.6800572 8.7368705,0.59348093"
|
||||
style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</svg>
|
||||
|
||||
</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 %}
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{% block bottom %}
|
||||
{{ assets.js('bottom')|raw }}
|
||||
{% endblock %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,101 @@
|
||||
{% 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 %}
|
||||
<h3 >{{ page.header.subtitle }}</h3>
|
||||
{% endif %}
|
||||
{% include 'partials/blog/category.html.twig' %}
|
||||
{% include 'partials/blog/date.html.twig' %}
|
||||
</div>
|
||||
<div class="tags">
|
||||
{% include 'partials/blog/taxonomy.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="content">
|
||||
<div class="txt">
|
||||
{{ page.content|raw }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="prev-next">
|
||||
|
||||
{% if not page.isLast %}
|
||||
<a class="btn" href="{{ page.prevSibling.url }}">
|
||||
<div class="btn-info">
|
||||
|
||||
<span class="title">{{ page.prevSibling.title }}</span>
|
||||
|
||||
{% if page.prevSibling.taxonomy.category %}
|
||||
<span class="tags">
|
||||
{% for category in page.prevSibling.taxonomy.category %}
|
||||
{{ category }}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
<span class="blog-date">
|
||||
<time class="dt-published" datetime="{{ page.date|date("c") }}">
|
||||
{{ page.prevSibling.date|date("Y") }}
|
||||
</time>
|
||||
</span>
|
||||
</div>
|
||||
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.isLast %}
|
||||
{% set parent = page.parent %}
|
||||
{% 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 %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="img">
|
||||
{% for image in page.media.images %}
|
||||
<div class="img-card">
|
||||
{{ image.html }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
<div class="top">
|
||||
<!-- <img src="user/themes/gilles_acezat/images/arrow-top.svg" alt=""> -->
|
||||
<svg
|
||||
version="1.1"
|
||||
width="9.2404556"
|
||||
height="8.180007">
|
||||
<path
|
||||
style="fill:#000000;fill-opacity:0;stroke:#000000;stroke-width:0.99999994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 8.7368705,7.6738333 4.5950186,0.49994998 0.50358559,7.5865262"
|
||||
id="path995"
|
||||
inkscape:connector-curvature="0" />
|
||||
</svg>
|
||||
|
||||
<!-- <p>top</p> -->
|
||||
</div>
|
||||
@@ -0,0 +1,36 @@
|
||||
{% for category in page.taxonomy.category %}
|
||||
<div class="card" data-filter ="{{category}}">
|
||||
|
||||
{% set image = page.media.images|first %}
|
||||
{% if image %}
|
||||
<div class="card-image">
|
||||
<a href="{{ page.url }}">{{ image.html }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<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 %}
|
||||
@@ -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 %}
|
||||
@@ -0,0 +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="{{page.url}}">{{ category }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,3 @@
|
||||
<time datetime="{{ page.date|date("c") }}">
|
||||
{{ page.date|date("Y") }}
|
||||
</time>
|
||||
@@ -0,0 +1,8 @@
|
||||
<div class="p-summary e-content">
|
||||
{% if page.summary != page.content %}
|
||||
{{ page.summary|raw }}
|
||||
{% else %}
|
||||
{{ page.content|raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -0,0 +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="{{page.url}}">{{ tag }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,11 @@
|
||||
{% set title_level = title_level ?: 'h2' %}
|
||||
{% if page.header.link %}
|
||||
<{{ 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 %}
|
||||
<a href="{{ page.url }}"><{{ title_level }}>{{ page.title }}</{{ title_level }}></a>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,5 @@
|
||||
<section id="footer" class="section bg-gray">
|
||||
<section class="container {{ grid_size }}">
|
||||
<p><a href="http://getgrav.org">Grav</a> was <i class="fa fa-code"></i> with <i class="fa fa-heart-o pulse "></i> by <a href="https://trilby.media">Trilby Media</a>.</p>
|
||||
</section>
|
||||
</section>
|
||||
@@ -0,0 +1,6 @@
|
||||
{% if form.message %}
|
||||
{% set inline_errors = form.inline_errors is not null ? form.inline_errors : config.plugins.form.inline_errors(false) %}
|
||||
{% set status_mapping = {'success':'green', 'error': 'red', 'warning': 'yellow'} %}
|
||||
{% set message = inline_errors and form.messages ? "FORM.VALIDATION_FAIL"|t : form.message %}
|
||||
<div class="toast toast-{{ form.status }} {{ status_mapping[form.status] ?: 'green' }} mt-2 mb-2">{{ message|raw }}</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,7 @@
|
||||
<section id="{{ id }}" class="section modular-hero hero {{ page.header.hero_classes }} {{ page.header.background.parallax ? 'parallax' : '' }}" {% if hero_image %}style="background-image: url({{ hero_image.url }});"{% endif %}>
|
||||
<div class="image-overlay"></div>
|
||||
<section class="container {{ grid_size }}" style="text-align: {{ page.header.hero_align|default('center') }}">
|
||||
{{ content|raw }}
|
||||
</section>
|
||||
<i id="to-start" class="pulse fa fa-angle-down"></i>
|
||||
</section>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div id="items">
|
||||
{% block item %}{% endblock %}
|
||||
</div>
|
||||
@@ -0,0 +1,9 @@
|
||||
{% set logo = theme_var(mobile ? 'custom_logo_mobile' : 'custom_logo') %}
|
||||
<a href="{{ home_url }}" class="navbar-brand mr-10">
|
||||
{% if logo %}
|
||||
{% set logo_file = (logo|first).name %}
|
||||
<img src="{{ url('theme://images/logo/' ~ logo_file) }}" alt="{{ site.name }}" />
|
||||
{% else %}
|
||||
{% include('@images/grav-logo.svg') %}
|
||||
{% endif %}
|
||||
</a>
|
||||
@@ -0,0 +1,17 @@
|
||||
{% set type_mapping = {'info':'success', 'error': 'error', 'warning': 'warning'} %}
|
||||
{% set icon_mapping = {'info':'checkmark', 'error':'wrong', 'warning':'information'} %}
|
||||
|
||||
{% if grav.messages.all %}
|
||||
<div id="messages">
|
||||
{% for message in grav.messages.fetch %}
|
||||
|
||||
{% set scope = message.scope|e %}
|
||||
{% set type = type_mapping[scope] %}
|
||||
{% set icon = icon_mapping[scope] %}
|
||||
|
||||
<div class="toast toast-{{ type }} {{ scope }}">
|
||||
<i class="icon dripicons-{{ icon }}"></i> {{ message.message|raw }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,3 @@
|
||||
{% import 'macros/macros.html.twig' as macros %}
|
||||
|
||||
{{ macros.nav_loop(pages) }}
|
||||
@@ -0,0 +1,15 @@
|
||||
<ul class="related-pages menu">
|
||||
{% for related_path, score in related_pages %}
|
||||
{% set related = grav['pages'].get(related_path) %}
|
||||
{% if related %}
|
||||
<li class="menu-item">
|
||||
{% if config.plugins.relatedpages.show_score %}
|
||||
<div class="menu-badge">
|
||||
<span class="label lable-primary">{{ score }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<a href="{{ related.url }}" title="{{ related.title }}">{{ related.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
@@ -0,0 +1,43 @@
|
||||
{% set feed_url = blog.url == '/' or blog.url == base_url_relative ? (base_url_relative~'/'~blog.slug) : blog.url %}
|
||||
{% set new_base_url = blog.url == '/' ? '' : blog.url %}
|
||||
|
||||
{% if config.plugins.simplesearch.enabled %}
|
||||
<div class="sidebar-content">
|
||||
{% include 'partials/simplesearch_searchbox.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %}
|
||||
<div class="sidebar-content">
|
||||
<h4>{{ 'THEME_QUARK.SIDEBAR.RELATED_POSTS.HEADLINE'|t }}</h4>
|
||||
{% include 'partials/relatedpages.html.twig' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if config.plugins.random.enabled %}
|
||||
<div class="sidebar-content">
|
||||
<h4>{{ 'THEME_QUARK.SIDEBAR.RANDOM_ARTICLE.HEADLINE'|t }}</h4>
|
||||
<a class="button" href="{{ base_url }}/random"><i class="fa fa-retweet"></i> {{ 'THEME_QUARK.SIDEBAR.RANDOM_ARTICLE.FEELING_LUCKY'|t }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{ page.find('/modules/sidebar').content|raw }}
|
||||
|
||||
{% if config.plugins.taxonomylist.enabled %}
|
||||
<div class="sidebar-content">
|
||||
<h4>{{ 'THEME_QUARK.SIDEBAR.POPULAR_TAGS.HEADLINE'|t }}</h4>
|
||||
{% include 'partials/taxonomylist.html.twig' with {'base_url':new_base_url, 'taxonomy':'tag'} %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if config.plugins.archives.enabled %}
|
||||
<div class="sidebar-content">
|
||||
<h4>{{ 'THEME_QUARK.SIDEBAR.ARCHIVES.HEADLINE'|t }}</h4>
|
||||
{% include 'partials/archives.html.twig' with {'base_url':new_base_url} %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if config.plugins.feed.enabled %}
|
||||
<div class="sidebar-content syndicate">
|
||||
<h4>{{ 'THEME_QUARK.SIDEBAR.SYNDICATE.HEADLINE'|t }}</h4>
|
||||
<a class="btn" href="{{ feed_url }}.atom"><i class="fa fa-rss-square"></i> Atom 1.0</a>
|
||||
<a class="btn" href="{{ feed_url }}.rss"><i class="fa fa-rss-square"></i> RSS</a>
|
||||
{% if config.plugins.feed.enable_json_feed %}<a class="btn" href="{{ feed_url }}.json"><i class="fa fa-rss-square"></i> JSON</a>{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,15 @@
|
||||
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
|
||||
|
||||
{% if taxlist %}
|
||||
<div data-toggle="buttons" class="btn-group">
|
||||
<label class="btn btn-default">
|
||||
<a class="filter" href="#" data-filter="">Tous</a>
|
||||
</label>
|
||||
{% for tax,value in taxlist[taxonomy] %}
|
||||
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
|
||||
<label class="btn btn-default">
|
||||
<a class="filter" href="#" data-filter="{{ tax }}">{{tax}}</a>
|
||||
</label>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user