blind commit (#249)

This commit is contained in:
Spedon
2024-01-21 21:33:20 +08:00
committed by GitHub
parent 480df04e55
commit cf2f36d232

View File

@@ -164,6 +164,7 @@ path = "github.com/Sped0n/bridget"
``` ```
- If you have <u>installation with Git</u> - If you have <u>installation with Git</u>
- `replacement`: replace the <u>path after the arrow</u>(`../..`) with the location of your local theme file (⚠️⚠️⚠️**relative path only**, example: `themes/bridget`) - `replacement`: replace the <u>path after the arrow</u>(`../..`) with the location of your local theme file (⚠️⚠️⚠️**relative path only**, example: `themes/bridget`)
- `path`: no change - `path`: no change
@@ -184,8 +185,6 @@ Detailed description in the comments.
> For users who have installation with module, please always set this option to `true`, unless you know what you are doing. > For users who have installation with module, please always set this option to `true`, unless you know what you are doing.
> >
> Or you might get the error related to `node_modules/swiper/swiper.scss`. > Or you might get the error related to `node_modules/swiper/swiper.scss`.
>
### `sitemap.toml` ### `sitemap.toml`
@@ -195,7 +194,7 @@ https://gohugo.io/templates/sitemap-template/#configuration
> Before heading to this section, please make sure you have **installation with Git**. > Before heading to this section, please make sure you have **installation with Git**.
### Option 1: *it just works* way ### Option 1: _it just works_ way
> If you want to modify js/ts file, please use option 2. > If you want to modify js/ts file, please use option 2.
@@ -214,4 +213,3 @@ https://gohugo.io/templates/sitemap-template/#configuration
5. After modification, run `npm run build` in the <u>bridget theme root dir</u> to build artifacts. 5. After modification, run `npm run build` in the <u>bridget theme root dir</u> to build artifacts.
6. In <u>your hugo site root dir</u>, write/modify configuration files according to your needs, remember to set `bundled` option to `true`, so hugo will use the artifacts you built in step 5. 6. In <u>your hugo site root dir</u>, write/modify configuration files according to your needs, remember to set `bundled` option to `true`, so hugo will use the artifacts you built in step 5.
7. Run `hugo server` in <u>your hugo site root dir</u>, and you are good to go. 7. Run `hugo server` in <u>your hugo site root dir</u>, and you are good to go.