20 lines
727 B
Markdown
20 lines
727 B
Markdown
|
# Hugo Starter Theme
|
||
|
A simple Hugo theme. See it in action [on my website](https://jakubb.xyz)
|
||
|
|
||
|
## Getting started
|
||
|
|
||
|
Inside your project folder, copy the theme to your `themes` folder. Since you're just using it as a starter for your theme, remove the git history.
|
||
|
|
||
|
```bash
|
||
|
git clone https://github.com/ericmurphyxyz/hugo-starter-theme themes/your-theme-name
|
||
|
rm -rf themes/your-theme-name/.git
|
||
|
```
|
||
|
|
||
|
If you'd like some example content and an example config file to get started, you can copy the `exampleSite` directory into your root Hugo directory.
|
||
|
|
||
|
```bash
|
||
|
cp -r themes/your-theme-name/exampleSite/* ./
|
||
|
```
|
||
|
|
||
|
To learn more about building themes in Hugo, refer to Hugo's [templating documentation](https://gohugo.io/templates/).
|