Browse Source

add instructions how to update themes

main
Hendrik Langer 7 months ago
parent
commit
34132221b5
  1. 17
      README.md

17
README.md

@ -2,4 +2,21 @@
homepage
* [Hugo Quick start](https://gohugo.io/getting-started/quick-start/)
* Preview: `hugo server -D`
## Theme
### Add
```bash
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo "theme = 'ananke'" >> hugo.toml
```
### Update
```bash
git submodule update --remote
git add themes/.
git commit -m "theme submodule updated"
```
[![Build Status](https://drone.xd0.de/api/badges/hendrik/h3ndrik.de/status.svg)](https://drone.xd0.de/hendrik/h3ndrik.de)

Loading…
Cancel
Save