Disqus support, exampleSite preview through make commando (#16)

* Added disqus support

* reformatted README

* Updated example config

* Added a make demo command to easy run the exampleSite.
Also good for developing new features but don`t want to setup a
different project for it

* Updated readme

* Working on my .md skillsw
This commit is contained in:
Maikel
2018-05-01 20:59:02 +02:00
committed by Luiz F. A. de Prá
parent 0f2bd0c0a6
commit 826fa2ee18
5 changed files with 41 additions and 4 deletions

View File

@@ -54,6 +54,9 @@ theme = "coder" # set the theme
url = "/about/"
```
You can look at full working [`config.toml`](https://github.com/luizdepra/hugo-coder/blob/master/exampleSite/config.toml) inside the [exampleSite](https://github.com/luizdepra/hugo-coder/tree/master/exampleSite) folder.
### Build & Test
@@ -69,10 +72,20 @@ To build your site and test, run:
```
hugo server
```
To preview the exampleSite, run
```
make demo
```
The above command copies current state of the theme to exampleSite/themes and starts hugo with hugo serve -D (Go does not support Symlink directories)
### Disqus
dd the following line to your config,
```disqusShortname = "yourdiscussshortname"``` When this is set, all posts are disqus enabled
You can disable comments for a post by adding the following to your page meta data.
```disable_comments: true```
## To Do
- Comments (probably not Disqus, sorry)
- Tags, Categories and Series
## License