summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoramzrk22020-06-02 12:57:59 +0800
committeramzrk22020-06-02 12:57:59 +0800
commite6afd04368f56af57b77f71be4dda5a4d9279a64 (patch)
treed4b84c7fe71a2810b9f20620a85bd4f31f477549 /README.md
parent5f049d78bf1a3fd020fe2725c46dbbb24ff7380e (diff)
downloadhugo-theme-fuji-e6afd04368f56af57b77f71be4dda5a4d9279a64.tar.gz
hugo-theme-fuji-e6afd04368f56af57b77f71be4dda5a4d9279a64.tar.bz2
hugo-theme-fuji-e6afd04368f56af57b77f71be4dda5a4d9279a64.zip
CDN support added
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).