meta: Add Atom feed
This commit is contained in:
parent
67bb8ddac9
commit
321309971c
21 changed files with 146 additions and 86 deletions
20
layouts/list.html
Normal file
20
layouts/list.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
<div class="list">
|
||||
<ul>
|
||||
{{ range .Pages }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}" style="display: block">
|
||||
<h2>{{ .Title }}</h2>
|
||||
|
||||
<p class="lead">{{ .Description }}</p>
|
||||
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date | time.Format ":date_long" }}
|
||||
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue