hugo-theme-hyde-hyde/README.md

71 lines
2.1 KiB
Markdown
Raw Normal View History

# hyde-hyde
2014-04-26 22:25:13 +00:00
2018-01-21 14:17:19 +00:00
__`hyde-hyde`__ is a [Hugo](https://gohugo.io)'s theme derived from @spf13's [Hyde](https://github.com/spf13/hyde.git) which is in turn ported from @mdo Jekyll's [Hyde](https://github.com/poole/hyde).
2018-04-09 03:02:19 +00:00
## Notable Changes
* Restructuring/Modularising the layouts (`baseof.html`, `single.html`, `list.html` and the partials)
* Using [highlight.js](https://highlightjs.org) for highlighting code
* Using [Font-Awesome 5](https://fontawesome.com) for icons
* Using color tones inspired by [Nate Finch's blog](https://npf.io)
* Using main font [Fira-Sans](https://fonts.google.com/specimen/Fira+Sans) + fixed width font [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono)
* Adding [GraphComment](https://graphcomment.com) for replacing the built-in [Disqus](https://disqus.com)
2018-05-17 09:08:06 +00:00
A real site in action can be found [here](https://htr3n.github.io).
2014-04-26 22:25:13 +00:00
![hyde-hyde main screen](https://github.com/htr3n/hyde-hyde/blob/master/images/main.png)
2014-04-26 22:25:13 +00:00
2018-07-04 23:50:28 +00:00
![A post in hyde-hyde](https://github.com/htr3n/hyde-hyde/blob/master/images/post.png)
2014-04-26 22:25:13 +00:00
2016-07-26 12:27:07 +00:00
## Installation
2018-01-21 14:17:19 +00:00
`hyde-hyde` can be easily installed as many other Hugo's themes:
2016-07-26 12:27:07 +00:00
```sh
$ cd HUGO_SITE
# then clone hyde-hyde
$ git clone https://github.com/htr3n/hyde-hyde.git themes/hyde-hyde
# or add hyde-hyde as a submodule
$ git submodule add https://github.com/htr3n/hyde-hyde.git themes/hyde-hyde
2014-04-26 22:25:13 +00:00
```
Then indicate `hyde-hyde` as the main theme
2014-04-26 22:25:13 +00:00
* `config.toml`
2014-04-26 22:25:13 +00:00
2018-01-21 11:50:25 +00:00
```tomp
theme = "hyde-hyde"
```
2018-01-21 14:17:19 +00:00
* `config.yaml`
2014-04-26 22:25:13 +00:00
2018-01-21 11:50:25 +00:00
```yaml
theme : "hyde-hyde"
2014-04-26 22:25:13 +00:00
```
## Options
2018-01-21 14:17:19 +00:00
* `hyde-hyde` essentially inherits [all options](https://github.com/spf13/hyde#options) from Hyde.
2018-04-09 03:02:19 +00:00
## Customisations
2018-05-17 09:08:06 +00:00
* Most of the newly added customisations are in the file `hyde-hyde/static/css/custom.css`.
2018-05-17 09:08:57 +00:00
* The layouts for a single post or a list/table of content in `hyde-hyde/layouts` are modularised and can be changed easily.
2018-04-09 03:02:19 +00:00
## Author(s)
### Original Developed by Mark Otto
2014-04-26 22:25:13 +00:00
- <https://github.com/mdo>
- <https://twitter.com/mdo>
### Hugo's Hyde Ported by Steve Francia
2014-04-26 22:25:13 +00:00
- <https://github.com/spf13>
- <https://twitter.com/spf13>
### Color Theme Inspired By
* [Nate Finch's blog](https://npf.io)
2014-04-26 22:25:13 +00:00
## License
Open sourced under the [MIT license](LICENSE.md).