Usage instructions in README.md
This commit is contained in:
28
README.md
28
README.md
@@ -1,3 +1,29 @@
|
||||
# The Fresh theme for Hugo
|
||||
|
||||

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

|
||||
|
||||
## 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
|
||||
curl -O https://github.com/lucperkins/hugo-fresh/blob/master/exampleSite/config.yaml
|
||||
|
||||
# Run the site locally
|
||||
hugo server
|
||||
|
||||
# Open the site in your browser
|
||||
open http://localhost:1313
|
||||
```
|
||||
Reference in New Issue
Block a user