diff options
author | Vivek R <vividvilla@gmail.com> | 2019-10-22 22:04:47 +0300 |
---|---|---|
committer | Vivek R <vividvilla@gmail.com> | 2019-10-22 22:04:47 +0300 |
commit | 1df516090c21652b7c1ef705c6cf59e56bb15ba5 (patch) | |
tree | 27e9aa0b2aede04b5052e47813f882bf9ff50c87 /README.md | |
parent | fd80089ceba1e703b60a34fd4b0255181b2d1739 (diff) |
feat: load custom CSS and JSfeat-custom-css-js
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -21,6 +21,7 @@ Clean and minimal personal blog and portfolio theme for Hugo. * Twitter cards and opengraph tags support * Disqus comments * Hugo RSS feeds +* Custom CSS/JS ## Installation @@ -59,18 +60,34 @@ paginate = 10 [params] # Blog subtitle which appears below blog title. Supports markdown. subtitle = "Clean and minimal personal [blog theme for Hugo](https://github.com/vividvilla/ezhil)" + # Content types which are included in home page recent posts list. mainSections = ["posts"] + # Content types which are excludes Disqus comments. disableDisqusTypes = ["page"] + # If social media links are enabled then enable this to fetch icons from CDN instead of hosted on your site. featherIconsCDN = true + # Specify favicon (icons/i.png maps to static/icons/i.png). No favicon if not defined. favicon = "icons/myicon.png" + # Switch to dark mode or auto detect mode from OS (Optional). # "dark" will set mode to dark and "auto" will switch to dark mode if OS is in dark mode. mode = "dark" # "dark" or "auto" + # Custom CSS added to default styles. Files added to `static` folder is copied as it is to + # root by Hugo. For example if you have custom CSS file under `static/css/custom.css` then + # you can specify custom css path as `css/custom.css`. + customCSS = "css/custom.css" + # Custom CSS added to dark mode style. + customDarkCSS = "css/custom-dark.css" + + # Custom list of Javascript files to load. Just like custom CSS you can place js files under + # `static/js` folder and specify path here as `js/script-name.js`. + customJS = ["js/abc.js", "js/xyz.js"] + # Main menu which appears below site header. [[menu.main]] name = "Home" |