Add index.html to the article pages
This commit is contained in:
parent
e32438ba7c
commit
9611b0fc33
1 changed files with 13 additions and 0 deletions
13
layouts/_default/list.html
Normal file
13
layouts/_default/list.html
Normal 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" . }}
|
Loading…
Add table
Reference in a new issue