Fix demo for theme site

This commit is contained in:
Luiz de Prá 2018-09-09 19:56:56 -03:00
parent 6c80d2035a
commit 1114bddcd3
3 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -4,7 +4,7 @@ A simple and clean blog theme for Hugo.
![](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 @@ Add the following lines to your `config.toml`.
```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 sites language code used to generate RSS.
defaultcontentlanguage = "en" # The default content language.

View File

@ -1,7 +1,7 @@
baseurl = "http://www.example.com"
title = "johndoe"
theme = "coder"
theme = "hugo-coder"
languagecode = "en"