mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Fix demo for theme site
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,9 +1,9 @@
|
|||||||
.PHONY: demo clear
|
.PHONY: demo clear
|
||||||
|
|
||||||
demo:
|
demo:
|
||||||
mkdir -p demo/themes/coder
|
mkdir -p demo/themes/hugo-coder
|
||||||
rsync -av exampleSite/* demo
|
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
|
cd demo && hugo serve -D
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ A simple and clean blog theme for Hugo.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
**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.
|
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
|
```toml
|
||||||
baseurl = "http://www.example.com" # Hostname (and path) to the root.
|
baseurl = "http://www.example.com" # Hostname (and path) to the root.
|
||||||
title = "johndoe" # Site title.
|
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.
|
languagecode = "en" # The site’s language code used to generate RSS.
|
||||||
defaultcontentlanguage = "en" # The default content language.
|
defaultcontentlanguage = "en" # The default content language.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
baseurl = "http://www.example.com"
|
baseurl = "http://www.example.com"
|
||||||
title = "johndoe"
|
title = "johndoe"
|
||||||
|
|
||||||
theme = "coder"
|
theme = "hugo-coder"
|
||||||
|
|
||||||
languagecode = "en"
|
languagecode = "en"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user