Skip to content

Commit

Permalink
Ajout des liens
Browse files Browse the repository at this point in the history
  • Loading branch information
pntbr committed May 17, 2018
1 parent d668626 commit beb6c9f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@
<div class="wrapper">
{% if page.url != "/" %}
{{ content }}
{% else %}
{%- for path in page_paths -%}
{%- assign my_page = site.pages | where: "path", path | first -%}
{%- if my_page.title -%}
<a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
{%- endif -%}
{%- endfor -%}
{% endif %}
README
</div>
Expand Down

0 comments on commit beb6c9f

Please sign in to comment.