Verbeterde navigatie, aria-labels, optimaliseren CSS
This commit is contained in:
parent
53310dd1f6
commit
9c7ec523c5
8 changed files with 102 additions and 86 deletions
|
@ -30,20 +30,19 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .Section "posts" }}
|
||||
<section>
|
||||
<h3>Tags</h3>
|
||||
<div class="post-date">
|
||||
<span class="g time">{{.Date.Format "January 2, 2006"}} </span> ∙
|
||||
{{ $taxonomy := "tags" }} {{ with .Param $taxonomy }}
|
||||
{{ range $index, $tag := . }} {{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}}
|
||||
<a href="{{ .Permalink }}">{{ $tag | urlize }}</a>
|
||||
{{- end -}} {{- end -}}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<section>
|
||||
<h3>Tags</h3>
|
||||
<div class="post-date">
|
||||
<span class="g time">{{.Date.Format "January 2, 2006"}} </span> ∙
|
||||
{{ $taxonomy := "tags" }} {{ with .Param $taxonomy }}
|
||||
{{ range $index, $tag := . }} {{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}}
|
||||
<a href="{{ .Permalink }}">{{ $tag | urlize }}</a>
|
||||
{{- end -}} {{- end -}}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
</div>
|
||||
</main>
|
||||
{{ partial "footer.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue