initial commit
This commit is contained in:
commit
a6261020ee
130 changed files with 3179 additions and 0 deletions
20
themes/hugo-theme-console/layouts/_default/list.html
Normal file
20
themes/hugo-theme-console/layouts/_default/list.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{{ define "main" }}
|
||||
<h1>{{ .Page.Title }}</h1>
|
||||
<br/>
|
||||
{{ .Content }}
|
||||
|
||||
<div class="posts-list">
|
||||
{{ range sort .Data.Pages "Date" "desc" }}
|
||||
{{ if not .Params.private }}
|
||||
<div class="post">
|
||||
<p>
|
||||
<div class="date">{{ .PublishDate.Format "2 Jan 2006" }}</div>
|
||||
<h1><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a></h1>
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue