grav-theme-libretic/templates/partials/sidebar.html.twig
Olivier Navas 17bb11854e - Several modifications of template files for Libretic's web site
- Addition of prerequisites files for scss modifications
- Update of Fontawesome font
- Update of NovecentoSans font for latin characters
- Integration of Pacifico font in the theme instead of dynamically downloading from some google web site
- Removal of some unuseful font files
2022-05-14 19:43:00 +02:00

37 lines
1.2 KiB
Twig

{% if config.plugins.simplesearch.enabled %}
<div class="sidebar-content">
<h4>Recherche</h4>
{% include 'partials/simplesearch_searchbox.html.twig' %}
</div>
{% endif %}
{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %}
<div class="sidebar-content">
<h4>Articles similaires</h4>
{% include 'partials/relatedpages.html.twig' %}
</div>
{% endif %}
{% if config.plugins.random.enabled %}
<div class="sidebar-content">
<h4>Article aleatoire</h4>
<a class="button" href="{{ base_url_relative }}/random"><i class="fa fa-retweet"></i> I'm Feeling Lucky!</a>
</div>
{% endif %}
{% if config.plugins.taxonomylist.enabled %}
<div class="sidebar-content">
<h4>Categories</h4>
{% include 'partials/taxonomylist.html.twig' with {'taxonomy':'tag'} %}
</div>
{% endif %}
{% if config.plugins.archives.enabled %}
<div class="sidebar-content">
<h4>Archives</h4>
{% include 'partials/archives.html.twig' %}
</div>
{% endif %}
{% if config.plugins.feed.enabled %}
<div class="sidebar-content syndicate">
<h4>Suivre notre fil</h4>
<a class="button" href="{{ feed_url }}.atom"><i class="fa fa-rss-square"></i> Atom 1.0</a>
<a class="button" href="{{ feed_url }}.rss"><i class="fa fa-rss-square"></i> RSS</a>
</div>
{% endif %}