aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
blob: 7612f545a0ba46669c22d33a1824028bb524d6bbda15dcd1c0b45da5609a1aa8 (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>
  {{ chomp (.Content) }}
</main>
{{- end }}