From 4491e806e0fa687ee1b26cc641d8bb2bbe42edee Mon Sep 17 00:00:00 2001 From: yvling Date: Thu, 19 Dec 2024 13:19:08 +0800 Subject: [PATCH] fix: Fixed some bugs --- config.yaml | 6 +++--- templates/default/html/archive.html | 8 +++++--- templates/default/html/index.html | 8 +++++--- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/config.yaml b/config.yaml index 07ae5c8..d4b1251 100644 --- a/config.yaml +++ b/config.yaml @@ -9,8 +9,8 @@ update_secret: 123456 # configure object storage to automatically obtain article updates storage: - src: _blog/post/src - dst: _blog/post/dst + src: _blog/src/post + dst: _blog/dst/post auto_pull: true type: COS cos: @@ -29,7 +29,7 @@ site: # basic info info: logo: /assets/img/logo.png - link: https://blog.yvling.cn + link: https://yvling.cn motto: - I hope I can make it out of here. - I hope that I can still feel the sun on my face, and hear the sound of the rain. diff --git a/templates/default/html/archive.html b/templates/default/html/archive.html index 4ffc375..2e440f4 100644 --- a/templates/default/html/archive.html +++ b/templates/default/html/archive.html @@ -32,10 +32,12 @@
-
+
{{ range $i, $v := .menu.Items }} - - {{ $v.Name }} + + + {{ $v.Name }} + {{ end }}
diff --git a/templates/default/html/index.html b/templates/default/html/index.html index 83fd2a4..43ee8b0 100644 --- a/templates/default/html/index.html +++ b/templates/default/html/index.html @@ -32,10 +32,12 @@
-
+
{{ range $i, $v := .menu.Items }} - - {{ $v.Name }} + + + {{ $v.Name }} + {{ end }}