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