From a11329347060eaa0a7e90f881a3dec85cfbb8c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Dalecki?= Date: Sat, 9 Oct 2021 23:26:20 +0200 Subject: [PATCH] Fix Back button link and menu links to be appropriate for language. --- layouts/_default/single.html | 2 +- layouts/partials/sidebar/left.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 040b547..bca4469 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -29,7 +29,7 @@ {{ define "left-sidebar" }} {{ if (.Scratch.Get "hasTOC") }}
- + {{ (resources.Get "icons/back.svg").Content | safeHTML }} {{ T "article.back" }} diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html index c14092f..53a6655 100644 --- a/layouts/partials/sidebar/left.html +++ b/layouts/partials/sidebar/left.html @@ -29,7 +29,7 @@ {{ end }} {{ end }} -

{{ .Site.Title }}

+

{{ .Site.Title }}

{{ .Site.Params.sidebar.subtitle }}

@@ -39,7 +39,7 @@ {{ $active := or (eq $currentPage.Title .Name) (or ($currentPage.HasMenuCurrent "main" .) ($currentPage.IsMenuCurrent "main" .)) }}
  • - + {{ if .Pre }} {{ partial "helper/icon" .Pre }} {{ end }}