Add index.html to the article pages

This commit is contained in:
Thomas Schwery 2018-11-11 22:28:17 +01:00
parent e32438ba7c
commit 9611b0fc33

View file

@ -0,0 +1,13 @@
{{ partial "header.html" . }}
<main role="main">
<h1 class="list-title">{{ .Title }}</h1>
{{ range .Data.Pages }}
<article itemscope itemtype="http://schema.org/Blog">
<h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}index.html">{{ .Title }}{{ if .Draft }} #Draft{{ end }}</a></h2>
<span class="entry-meta"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
</article>
{{ end }}
</main>
{{ partial "footer.html" . }}