Hugo Themes
Massively
An elegant open-source and mobile-first theme
- Author: Curtis Timson
- GitHub Stars: 147
- Updated: 2022-06-25
- License: Creative Commons
- Tags: Blog
Hugo Theme Massively
Massively theme ported from HTML5 UP for use with the Hugo static site generator.
Demo
https://hugo-theme-massively.netlify.com/
Setup
Configuration
See the demo’s configuration as an example:
https://github.com/curtiscde/hugo-theme-massively/blob/master/exampleSite/config-prod.toml
Hugo Internal Templates
The theme currently also supports the following “internal templates” supplied by Hugo
Cover Image
The cover image URL is hard-coded, therefore to replace this add an image to the following location in your Hugo application:
/static/images/bg.jpg
Supported Languages
Custom Front Matter
disableComments
- If set totrue
this will disable comments on the post when Disqus is enabled.
Custom <head>
If you wish to add custom CSS overrides, or other elements in the <head>
, then this can be done by adding the following to the root of your Hugo app: layouts/partials/htmlhead.custom.html
. Any content added to this file will then be injected at the end of the <head>
.
Development
Example Site Production Deployment
Production Deployment
$ cd exampleSite
$ hugo --config config-prod.toml
Running Locally
$ npm i
$ npm run hugo-dev
OR
$ cd exampleSite
$ hugo server --themesDir ../..
Original Theme Credits
License
This hugo theme is licensed under the Creative Commons Attribution 3.0 License.
Read More - LICENSE