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