mirror of
https://github.com/christian1701/hugo-theme-console.git
synced 2025-11-03 05:59:23 +01:00
big bang
This commit is contained in:
14
layouts/_default/list.html
Normal file
14
layouts/_default/list.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Page.Title }}</h1>
|
||||
<br/>
|
||||
{{ .Content }}
|
||||
|
||||
{{ range sort .Data.Pages "Date" "desc" }}
|
||||
{{ if not .Params.private }}
|
||||
<div class="post-list-date">{{ .PublishDate.Format "Jan. 2, 2006" }}</div>
|
||||
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
|
||||
{{ .Summary }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user