Skip to content

Commit

Permalink
Fix: 修复 script 和 style shortcodes 异常
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Aug 31, 2024
1 parent 1553987 commit e376191
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 10 deletions.
13 changes: 12 additions & 1 deletion content/posts/_thoughts/liuzhou/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ categories:
- thoughts
tags:
- 随想
summary:
resources:
- name: featured-image
src: featured-image.webp
password: 20240830
endFlag: ""
reward: false
---

坐高铁去柳州吃螺狮粉,是一种怎样的体验呢?
Expand All @@ -23,3 +25,12 @@ resources:
<!--more-->

{{< douyin 7370344193077644584 >}}

---

> 2024.08.30
>
> 还是分手了,还是会一蹶不振,又要享受孤独了。\
> 异地确实让彼此都会很委屈很累,分开是避免不了的未来。
>
> 祝你早日康复,好好生活!
7 changes: 5 additions & 2 deletions content/projects/font-mmt/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ library:
css:
mmtCSS: mmt.css
js:
vueJS: https://cdn.jsdelivr.net/npm/vue@2
vueJS: https://npm.elemecdn.com/vue@2.6.14/dist/vue.min.js
pageStyle: wide
heading:
number:
enable: false
---

<!-- markdownlint-disable MD033 -->
Expand Down Expand Up @@ -74,6 +77,6 @@ pageStyle: wide

{{< script >}}
document.addEventListener('DOMContentLoaded', () => {
new Vue({ el: '#app-mmt', data: { message: '' }});
new Vue({ el: '#app-mmt', data: { message: '' }});
});
{{< /script >}}
2 changes: 1 addition & 1 deletion content/projects/font-mmt/mmt.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
.live-content {
white-space: pre-line;
font-family: MMT, '沐目体';
font-size: 1.2rem;
font-size: 1.5rem;
margin-left: 0.5rem !important;
margin-right: 0.5rem !important;
margin-bottom: 1rem !important;
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ go 1.20

require (
github.com/Lruihao/hugo-shortcode-mmt-netease v1.0.7 // indirect
github.com/hugo-fixit/FixIt v0.3.10-0.20240824093031-3ffef8acb0d0 // indirect
github.com/hugo-fixit/FixIt v0.3.12-0.20240831083031-9e67e259fbcb // indirect
github.com/hugo-fixit/cmpt-mdevtools v1.0.0 // indirect
github.com/hugo-fixit/component-projects v1.1.3 // indirect
github.com/hugo-fixit/hugo-json-feed v1.0.0 // indirect
github.com/hugo-fixit/hugo-json-feed v1.0.2 // indirect
github.com/hugo-fixit/shortcode-caniuse v1.1.3 // indirect
github.com/hugo-fixit/shortcode-docs-bookmark v1.0.2 // indirect
github.com/hugo-fixit/shortcode-rewards v1.0.4 // indirect
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
github.com/Lruihao/hugo-shortcode-mmt-netease v1.0.7 h1:G0A3HBcU7zu/FZPEVlzexO4GBNs1CAUVNwoRkekUbdU=
github.com/Lruihao/hugo-shortcode-mmt-netease v1.0.7/go.mod h1:6vXHaAZv1p9meW2mZ5KmlWlu5W9YiIpUTkHGWwkp3Pk=
github.com/hugo-fixit/FixIt v0.3.10-0.20240824093031-3ffef8acb0d0 h1:hovn8ouFgXMO0YF49qwIx6yrHCxPxtbsYP2sc2Z1/sc=
github.com/hugo-fixit/FixIt v0.3.10-0.20240824093031-3ffef8acb0d0/go.mod h1:3XIRedrqakO7/a4ZnhE46haMRF8HgsT0N0B5j5D2iRU=
github.com/hugo-fixit/FixIt v0.3.12-0.20240831083031-9e67e259fbcb h1:mt8FycJirzQn4xs57A8H3MpqjoA8x2WO+OJt1iA3iE0=
github.com/hugo-fixit/FixIt v0.3.12-0.20240831083031-9e67e259fbcb/go.mod h1:3XIRedrqakO7/a4ZnhE46haMRF8HgsT0N0B5j5D2iRU=
github.com/hugo-fixit/cmpt-mdevtools v1.0.0 h1:6xCY1E2HqyTWioEcOPsmH7Wm12YKSPxngWK72PvLaKU=
github.com/hugo-fixit/cmpt-mdevtools v1.0.0/go.mod h1:+1tfeT4ugFNa1kx/3yQF0NUup2Fejiq7EwvrpcY2xWw=
github.com/hugo-fixit/component-projects v1.1.3 h1:iK6q07CpFsnnJGh8q2stVjv6Lr77dTM9o+P7LGDEYmE=
github.com/hugo-fixit/component-projects v1.1.3/go.mod h1:nXW0R37REwpfwUD1I4RtB5QW71vw66nRyB9uEpYxr+c=
github.com/hugo-fixit/hugo-json-feed v1.0.0 h1:bFRCFxOImDsr+4qhxYORqAIKcIzSWxmbh2T4TvsQfS4=
github.com/hugo-fixit/hugo-json-feed v1.0.0/go.mod h1:ystvqmSnWdkU0aBybKKNztj8P1ViY6AhMaK/bsBL9uw=
github.com/hugo-fixit/hugo-json-feed v1.0.2 h1:xZABGHuoX/u0hnoF5AoP7ane7l9T7UNmlOAiFdWvBvA=
github.com/hugo-fixit/hugo-json-feed v1.0.2/go.mod h1:ystvqmSnWdkU0aBybKKNztj8P1ViY6AhMaK/bsBL9uw=
github.com/hugo-fixit/shortcode-caniuse v1.1.3 h1:U1YBJz5SI/d1BBQhHcD0eVgJdCcpzK2usSizPiu+a4w=
github.com/hugo-fixit/shortcode-caniuse v1.1.3/go.mod h1:RoPLFt+7uLui5rjvkC/qFGeo4nly5AzzwIID9SoDKNc=
github.com/hugo-fixit/shortcode-docs-bookmark v1.0.2 h1:VIcMt3SWSZYFyz0d+SfKb7ad3ZrQ2i87KJTYRfVTEfk=
Expand Down

0 comments on commit e376191

Please sign in to comment.