mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 06:52:18 +00:00
clean up all tags page
This commit is contained in:
parent
0a2795e74d
commit
f9a7c93897
2 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
+++
|
+++
|
||||||
aliases = ["all_posts", "articles"]
|
aliases = ["all_posts", "articles"]
|
||||||
title = "Index of Posts"
|
title = "Index of Posts"
|
||||||
tags = ["index"]
|
|
||||||
+++
|
+++
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
{{- if ne .Title "Tags"}}
|
||||||
{{- range (.Paginate $pages).Pages }}
|
{{- range (.Paginate $pages).Pages }}
|
||||||
{{- $postDate := .Date.Format "2006-01-02" }}
|
{{- $postDate := .Date.Format "2006-01-02" }}
|
||||||
{{- $updateDate := .Lastmod.Format "2006-01-02" }}
|
{{- $updateDate := .Lastmod.Format "2006-01-02" }}
|
||||||
|
@ -28,4 +29,9 @@
|
||||||
<br>
|
<br>
|
||||||
</article>
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- template "_internal/pagination.html" . }}
|
{{- template "_internal/pagination.html" . }}
|
||||||
|
{{- else }}
|
||||||
|
{{- range .Pages.ByTitle }}
|
||||||
|
[<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>]
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
Loading…
Reference in a new issue