sidebar.html 1.67 KB
Newer Older
Marthym's avatar
Marthym committed
1 2 3 4
<div class="sidebar">
  <div class="container sidebar-sticky">
    <div class="sidebar-about">
      <h1>
Marthym's avatar
Marthym committed
5
        <a href="{{ site.baseurl }}/">
Marthym's avatar
Marthym committed
6 7 8 9 10 11 12
          {{ site.title }}
        </a>
      </h1>
      <p class="lead">{{ site.description }}</p>
    </div>

    <nav class="sidebar-nav">
13
      <a class="sidebar-nav-item{% if page.url == '/star-wars-redemption/' %} active{% endif %}" href="{{ site.baseurl }}/star-wars-redemption/">Manuel du joueur</a>
Marthym's avatar
Marthym committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

      {% comment %}
        The code below dynamically generates a sidebar nav of pages with
        `layout: page` in the front-matter. See readme for usage.
      {% endcomment %}

      {% assign pages_list = site.pages %}
      {% for node in pages_list %}
        {% if node.title != null %}
          {% if node.layout == "page" %}
            <a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a>
          {% endif %}
        {% endif %}
      {% endfor %}

Marthym's avatar
Marthym committed
29
      <a class="sidebar-nav-item" href="https://framagit.org/sw-redemption/jdrp-sw-redemption/-/jobs/229504/artifacts/file/SW-Redemption,%20Livre%20du%20joueur-1.2.0.pdf">Télécharger</a>
Marthym's avatar
Marthym committed
30
      <a target="_blank" class="sidebar-nav-item" href="https://framagit.org/sw-redemption/sw-redemption.frama.io/issues/new">Contact</a>
Marthym's avatar
Marthym committed
31 32 33 34 35 36
      <hr>
      <a class="sidebar-nav-item" href="{{ site.github.repo }}">Projet Framagit</a>
      <span class="sidebar-nav-item">Actuellement v{{ site.version }}</span>
    </nav>

  </div>
Marthym's avatar
Marthym committed
37 38
  <span class="powered"><p>Powerder by <a href="https://jekyllrb.com/">Jekyll</a><br/>
  Themed by <a href="https://github.com/karloespiritu/BlackDoc">BlackDoc</a></p></span>
Marthym's avatar
Marthym committed
39
</div>