summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
blob: 1bc79e45c5176f399ee94f6e1d61142b074cc27bfa2e7d154084e7da0b8a11a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ define "main" -}}
<nav>
  <p>{{ emojify ":link:" }} <a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p>
</nav>
{{- if (.Page.Params.pageinfo | default true) }}
<p>{{ partial "pageinfo.html" . }}</p>
{{- end }}
<main>
  <h1 id="{{ .File.TranslationBaseName }}">{{ .Name }}</h1>
  {{ chomp (.Content) }}
</main>
{{- end }}