diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c43e5492..2a1a704b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -676,6 +676,9 @@ enableEmoji = true # whether to use typeit animation for title name # 是否为标题显示打字机动画 typeit = false + [params.header.subtitle] + name = "李瑞豪的博客" + typeit = true # Footer config # 页面底部信息配置 diff --git a/layouts/partials/header.html b/layouts/partials/header.html index de3f9550..908dbd82 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,183 +1,192 @@ {{- /* Desktop header */ -}}
-
- - +
+ + +
{{- /* Mobile header */ -}}
-
- -
-
+
-
+