hexo-theme-webstack2
v4.0.7
Published
A hexo theme based on webstack.
Downloads
609
Readme
hexo-theme-webstack2
A Hexo theme based on WebStackPage and hexo-theme-webstack.
Installation
npm install hexo-theme-webstack2 --saveor
cnpm install hexo-theme-webstack2 --saveConfiguration
For detailed configuration options, please refer to the original hexo-theme-webstack documentation.
JS Change
CDN JavaScript resources configuration.
Local JavaScript files (header.js, footer.js, resizeable.min.js, joinable.js, xenon-api.min.js, xenon-toggles.min.js, xenon-custom.min.js) are built-in and cannot be configured. Only the following CDN resources are configurable:
- jquery: jQuery library
- bootstrap: Bootstrap JS
- TweenMax: GSAP TweenMax
- lozad: Lazy loading library
- busuanzi: Website statistics
Example:
js:
jquery: //cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js
bootstrap: //cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js
TweenMax: //cdn.jsdelivr.net/npm/[email protected]/src/minified/TweenMax.min.js
lozad: //cdn.jsdelivr.net/npm/[email protected]/dist/lozad.min.js
busuanzi: //cdn.jsdelivr.net/npm/[email protected]/bsz.pure.mini.min.jsCSS Change
CDN CSS resources configuration.
Local CSS files (hclonely.css, linecons.min.css, xenon-core.min.css, xenon-components.min.css, xenon-skins.min.css, nav.min.css) are built-in and cannot be configured. Only the following CDN resources are configurable:
- fonts: Google Fonts
- fontawesome: Font Awesome
- bootstrap: Bootstrap CSS
Example:
css:
fonts: //fonts.loli.net/css?family=Arimo:400,700,400italic
fontawesome: //cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css
bootstrap: //cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css