add tagline

This commit is contained in:
geekifan
2025-04-27 10:45:25 +08:00
parent 3cacee319c
commit 703b9981e9
2 changed files with 4 additions and 1 deletions

View File

@ -70,6 +70,7 @@ path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
theme_version = "5.2.0" theme_version = "5.2.0"
toc = true toc = true
avatar = "img/commons/avatar.jpg" avatar = "img/commons/avatar.jpg"
tagline = "A text-focused Jekyll theme"
[params.assets] [params.assets]
self_host = false self_host = false

View File

@ -13,7 +13,9 @@
</a> </a>
<a class="site-title d-block" href="{{ "/" | relURL }}">{{ .Site.Title }}</a> <a class="site-title d-block" href="{{ "/" | relURL }}">{{ .Site.Title }}</a>
{{ if .Site.Params.tagline }}
<p class="site-subtitle fst-italic mb-0">{{ .Site.Params.tagline }}</p> <p class="site-subtitle fst-italic mb-0">{{ .Site.Params.tagline }}</p>
{{ end }}
</header> </header>
<!-- .profile-wrapper --> <!-- .profile-wrapper -->