mirror of
https://github.com/Smaug123/static-site-pipeline
synced 2025-10-13 03:38:43 +00:00
Import Hugo
This commit is contained in:
18
hugo/themes/anatole/layouts/_default/list.html
Normal file
18
hugo/themes/anatole/layouts/_default/list.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{{ define "main" }}
|
||||
<div class="archive animated fadeInDown">
|
||||
<ul class="list-with-title">
|
||||
{{ range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="listing-title">{{ .Key }}</div>
|
||||
{{ range .Pages }}
|
||||
<ul class="listing">
|
||||
<div class="listing-item">
|
||||
<div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
|
||||
<div class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
Reference in New Issue
Block a user