all repos — homestead @ 1cc014c44be6866e9c394a44b923d9448af6766b

Code for my website

Merge commit '68c1f25275bb50a5cfdead53ac55d88ff12a34ae' as 'themes/xmin'

Alan Pearce
commit

1cc014c44be6866e9c394a44b923d9448af6766b

parent

066fe997a9cf35fbdf4b582f06f375e779bd8f6d

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" . }}