From e2edb5fce8acfdd8fe9c6bb84c845f424a9a9bc3 Mon Sep 17 00:00:00 2001 From: Curtis Timson Date: Mon, 24 Jan 2022 18:08:27 +0000 Subject: =?UTF-8?q?=F0=9F=93=9D=20Hugo=20version=20on=20README=20(#101)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 9718df2..0afeb84 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3