site.lyte.dev/layouts/index.html

16 lines
303 B
HTML
Raw Normal View History

2020-07-14 16:47:54 -05:00
{{ define "main" }}
2020-12-16 00:13:13 -06:00
2022-01-28 12:12:45 -06:00
{{ .Content }}
2020-12-16 00:13:13 -06:00
2022-11-22 14:58:48 -06:00
<h2 id="latest-posts">Latest Posts (<a target="_blank" href="/blog/index.xml">RSS</a>)</h2>
2020-12-16 00:13:13 -06:00
<ul>
{{ range (where .Site.RegularPages "Section" "blog") }}
{{ .Render "li" }}
{{ else }}
<p>Looks like there's nothing here!... yet!</p>
{{ end }}
</ul>
2020-07-14 16:47:54 -05:00
{{ end }}