    {{ if (lt (add $index 2) $length) }}
          {{- print " , " -}}
        {{ else if (lt (add $index 1) $length) }}
          {{- print " and " -}}
        {{ else }}
          {{- print "." -}}
        {{ end }}
      {{ end }}
      </p>
  {{ end }}
  </section>

  <section id="writing">
    <!-- TODO: use built in mainSections parameter https://gohugo.io/functions/where/#mainsections -->
    <span class="h1"><a href="{{ .Site.Params.mainSection | absURL }}">Writings</a></span>
    {{ if (and (and (i