diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/term.gmi | 9 | ||||
-rw-r--r-- | layouts/_default/term.html | 13 |
2 files changed, 22 insertions, 0 deletions
diff --git a/layouts/_default/term.gmi b/layouts/_default/term.gmi new file mode 100644 index 0000000..8c47843 --- /dev/null +++ b/layouts/_default/term.gmi @@ -0,0 +1,9 @@ +{{ define "main" -}} +=> / {{ emojify ":link:" | safeHTML }} Return to homepage + + +# All entries for {{ .Type | singularize | safeHTML }} "{{ .Title | safeHTML }}" +{{ range .Data.Pages }} +=> {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} +{{- end }} +{{- end }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html new file mode 100644 index 0000000..0f1defc --- /dev/null +++ b/layouts/_default/term.html @@ -0,0 +1,13 @@ +{{ define "main" -}} +<nav> + <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="/" rel="noreferrer">Return to homepage</a></p> +</nav> +<main> + <h1>All entries for {{ .Type | singularize }} "{{ .Title }}"</h1> + <ul class="list"> + {{- range .Data.Pages }} + <li class="list__item">{{ emojify ":link:" | safeHTML }} <a class="link" href="{{ .RelPermalink }}" rel="noreferrer">{{ .Title }}</a></li> + {{- end }} + </ul> +</main> +{{- end }} |