all repos — website @ eea42a5b1b05fbbdc9f33df41576de0232fcbd4d

My website

Merge commit '7befbf2f991e217aa4d52615f9f430cae30897f5' as 'themes/xmin'

Alan Pearce
commit

eea42a5b1b05fbbdc9f33df41576de0232fcbd4d

parent

d93409097b7a4d68c5660446bfb574ac673040a5

1 file changed, 20 insertions(+), 0 deletions(-)

changed files
A themes/xmin/layouts/_default/list.html
@@ -0,0 +1,20 @@
+{{ partial "header.html" . }} + +{{if not .IsHome }} +<h1>{{ .Title | markdownify }}</h1> +{{ end }} + +{{ .Content }} + +<ul> + {{ $pages := .Pages }} + {{ if .IsHome }}{{ $pages = .Site.RegularPages }}{{ end }} + {{ range (where $pages "Section" "!=" "") }} + <li> + <span class="date">{{ .Date.Format "2006/01/02" }}</span> + <a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a> + </li> + {{ end }} +</ul> + +{{ partial "footer.html" . }}