aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
blob: 78fd0d590704d254dad97d9a42c0ae1e0b99c18d044a3c2232b7492c13caa384 (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 class="list">
    {{- range .Site.Menus.main }}
	<li class="list__item">{{ emojify ":link:" }}&nbsp;<a class="link" href="{{ .URL }}" rel="noreferrer">{{ .Name }}</a></li>
    {{- end }}
    </ul>
  </nav>
  <h2>Journal Entries</h2>
  {{ partial "metadata.html" . -}}
</main>
{{- end }}