mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 07:07:16 +03:00
feat: update layouts default term to match default list.
This commit is contained in:
parent
4d4a11ed15
commit
2c28ffc741
@ -1,15 +1,17 @@
|
|||||||
<!DOCTYPE html>
|
{{ define "main" }}
|
||||||
<html>
|
{{ if isset .Data "Term" }}
|
||||||
{{ partial "header.html" . }}
|
<h1>Entries tagged - "{{ .Data.Term }}"</h1>
|
||||||
|
{{ else }}
|
||||||
|
<h1 class="page-title">All articles</h1>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<body>
|
<ul class="posts">
|
||||||
<div class="container wrapper tags">
|
{{- range .Data.Pages -}}
|
||||||
{{ partial "head.html" . }}
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
||||||
|
<li class="post">
|
||||||
<h1 class="page-title">All tags</h1>
|
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta">{{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</span>
|
||||||
</div>
|
</li>
|
||||||
|
{{- end -}}
|
||||||
{{ partial "footer.html" . }}
|
{{- end -}}
|
||||||
</body>
|
</ul>
|
||||||
|
{{ end }}
|
||||||
</html>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user