i18n: fix back to home button
This commit is contained in:
parent
f131445ce9
commit
5ac92b98ba
|
@ -12,3 +12,5 @@
|
|||
translation: "🞀 Back To Home"
|
||||
- id: tags
|
||||
translation: "Tags"
|
||||
- id: back-to-posts
|
||||
translation: "🞀 Back to Posts"
|
||||
|
|
|
@ -4,3 +4,5 @@
|
|||
translation: "Yazılar"
|
||||
- id: tags
|
||||
translation: "Etiketler"
|
||||
- id: back-to-posts
|
||||
translation: "🞀 Yazılara Dön"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div id="home-center">
|
||||
<h1 id="home-title">{{ .Site.Title }}</h1>
|
||||
<nav id="home-nav">
|
||||
{{ partialCached "menu.html" . }}
|
||||
{{ partial "menu.html" . }}
|
||||
</nav>
|
||||
</div>
|
||||
<div id="site-footer">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<header id="posts-header">
|
||||
<a href="{{.Site.BaseURL}}">{{ i18n "backTitle" | safeHTML }}</a>
|
||||
<a href="{{ .Site.Home.Permalink | absLangURL }}">{{ i18n "backTitle" | safeHTML }}</a>
|
||||
<h1 id="header-title">{{ i18n ( lower .Title ) }}</h1>
|
||||
</header>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<header id="post-header">
|
||||
<a href="{{.Site.BaseURL}}">{{ i18n "backTitle" | safeHTML }}</a>
|
||||
{{ $link := "posts/" }}
|
||||
<a href="{{ $link | absLangURL }}">{{ i18n "back-to-posts" | safeHTML }}</a>
|
||||
<h1 id="post-title">{{ .Title }}</h1>
|
||||
<div class="post-meta"><span>{{ time.Format .Site.Params.dateform .Date }}</span></div>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue
Block a user