summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index fbb4f1d..27a93f5 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,7 @@ Fuji is a minimal Hugo theme with full dark mode support and GitHub Primer markd
- [Image zoom and lazyload settings](#image-zoom-and-lazyload-settings)
- [Markdown render hook](#markdown-render-hook)
- [Disqus](#disqus)
+ - [Load main CSS und JS from CDN](#load-main-css-und-js-from-cdn)
- [Advanced configuration](#advanced-configuration)
- [Report und contributing](#report-und-contributing)
- [License](#license)
@@ -143,6 +144,10 @@ this.page.identifier = {{ $.File.ContentBaseName }};
Use the `[SITEROOT]/layouts/partials/comment-disqus.html` to cover `themes/fuji/layouts/partials/comment-disqus.html`. Then you can customize the url and identifier, or switch to DisqusJS for accessing from Mainland China. If you want to use DisqusJS, please also remember to set `useDisqusJS = true` in your `config.toml` to load CSS.
+### Load main CSS und JS from CDN
+
+Without the demand of custmize the CSS, you can uncomment `mainAssetsCDN = true` in `config.toml` to load `fuji.min.css` and `fuji.min.js` from jsDelivr.
+
### Advanced configuration
See [Report und contributing](#report-und-contributing).