fix: Fixed some bugs

This commit is contained in:
2024-12-19 13:19:08 +08:00
parent 5b851dfd83
commit 4491e806e0
3 changed files with 13 additions and 9 deletions

View File

@@ -9,8 +9,8 @@ update_secret: 123456
# configure object storage to automatically obtain article updates # configure object storage to automatically obtain article updates
storage: storage:
src: _blog/post/src src: _blog/src/post
dst: _blog/post/dst dst: _blog/dst/post
auto_pull: true auto_pull: true
type: COS type: COS
cos: cos:
@@ -29,7 +29,7 @@ site:
# basic info # basic info
info: info:
logo: /assets/img/logo.png logo: /assets/img/logo.png
link: https://blog.yvling.cn link: https://yvling.cn
motto: motto:
- I hope I can make it out of here. - 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. - I hope that I can still feel the sun on my face, and hear the sound of the rain.

View File

@@ -32,10 +32,12 @@
<!-- menu --> <!-- menu -->
<div class="container p-3"> <div class="container p-3">
<div class="row pt-lg-3"> <div class="row pt-lg-3">
<div class="col mx-auto post-menu"> <div class="col mx-auto">
{{ range $i, $v := .menu.Items }} {{ range $i, $v := .menu.Items }}
<i class="{{ $v.Icon }} m-icon"></i> <span class="main-menu-item">
<a class="main-menu-link" href="{{ $v.Url }}"> {{ $v.Name }} </a> <i class="{{ $v.Icon }} m-icon"></i>
<a class="main-menu-link" href="{{ $v.Url }}"> {{ $v.Name }} </a>
</span>
{{ end }} {{ end }}
</div> </div>
</div> </div>

View File

@@ -32,10 +32,12 @@
<!-- menu --> <!-- menu -->
<div class="container p-3"> <div class="container p-3">
<div class="row pt-lg-3"> <div class="row pt-lg-3">
<div class="col mx-auto post-menu"> <div class="col mx-auto">
{{ range $i, $v := .menu.Items }} {{ range $i, $v := .menu.Items }}
<i class="{{ $v.Icon }} m-icon"></i> <span class="main-menu-item">
<a class="main-menu-link" href="{{ $v.Url }}"> {{ $v.Name }} </a> <i class="{{ $v.Icon }} m-icon"></i>
<a class="main-menu-link" href="{{ $v.Url }}"> {{ $v.Name }} </a>
</span>
{{ end }} {{ end }}
</div> </div>
</div> </div>