Fix demo for theme site
This commit is contained in:
parent
6c80d2035a
commit
1114bddcd3
4
Makefile
4
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:
|
||||
|
|
|
@ -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 site’s language code used to generate RSS.
|
||||
defaultcontentlanguage = "en" # The default content language.
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
baseurl = "http://www.example.com"
|
||||
title = "johndoe"
|
||||
|
||||
theme = "coder"
|
||||
theme = "hugo-coder"
|
||||
|
||||
languagecode = "en"
|
||||
|
||||
|
|
Loading…
Reference in New Issue