{{ define "main" }}

{{ .Content }}

<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>

	{{ range (where .Site.RegularPages "Section" "blog") }}
		{{ .Render "li" }}
	{{ else }}
		<p>Looks like there's nothing here!... yet!</p>
	{{ end }}
</details>

{{ end }}
