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

github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Chucheng <me@wangchucheng.com>2021-01-28 12:36:32 +0300
committerWang Chucheng <me@wangchucheng.com>2021-01-28 12:36:32 +0300
commitef43e8347388e20a96e2472088623b8901da21bb (patch)
tree372da19414da4905e1c1dacd195354dc0f026aa3 /layouts
parent13d24aee7a87924442254f0efc7011630054ba14 (diff)
refactor: migrate from toml to yaml
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index f3ecdce..38fd1e1 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -9,7 +9,7 @@
</div>
</header>
<main class="flex-grow pt-16">
- {{- if or .IsHome (eq .Type "authors") }}
+ {{- if or .IsHome (and (eq .Type "authors") (eq .Kind "term")) }}
{{- block "main" . }}{{- end }}
{{- else }}
<div class="pl-scrollbar">