Skip to content
Snippets Groups Projects
Commit ca6286e4 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

done

parent 721b19fb
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,12 @@
<div class="block block-sitemap" id="{{ .Type }}">
<div class="container">
<div class="block-content">
{{ $isPageRoot := eq .RelPermalink "/pages/"}}
<h2>
<a href="{{ $permalink }}">{{ safeHTML .Title }}</a>
{{ if not $isPageRoot }}<a href="{{ $permalink }}">{{ end }}
{{ safeHTML .Title }}
{{ if not $isPageRoot }}</a>{{ end }}
</h2>
<ul>
{{ range where .Site.Pages "Section" .Type }}
......
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