Fix #13
This commit is contained in:
parent
fe5c892af5
commit
c8673f43ba
@ -16,7 +16,7 @@
|
|||||||
{{ if .Params.link }}
|
{{ if .Params.link }}
|
||||||
<a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a>
|
<a href="{{ .Params.link }}" target="_blank">{{ .Title }} ↪</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</li>
|
</li>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
@ -28,7 +28,7 @@
|
|||||||
{{ if not .Data.Singular }}
|
{{ if not .Data.Singular }}
|
||||||
<div>
|
<div>
|
||||||
{{ range .Site.Taxonomies.tags }}
|
{{ range .Site.Taxonomies.tags }}
|
||||||
<a class="blog-tags" href="{{ .Page.Permalink }}">#{{ lower .Page.Title }}</a>
|
<a class="blog-tags" href="{{ .Page.RelPermalink }}">#{{ lower .Page.Title }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
</content>
|
</content>
|
||||||
<p>
|
<p>
|
||||||
{{ range (.GetTerms "tags") }}
|
{{ range (.GetTerms "tags") }}
|
||||||
<a class="blog-tags" href="{{ .Permalink }}">#{{ lower .LinkTitle }}</a>
|
<a class="blog-tags" href="{{ .RelPermalink }}">#{{ lower .LinkTitle }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
{{ with .Site.Params.author.email }}
|
{{ with .Site.Params.author.email }}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<a class="skip-link" href="#main-content">{{ i18n "skip-link" }}</a>
|
<a class="skip-link" href="#main-content">{{ i18n "skip-link" }}</a>
|
||||||
|
|
||||||
<a href="{{ relURL .Site.Home.Permalink }}" class="title"><h1>{{ .Site.Title }}</h1></a>
|
<a href="{{ relURL .Site.Home.RelPermalink }}" class="title"><h1>{{ .Site.Title }}</h1></a>
|
||||||
<nav>{{- partial "nav.html" . -}}</nav>
|
<nav>{{- partial "nav.html" . -}}</nav>
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
<!-- Create a link to every translation -->
|
<!-- Create a link to every translation -->
|
||||||
{{ range where .Site.Languages "Lang" "!=" .Page.Lang }}
|
{{ range where .Site.Languages "Lang" "!=" .Page.Lang }}
|
||||||
{{ with (index $translations .Lang) }}
|
{{ with (index $translations .Lang) }}
|
||||||
<a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a>
|
<a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<!-- The complicated setup was necessary to make a grayed out link -->
|
<!-- The complicated setup was necessary to make a grayed out link -->
|
||||||
{{ if not .Params.hideUntranslated }}
|
{{ if not .Params.hideUntranslated }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user