Add list pages
This commit is contained in:
@@ -42,3 +42,6 @@ permalinkable = true
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "GEMINI"]
|
||||
page = ["HTML", "GEMINI"]
|
||||
section = ["HTML", "GEMINI"]
|
||||
taxonomy = ["HTML", "GEMINI"]
|
||||
term = ["HTML", "GEMINI"]
|
||||
|
||||
5
themes/v2/layouts/_default/list.gmi
Normal file
5
themes/v2/layouts/_default/list.gmi
Normal file
@@ -0,0 +1,5 @@
|
||||
# {{ strings.ToLower .Title }}
|
||||
|
||||
{{ range .RegularPages -}}
|
||||
=> {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }}
|
||||
{{ end -}}
|
||||
5
themes/v2/layouts/_default/tag.gmi
Normal file
5
themes/v2/layouts/_default/tag.gmi
Normal file
@@ -0,0 +1,5 @@
|
||||
# {{ .Title }}
|
||||
|
||||
{{ range .RegularPages -}}
|
||||
=> {{ .RelPermalink | replaceRE `index.gmi` "" }} {{ .Title }}
|
||||
{{ end -}}
|
||||
5
themes/v2/layouts/_default/tag.terms.gmi
Normal file
5
themes/v2/layouts/_default/tag.terms.gmi
Normal file
@@ -0,0 +1,5 @@
|
||||
# {{ .Title }}
|
||||
|
||||
{{ range .Data.Terms.Alphabetical -}}
|
||||
=> {{ .Page.RelPermalink | replaceRE `index.gmi` "" }} {{ .Page.Title }}
|
||||
{{ end -}}
|
||||
Reference in New Issue
Block a user