site.lyte.dev/layouts/index.html

28 lines
622 B
HTML

{{ define "main" }}
<h2>Hi! I'm Daniel.</h2>
<p>
<img class="rounded" style="width: 256px" src="/img/avatar.jpg" />
</p>
<p>
I live in Kansas City where I help run a small Christian church, raise a
family, and write software for Postmates.
</p>
<p>
Occasionally, I write technical blog posts. You can also check out my work
on <a target="_blank" href="https://github.com/lytedev">GitHub</a>.
</p>
<h2>Latest Posts</h2>
<ul>
{{ range (where .Site.RegularPages "Section" "blog") }}
{{ .Render "li" }}
{{ else }}
<p>Looks like there's nothing here!... yet!</p>
{{ end }}
</ul>
{{ end }}