1
0
forked from Git/hugo-story
agr.asia website forked from the great hugo-story template by CaressOfSteel, a (modular, highly tweakable responsive one-page theme for Hugo. https://agr.asia
Go to file
2024-03-26 12:26:41 +01:00
archetypes Upload files to 'archetypes' 2023-07-01 23:49:26 +02:00
assets Remove Google fonts fuck yeah 2023-10-25 15:20:34 +02:00
config/_default Update config/_default/config.toml 2024-03-26 12:26:41 +01:00
data Upload files to 'data' 2023-07-01 23:47:15 +02:00
images Add Images Dir 2023-01-22 10:44:40 -05:00
layouts Added rel="me" 2024-03-26 12:22:34 +01:00
static Upload files to "static" 2023-12-11 22:27:25 +01:00
hugo.toml Upload files to "/" 2024-03-26 12:24:50 +01:00
LICENSE First Commit - Hugo Story 2020-07-02 01:05:45 -04:00
README.md Add Images Dir 2023-01-22 10:44:40 -05:00

Hugo Story

A (modular, highly tweakable) responsive one-page theme for Hugo.

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.

Features

  • 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

Demo

https://caressofsteel.github.io/demos/hugo/hugo-story/

Using

1. Install Hugo.

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.

2. Create a new example site called mystory.

hugo new site mystory

3. Clone the Git repository.

cd mystory
git clone https://github.com/caressofsteel/hugo-story.git themes/hugo-story

Hint: See a note for non-Git users here.

4. Copy contents of themes/hugo-story/exampleSite/ to mystory root folder with overwrite.

cp -r themes/hugo-story/exampleSite/* ./

Hint: This sets up the mystory example website with a copy of the theme assets, layouts, data, and configuration files in the site's root folder and outside of the theme folder.

Hint: Theme assets in the site root, if present, take precedence over files in the theme folder.

5. Start Hugo Server.

hugo server

6. Open Hugo Server in your browser.

http://localhost:1313/

Here you'll see the site running on the local Hugo server. You can now edit the theme and Hugo will rebuild the site when changes are detected.

7. Further steps.

  • Edit the contents of YML files in the data folder.

    • Altering banner.yml will change the top block on the site. See more details here.
  • Create a custom site layout.

    • Edit the index.html within mystory/layouts/ to customize the layout the site.

    • 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!

Credits

This theme was created using the Story template by HTML5 UP.

License

Creative Commons License

This Hugo theme is licensed under the Creative Commons Attribution 3.0 License.