Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweru <fromweru@gmail.com>2022-05-14 22:33:54 +0300
committerweru <16350351+onweru@users.noreply.github.com>2022-05-17 02:38:18 +0300
commit616b44986438752406ac579e620e35b1bab1cd50 (patch)
treeba4102bb837ebf80b60e8fc1c30b8664a82a588d
parent7bb33d753a2252d817217cd44b7e8bcf66528a39 (diff)
make conditional precise
Signed-off-by: weru <fromweru@gmail.com>
-rw-r--r--layouts/_default/baseof.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 20b1365..7f1da9b 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -7,8 +7,7 @@
data-figures="{{ $p.figurePositionShow }}"
{{ if .IsPage }}
class="page"
- {{ end }}
- {{ if .IsHome }}
+ {{ else if .IsHome }}
class="home"
{{ end }}
{{ with $s.enforceLightMode }}