You've already forked no-js-hugo-theme
remove layouts/_default
This commit is contained in:
18
layouts/list.html
Normal file
18
layouts/list.html
Normal file
@ -0,0 +1,18 @@
|
||||
{{ define "title" }}{{ .Title }} – {{ .Site.Title }}{{ end }}
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<div class="title-header">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
<a href="{{ .Permalink | safeURL }}">RSS</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<time>{{ .Date.Format "2006/01/02" }}</time>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
Reference in New Issue
Block a user