15 lines
303 B
HTML
15 lines
303 B
HTML
{{ define "main" }}
|
|
|
|
{{ .Content }}
|
|
|
|
<h2 id="latest-posts">Latest Posts (<a target="_blank" href="/blog/index.xml">RSS</a>)</h2>
|
|
|
|
<ul>
|
|
{{ range (where .Site.RegularPages "Section" "blog") }}
|
|
{{ .Render "li" }}
|
|
{{ else }}
|
|
<p>Looks like there's nothing here!... yet!</p>
|
|
{{ end }}
|
|
</ul>
|
|
|
|
{{ end }}
|