some changes to themes
This commit is contained in:
parent
26c526e433
commit
8237b6aa19
51 changed files with 852 additions and 12 deletions
21
themes/fzmin2/layouts/_default/list.html
Normal file
21
themes/fzmin2/layouts/_default/list.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
{{if not .IsHome }}
|
||||
<h1>{{ .Title | markdownify }}</h1>
|
||||
{{ end }}
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{ $pages := .Pages }}
|
||||
{{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }}
|
||||
{{ range $index, $page := (where $pages "Section" "!=" "") }}
|
||||
<div class="post">
|
||||
<h3><a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a></h3>
|
||||
<span class="date">Written on {{ .Date.Format "2006/01/02" }}</span>
|
||||
<p>{{ .Summary }}</p>
|
||||
</div>
|
||||
{{ if not (eq $index (sub (len $pages) 1)) }}
|
||||
<hr>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ partial "footer.html" . }}
|
Loading…
Add table
Add a link
Reference in a new issue