{{define "title"}}
Atridad Lahiji // Posts
{{end}}

{{define "description"}}
Posts I've Written
{{end}}

{{define "navcontent"}}
Atridad Lahiji // Posts
{{end}}

{{define "head"}}
{{end}}

{{define "main"}}

{{if .Posts}}
<div class="card-grid-container">
  <section class="card-grid">
    {{range .Posts}}
    {{template "cardlinks" .}}
    {{end}}
  </section>
</div>
{{end}}

{{if not .Posts}}
<div class="card-grid-container">
  <section class="card-grid">
    <h2 class="text-2xl font-extrabold tracking-tight text-white sm:text-[2rem]">
      Nothing to see here (yet)!
    </h2>
  </section>
</div>
{{end}}

{{end}}

{{define "foot"}}
{{end}}
