diff options
author | Curtis Timson <curt@live.co.uk> | 2022-01-24 21:08:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 21:08:27 +0300 |
commit | e2edb5fce8acfdd8fe9c6bb84c845f424a9a9bc3 (patch) | |
tree | b2e3be6b5dbe514bdda0b318c6945108e013adf9 | |
parent | de0fab9c2eb51786cf9f5abad66ede3e3be28d71 (diff) |
📝 Hugo version on README (#101)
-rw-r--r-- | README.md | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,5 +1,7 @@ # Hugo Theme Massively +![](https://img.shields.io/badge/Hugo-%5E0.54.0-ff4088?style=flat-square&logo=hugo) + Massively theme ported from [HTML5 UP](https://html5up.net/) for use with the [Hugo static site generator](https://gohugo.io/). ![](images/device-screenshots.png) @@ -17,14 +19,12 @@ See the demo's configuration as an example: https://github.com/curttimson/hugo-theme-massively/blob/master/exampleSite/config-prod.toml #### Hugo Internal Templates - The theme currently also supports the following ["internal templates" supplied by Hugo](https://gohugo.io/templates/internal/) - [Disqus](https://gohugo.io/templates/internal/#disqus) - [Google Analytics](https://gohugo.io/templates/internal/#configure-google-analytics) ### Cover Image - The cover image URL is hard-coded, therefore to replace this add an image to the following location in your Hugo application: ``` @@ -32,7 +32,6 @@ The cover image URL is hard-coded, therefore to replace this add an image to the ``` ### Supported Languages - - [English](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/en.toml) - [French](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/fr.toml) - [Japanese](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/ja.toml) @@ -40,27 +39,27 @@ The cover image URL is hard-coded, therefore to replace this add an image to the - [Spanish](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/es.toml) ## Custom Front Matter - - `disableComments` - If set to `true` this will disable comments on the post when Disqus is enabled. ## Development - ### Example Site Production Deployment - #### Production Deployment ``` -$ cd exampleSite && hugo --config config-prod.toml +$ cd exampleSite +$ hugo --config config-prod.toml ``` #### Running Locally ``` +$ npm i $ npm run hugo-dev ``` OR ``` -$ cd exampleSite && hugo server --themesDir ../.. +$ cd exampleSite +$ hugo server --themesDir ../.. ``` ## Original Theme Credits |