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