Skip to content
Snippets Groups Projects
Commit 0b7219b6 authored by alexisben's avatar alexisben
Browse files

fix sitemap

parent e20cc5ca
No related branches found
No related tags found
No related merge requests found
......@@ -3,4 +3,6 @@
a
text-decoration: none
ul + h3
margin-top: $spacing3
\ No newline at end of file
margin-top: $spacing3
&:first-of-type
padding-top: 0
\ No newline at end of file
......@@ -20,13 +20,13 @@
{{ partial "blocks/list.html" . }}
<section class="block block-sitemap">
<div class="container">
<div class="block-content">
{{ range .Site.Sections }}
{{ if ne .Type "sitemap" }}
{{ $permalink := .Permalink }}
<h3 id="{{ .Type }}">
{{ range .Site.Sections }}
{{ if ne .Type "sitemap" }}
{{ $permalink := .Permalink }}
<section class="block block-sitemap" id="{{ .Type }}">
<div class="container">
<div class="block-content">
<h3>
<a href="{{ $permalink }}">{{ safeHTML .Title }}</a>
</h3>
<ul>
......@@ -36,11 +36,10 @@
{{ end }}
{{ end }}
</ul>
{{ end }}
{{ end }}
</div>
</div>
</section>
</div>
</div>
</section>
{{ end }}
{{ end }}
</div>
{{ end }}
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