blob: 1a03c13f2e30426f673277734cbfd99632247e10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Dopetrope
Dopetrope theme ported from [HTML5 UP](https://html5up.net/) for use with the [Hugo static site generator](https://gohugo.io/).
Theme includes ability for:
- Portfolio items
- Blog posts
![](images/device-screenshots.png)
## Demo
https://curttimson.github.io/hugo-theme-dopetrope/
## Setup
### Configuration
See the demo's configuration as an example:
https://github.com/curttimson/hugo-theme-dopetrope/blob/master/exampleSite/config-prod.toml
### Blog Comments
Blog comments are supported by Disqus. Once set up comments will be displayed on the blog posts as well as a count on the homepage.
If not set up already, create a Disqus account and enter the account name in the `config.toml` file:
```
[params.settings]
disqus = "hugo-dopetrope"
```
To display comments on a post a unique ID will need to be added to the specific blog posts. Enter these IDs in the front-matter of the post files themselves:
```
disqusid = "1"
```
### Cover Image
The cover image URL is hard-coded, therefore to replace this add an image to the following location in your Hugo application:
```
/static/images/pic01.jpg
```
## Development
### Example Site Deployment
```
$ hugo --config config-prod.toml
$ gulp deploy
```
## Original Theme Credits
- [Dopetrope by HTML5 UP](https://html5up.net/dopetrope)
## License
This hugo theme is licensed under the [Creative Commons Attribution 3.0 License](https://creativecommons.org/licenses/by/3.0/).
Read More - [LICENSE.md](LICENSE.md)
|