Merge commit '7befbf2f991e217aa4d52615f9f430cae30897f5' as 'themes/xmin'
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" . }}