mirror of https://github.com/luizdepra/hugo-coder.git

Luiz de Prá
10.56.2018 1114bddcd3ff31461daba69d063c0484ab0d5314
Fix demo for theme site
3 files modified
10 ■■■■ changed files
Makefile 4 ●●●● patch | view | raw | blame | history
README.md 4 ●●●● patch | view | raw | blame | history
exampleSite/config.toml 2 ●●● patch | view | raw | blame | history
Makefile
@@ -1,9 +1,9 @@
.PHONY: demo clear
demo:
    mkdir -p demo/themes/coder
    mkdir -p demo/themes/hugo-coder
    rsync -av exampleSite/* demo
    rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/coder
    rsync -av --exclude='demo' --exclude='exampleSite' --exclude='.git' . demo/themes/hugo-coder
    cd demo && hugo serve -D
clean:
README.md
@@ -4,7 +4,7 @@
![](https://github.com/luizdepra/hugo-coder/blob/master/images/screenshot.png)
**Coder uses Asset Pipeline now!**
**HugoCoder uses Asset Pipeline now!**
To use this theme you need Hugo Extended Version, v0.43 or later. But, if you still want to use the old version, you can clone the [v1.0](https://github.com/luizdepra/hugo-coder/releases/tag/v1.0) release.
@@ -27,7 +27,7 @@
```toml
baseurl = "http://www.example.com" # Hostname (and path) to the root.
title = "johndoe" # Site title.
theme = "coder" # Set the theme.
theme = "hugo-coder" # Set the theme.
languagecode = "en" # The site’s language code used to generate RSS.
defaultcontentlanguage = "en" # The default content language.
exampleSite/config.toml
@@ -1,7 +1,7 @@
baseurl = "http://www.example.com"
title = "johndoe"
theme = "coder"
theme = "hugo-coder"
languagecode = "en"