summaryrefslogtreecommitdiff
path: root/layouts/index.html
blob: a56996dc76829ed06bc94c45ddfe90fc2d5a3c42aa5b9166399ddcb075fac803 (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">{{ emojify ":link:" }} {{ .Name }}</a></li>
    {{- end }}
    </ul>
  </nav>
  <h2>Journal Entries</h2>
  {{ partial "metadata.html" . -}}
</main>
{{- end }}