mirror of
https://github.com/rottenwheel/hugo-rottenwheel.git
synced 2024-11-10 20:41:56 +00:00
15 lines
No EOL
295 B
HTML
15 lines
No EOL
295 B
HTML
{{ define "main" }}
|
|
|
|
<p>
|
|
RSS feed <a href="/index.xml">here</a>.
|
|
</p>
|
|
|
|
<h2>Latest Posts</h2>
|
|
<ul>
|
|
{{ range where .Site.RegularPages "Section" "posts" }}
|
|
<li>
|
|
<a href="{{ .Permalink }}">{{ .Title }}</a> - {{ .Date.Format "2006-01-02" }}
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }} |