site.lyte.dev/layouts/index.html

34 lines
696 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
2023-06-26 14:57:21 -05:00
<details open>
<summary>
<h2 id="latest-posts">
Latest <a href="/blog">Blog</a> Posts (<a target="_blank" href="/blog/index.xml">RSS</a>)
</h2>
</summary>
2023-06-26 14:35:12 -05:00
2023-06-26 14:57:21 -05:00
{{ range (where .Site.RegularPages "Section" "blog") }}
{{ .Render "li" }}
{{ else }}
<p>Looks like there's nothing here!... yet!</p>
{{ end }}
</details>
2023-06-26 14:35:12 -05:00
2023-06-26 14:57:21 -05:00
<details open>
<summary>
<h2 id="latest-tips">
Latest <a href="/tips">Tips</a> (<a target="_blank" href="/tips/index.xml">RSS</a>)
</h2>
</summary>
{{ range (where .Site.RegularPages "Section" "tips") }}
{{ .Render "li" }}
{{ else }}
<p>Looks like there's nothing here!... yet!</p>
{{ end }}
</details>
2020-12-16 00:13:13 -06:00
2020-07-14 16:47:54 -05:00
{{ end }}