aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
blob: 0ad05b1fbc5a8f63b93561eac0ed2e320b9deb2f651101355c044def1c21ddf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ define "main" -}}
<main>
  <h1>{{ .Site.Params.indexTitle }}</h1>
  <p>{{ .Site.Params.indexIntro }}</p>
  <h2>Navigation Links</h2>
  <nav>
    <ul>
    {{- range .Site.Menus.main }}
    <li class="navlink"><a href="{{ .URL }}" rel="noreferrer">🔗 {{ .Name }}</a></li>
    {{- end }}
    </ul>
  </nav>
  <h2>Journal Entries</h2>
  {{ partial "metadata.html" . -}}
</main>
{{- end }}