From 3ba58f90858d5779a1077c4687e1ad6c8b48b6db Mon Sep 17 00:00:00 2001 From: jk Date: Thu, 28 Jan 2021 12:52:47 +0000 Subject: [PATCH] minor changes --- themes/nipponalba/layouts/partials/aside.html | 2 +- themes/nipponalba/layouts/partials/taxonomy/categories.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/nipponalba/layouts/partials/aside.html b/themes/nipponalba/layouts/partials/aside.html index acd23c3..e8d07d9 100644 --- a/themes/nipponalba/layouts/partials/aside.html +++ b/themes/nipponalba/layouts/partials/aside.html @@ -47,7 +47,7 @@ {{ $weigth := div (sub (math.Log $count) (math.Log $min)) (sub (math.Log $max) (math.Log $min)) }} {{ $currentFontSize := (add $smallestFontSize (mul (sub $largestFontSize $smallestFontSize) $weigth) ) }} - {{if not (in (slice "1" "2" "3" "4" "5") $name)}}{{ $name }}{{ end }} + {{if not (in (slice "1" "2" "3" "4" "5") $name)}}{{ .Page.Title }}{{ end }} {{ end }} {{ end }} diff --git a/themes/nipponalba/layouts/partials/taxonomy/categories.html b/themes/nipponalba/layouts/partials/taxonomy/categories.html index 67ac8e6..9bcb3d6 100644 --- a/themes/nipponalba/layouts/partials/taxonomy/categories.html +++ b/themes/nipponalba/layouts/partials/taxonomy/categories.html @@ -1,6 +1,6 @@