aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html2
-rw-r--r--layouts/_default/terms.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 60edd94..445c5fb 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="{{ $.Site.LanguageCode | default "en" }}">
+<html lang="{{ .Site.Language }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index fbf0045..7bdafb9 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -16,7 +16,7 @@
</div>
<div class="categories-tags">
{{ range $key, $value := $terms }}
- <a class="category-link" href="{{ $name | urlize | relURL }}/{{ $value.Term | urlize }}/">
+ <a class="category-link" href="{{ $name | relLangURL }}/{{ $value.Term | urlize }}/">
{{ $value.Term }}
<span class="category-count">{{ len $value.Pages }}</span>
</a>
@@ -34,7 +34,7 @@
</div>
<div class="tag-cloud-tags">
{{ range $key, $value := $terms }}
- <a href="{{ $name | urlize | relURL }}/{{ $value.Term | urlize }}/">
+ <a href="{{ $name | relLangURL }}/{{ $value.Term | urlize }}/">
{{ $value.Term }}
<span class="tag-count">{{ len $value.Pages }}</span>
</a>