site.lyte.dev/layouts/index.html

36 lines
666 B
HTML
Raw Normal View History

2020-07-14 16:47:54 -05:00
{{ define "main" }}
<p>
<h2>
Hi! I'm Daniel.
</h2>
</p>
<img class="rounded" style="width: 256px" src="/img/avatar.jpg" />
<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>
<p>
<h3>
Latest Posts
</h3>
</p>
<p>
<ul>
{{ range (where .Site.RegularPages "Section" "blog") }}
{{ .Render "li" }}
{{ else }}
<p>Looks like there's nothing here!... yet!</p>
{{ end }}
</ul>
</p>
{{ end }}