13 lines
472 B
HTML
13 lines
472 B
HTML
<div class="container parent-link" style="display:flex; flex-direction: row; justify-content: space-between;">
|
|
<a href="{{.Parent.Permalink}}" class="parent-link">
|
|
{{ if eq .CurrentSection .Site.Home}}
|
|
{{ i18n "back-to-home" | safeHTML }}
|
|
{{ else }} {{ if eq .CurrentSection.Page .Page }}
|
|
{{ i18n "back-to-home" | safeHTML }}
|
|
{{ else }}
|
|
{{ i18n "back-to-parent" .CurrentSection.Title | safeHTML }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</a>
|
|
</div>
|