diff options
author | mblum <me@mblum.me> | 2017-07-05 06:13:47 +0300 |
---|---|---|
committer | mblum <me@mblum.me> | 2017-07-05 07:47:48 +0300 |
commit | 67bb9915b1cdedc09a49a80c7e4bc89256336c15 (patch) | |
tree | 9ccfb7ffa582073defa4d3d4ece9fda6ade36cd8 /README.md | |
parent | 24aeaa8ea71831072243f0705e7ff78560c1cacb (diff) |
[JAVASCRIPT] support for Bootstrap 4 javascript and a post on the exampleSite demoing it
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -122,14 +122,43 @@ params: GoogleAnalytics: UA-XXXXXX ``` +## Content + +* `Use SVG rather than PNG / JPG` + - they style better and take less bandwidth +* `Pygments styles use SASS` + - PygmentsStyle is configured by changing the `sass/style.scss` + - Defaults to `default` Pygments style - see [Pygments Styles](https://help.farbox.com/pygments.html) + ## Build +### Hugo + ``` hugo server ``` You can go to localhost:1313 and this theme should be visible. +### SASS + +Build SASS updates by running `gulp` (development) or `gulp dist` (production) + +Update `includes.html` with the appropriate CSS file (default is style.min.css): + +``` +<!-- CSS --> +<link rel="stylesheet" href="/css/style.min.css"> +``` + +### Javascript + +Hugo Now supports Bootstrap JS but Github Pages and others disable Javascript. This is available for sites hosted on S3 and elsewhere. + +Build JS updates by running `gulp` (development) or `gulp dist` (production) + +Update `javascript.html` with the appropriate JS files (defaults are bootstrap dependencies). + ## License Hugo Now is licensed under the [MIT License](LICENSE.md). |