From 4a4997a19c573b577ce9c212855fe0bb476fac31 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Mon, 10 Jan 2022 23:17:35 +0800 Subject: [PATCH] :sparkles: Feat(ING): add header subtitle option (#26) --- exampleSite/config.toml | 3 + layouts/partials/header.html | 343 ++++++++++++++++++----------------- 2 files changed, 179 insertions(+), 167 deletions(-) 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 */ -}}
-
- -
-
+
-
+