mirror of
https://github.com/nikdoof/dimension-sh-nikdoof-web.git
synced 2025-12-23 14:49:29 +00:00
Improvements
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# {{ .Title }}
|
||||
{{ if .Content }}
|
||||
{{ .Content }}{{ end }}
|
||||
|
||||
{{ range .Pages }}=> /~nikdoof{{ .Permalink }} {{ if not .Date.IsZero -}}
|
||||
{{.Date.Format "2006-01-02"}} {{end}}{{.Title}}
|
||||
{{ end -}}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# {{ .Title }}
|
||||
{{- if not .Date.IsZero }}
|
||||
Posted on {{ .Date.Format "2006-01-02" }}{{ end }}
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{- if not .Date.IsZero }}
|
||||
Posted on {{ .Date.Format "2006-01-02" }}{{ end }}
|
||||
8
templates/index.gmi
Normal file
8
templates/index.gmi
Normal file
@@ -0,0 +1,8 @@
|
||||
# {{ .Title }}
|
||||
{{ if .Content }}
|
||||
{{ .Content }}{{ end }}
|
||||
{{ range .Dirs }}## {{.Title }}
|
||||
{{ range .Pages }}=> /~nikdoof{{ .Permalink }} {{ if not .Date.IsZero -}}
|
||||
{{.Date.Format "2006-01-02"}} {{end}}{{.Title}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
7
templates/logs/index.gmi
Normal file
7
templates/logs/index.gmi
Normal file
@@ -0,0 +1,7 @@
|
||||
# {{ .Title }}
|
||||
{{ if .Content -}}
|
||||
{{ .Content }}{{ end }}
|
||||
{{ range .Pages }}=> /~nikdoof{{ .Permalink }} {{ if not .Date.IsZero -}}
|
||||
{{.Date.Format "2006-01-02"}} {{end}}{{.Title}}
|
||||
{{ end }}
|
||||
=> /~nikdoof{{ .Permalink }}atom.xml Atom Feed
|
||||
Reference in New Issue
Block a user