some changes to themes
This commit is contained in:
parent
26c526e433
commit
8237b6aa19
51 changed files with 852 additions and 12 deletions
7
themes/fzmin/layouts/_default/list.gopher.txt
Normal file
7
themes/fzmin/layouts/_default/list.gopher.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
!{{ .Title }}
|
||||
|
||||
{{ .RawContent }}
|
||||
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
0{{ .Title }} {{ with .OutputFormats.Get "gopher" -}}{{ .RelPermalink }} {{ $.Site.Params.hostname}} 70 {{ end }}
|
||||
{{ end }}
|
|
@ -13,6 +13,7 @@
|
|||
<li>
|
||||
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
|
||||
<p>{{ .Summary }}</p>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
8
themes/fzmin/layouts/_default/single.gopher.txt
Normal file
8
themes/fzmin/layouts/_default/single.gopher.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
# {{ .Title }}
|
||||
|
||||
{{ .Date.Format (.Site.Params.dateform | default "N/A") }}
|
||||
{{ if .Params.tags }}
|
||||
Posted in: {{ range .Params.tags }}{{ . }} {{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ .RawContent }}
|
13
themes/fzmin/layouts/index.gopher.txt
Normal file
13
themes/fzmin/layouts/index.gopher.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
!{{ .Title }}
|
||||
|
||||
{{ .RawContent }}
|
||||
|
||||
Site sections:
|
||||
{{ range .Site.Menus.main }}
|
||||
1{{ .Name }} {{ .Identifier }} {{ $.Site.Params.hostname }} 70
|
||||
{{ end }}
|
||||
|
||||
Most recent articles
|
||||
{{ range first 3 .Pages.ByPublishDate.Reverse }}
|
||||
0{{ .Title }} {{ with .OutputFormats.Get "gopher" -}}{{ .RelPermalink }} {{ $.Site.Params.hostname }} 70 {{ end }}
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue