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
Jayson Basañes 4ef121fca6
Fix possible typo in README
The instructions for copying the `config.toml` is this:

```
cp themes/hugo-story/exampleSite/config.toml/
``` 

But that turned out be an error when I tried it. This gets printed out in the terminal:

```
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
```

I believe the correct instruction is this:

```
cp themes/hugo-story/exampleSite/config.toml ./
```
2021-03-22 13:04:07 -06:00
assets First Commit - Hugo Story 2020-07-02 01:05:45 -04:00
exampleSite moving config.toml to exampleSite and removing other configs 2021-02-04 17:37:54 +01:00
images First Commit - Hugo Story 2020-07-02 01:05:45 -04:00
layouts fixing footer - moving li into with 2021-02-01 19:07:20 +01:00
originalStorySite moving config.toml to exampleSite and removing other configs 2021-02-04 17:37:54 +01:00
static First Commit - Hugo Story 2020-07-02 01:05:45 -04:00
LICENSE First Commit - Hugo Story 2020-07-02 01:05:45 -04:00
README.md Fix possible typo in README 2021-03-22 13:04:07 -06:00
theme.toml First Commit - Hugo Story 2020-07-02 01:05:45 -04: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 site

hugo new site story-examplesite

3. Clone this Git repository

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.

4. Copy data and config.toml with overwrite from exampleSite

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.

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 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.

7. Further steps

  • Change 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.

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

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.