{{ define "main" }}

{{ .Content }}

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

<h2>More Me</h2>

<ul>
	<li>
		<a href="https://discord.gg/jUCXCYp">Discord</a>
	</li>
	<li>
		<a href="mailto:daniel@lyte.dev">Email</a>
	</li>
	<li>
		<a href="https://github.com/lytedev">GitHub</a>
	</li>
	<li>
		<a href="https://git.lyte.dev/lytedev">git.lyte.dev</a>
	</li>
</ul>

<h2>Meta</h2>

<ul>
	<li>
		<a href="/privacy">Privacy Policy</a>
	</li>
	<li>
		<a href="https://git.lyte.dev/lytedev/site.lyte.dev">Site Code</a>
	</li>
</ul>

{{ end }}
