Fix missing index.html links on frontpage
This commit is contained in:
parent
6061b7a539
commit
eb90b5ebdf
1 changed files with 12 additions and 0 deletions
12
layouts/index.html
Normal file
12
layouts/index.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
<main role="main">
|
||||
{{ range (where .Data.Pages ".Params.hidefromhome" "!=" "true") }}
|
||||
<article itemscope itemtype="http://schema.org/Blog">
|
||||
<h2 class="entry-title" itemprop="headline"><a href="{{ .RelPermalink }}index.html">{{ .Title }}</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