Files
hugo-fresh/README.md

36 lines
1.3 KiB
Markdown
Raw Normal View History

2018-08-04 12:52:38 +02:00
# The Fresh theme for Hugo
2018-08-11 16:04:38 +02:00
**Fresh** is a theme for the [Hugo](https://gohugo.io) static site generator adapted from the gorgeous, [Bulma](https://bulma.io)-based theme of the same name from [CSS Ninja](https://cssninja.io/themes/fresh). You can find a live demo of the original theme [here](https://cssninjastudio.github.io) and a live demo of the Hugo theme [here](https://hugo-fresh.netlify.com/).
2018-08-04 12:56:08 +02:00
2018-08-04 13:24:03 +02:00
![Fresh theme logo](images/screenshot.png)
2018-08-04 12:56:08 +02:00
2018-08-04 13:00:29 +02:00
> This theme is for landing pages only. If you'd like to extend the theme to include other types of pages—blog posts, documentation pages, etc.—feel free to submit a pull request.
2018-08-04 12:56:08 +02:00
## Getting started
To create a new site using this theme:
```bash
# Create site and cd into it
hugo new site my-site && cd my-site
# Clone the Fresh theme
git clone https://github.com/lucperkins/hugo-fresh themes/hugo-fresh
# Remove the default config
rm config.toml
# Fetch the example config
2018-08-04 13:00:29 +02:00
curl -O https://raw.githubusercontent.com/lucperkins/hugo-fresh/master/exampleSite/config.yaml
2018-08-04 12:56:08 +02:00
# Run the site locally
hugo server
# Open the site in your browser
open http://localhost:1313
2018-08-04 13:00:29 +02:00
```
## Customizing your page
2018-08-04 13:24:03 +02:00
There's a wide variety of customizations that you can make to your Hugo Fresh landing page by modifying the `config.yaml` file that you downloaded. That file provides documentation for what the various config values represent.