summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
blob: 52e7ad4e1937f2fd9b5f9c12aab9c0d29dae688ff1fe22dc8def9d76e1d5da87 (plain)
1
2
3
4
5
6
7
8
9
10
11
{{ define "main" -}}
<nav>
  <p>{{ emojify ":link:" | safeHTML }} <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>
  {{ .Content -}}
</main>
{{- end }}