mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 02:21:19 -04:00
moved blog to hugo! lots of stuff still to do 😬
This commit is contained in:
17
layouts/notes/list.html
Normal file
17
layouts/notes/list.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{ define "main" }}
|
||||
|
||||
{{ range .Data.Pages.GroupByDate "2006" }}
|
||||
<div class="year">
|
||||
<h2>{{ .Key }}</h2>
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li class="item">
|
||||
<div class="date">{{ .Date.Format "Jan 2" }}</div>
|
||||
<div class="title"><a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
Reference in New Issue
Block a user