Hugo Story is a port of the static HTML template Story by HTML5 UP. It is designed to mirror the look and feel of the original template as closely as possible while incorporating some of the features Hugo has to offer.
This theme is designed for those who are comfortable editing HTML and integrating Hugo short codes and variables to customize the theme to their liking.
- Minimalist Design
- Fully Responsive
- Templates
- Header
- Footer
- FootScripts
- Favicon
- Partials for each element type
- Banner
- Spotlight
- Gallery
- Items
- Image gallery
- Short Codes
- Site Title
- Site Subtitle
- Site Logo
- Social Icons
- Favicon and Social icons
- FontAwesome Icon Support
- SASS and AutoMinify Support
- Google Analytics Support
https://caressofsteel.github.io/demos/hugo/hugo-story/
Install Hugo (Extended Version)
This theme uses Hugo Pipes to compile SCSS & Sass so you'll have to use the extended version of Hugo. See the official Hugo Quick Start Guide for more information.
hugo new site story-examplesite
cd story-examplesite
git submodule add https://github.com/caressofsteel/hugo-story.git themes/hugo-story
Hint: See a note for non-Git users here.
cp -r themes/hugo-story/exampleSite/data ./
cp themes/hugo-story/exampleSite/config.toml/
Hint: Using
config.toml
tells Hugo to use the theme and sets some basic theme parameters.
Hint: Using
data
provides default content for the site.
hugo server
http://localhost:1313/
Here you'll see the site running on the local Hugo server. You can now make changes to and Hugo will rebuild the site automatically.
Hint: A copy of the default generated site is located in the
originalStorySite
folder should you need to reference it.
-
Change the contents of
YML
files in thedata
folder.- Altering
banner.yml
will change the top block on the site. See more details here.
- Altering
-
Create a custom site layout.
-
Copy the default
index.html
.cp themes/hugo-story/layouts/index.html layouts/
-
By manipulating the the
{{ partial ... }}
tags within this file you can create a custom layout for the site. See more details here.
-
-
Continue exploring Hugo and the template!
This theme was created using the Story template by HTML5 UP.
This Hugo theme is licensed under the Creative Commons Attribution 3.0 License.