mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
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:
committed by
Luiz F. A. de Prá
parent
0f2bd0c0a6
commit
826fa2ee18
17
README.md
17
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user