Skip to content
Snippets Groups Projects
Commit c522c251 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

about

parent 9c6c0ace
No related branches found
No related tags found
No related merge requests found
+++
title = "À propos"
[extra]
hide = true
+++
Ce site a été réalisé en [Zola](https://www.getzola.org/) avec [w3.css](https://www.w3schools.com/w3css/) et [Forkawesome](https://forkaweso.me/Fork-Awesome/).
\ No newline at end of file
...@@ -3,29 +3,31 @@ ...@@ -3,29 +3,31 @@
{% set index = get_section(path="_index.md") %} {% set index = get_section(path="_index.md") %}
{% for page in index.pages %} {% for page in index.pages %}
{% if not page.extra.hide %}
<a href="{{ page.permalink }}" class="w3-bar-item w3-button w3-mobile <a href="{{ page.permalink }}" class="w3-bar-item w3-button w3-mobile
{% if current_path %}{% if current_path == page.path %}active{% endif %}{% endif %}"> {% if current_path %}{% if current_path == page.path %}active{% endif %}{% endif %}">
{{page.title}} {{page.title}}
</a> </a>
{% endfor %} {% endif %}
{% for s in index.subsections %}{% set subsection = get_section(path=s) %}
<a href="{{ subsection.permalink }}" class="w3-bar-item w3-button w3-mobile
{% if current_path %}{% if current_path is starting_with(subsection.path) %}active{% endif %}{% endif %}">
{{subsection.title}}
</a>
{% endfor %} {% endfor %}
<div class="w3-dropdown-hover w3-mobile w3-right"> <div class="w3-dropdown-hover w3-mobile w3-right">
<button class="w3-button">Dropdown <i class="fa fa-caret-down"></i></button> <button class="w3-button">Plus <i class="fa fa-caret-down"></i></button>
<div class="w3-dropdown-content w3-bar-block w3-dark-grey"> <div class="w3-dropdown-content w3-bar-block w3-dark-grey">
<a href="#" class="w3-bar-item w3-button w3-mobile">Link 1</a> <a href="/about/" class="w3-bar-item w3-button w3-mobile">À propos</a>
<a href="#" class="w3-bar-item w3-button w3-mobile">Link 2</a> <a href="https://git.duniter.org/" class="w3-bar-item w3-button w3-mobile"><i class="fa fa-gitlab"></i> GitLab</a>
<a href="#" class="w3-bar-item w3-button w3-mobile">Link 3</a> <a href="https://forum.duniter.org/" class="w3-bar-item w3-button w3-mobile"><i class="fa fa-discourse"></i> Forum</a>
</div> </div>
</div> </div>
{% for s in index.subsections %}{% set subsection = get_section(path=s) %}
{% if not subsection.extra.hide %}
<a href="{{ subsection.permalink }}" class="w3-bar-item w3-button w3-mobile w3-right
{% if current_path %}{% if current_path is starting_with(subsection.path) %}active{% endif %}{% endif %}">
{{subsection.title}}
</a>
{% endif %}
{% endfor %}
</nav> </nav>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment