hugo-theme-hyde-hyde/README.md

76 lines
2.8 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
2018-07-10 01:41:30 +00:00
* Color tones and layouts are inspired by [Nate Finch's blog](https://npf.io)
2018-07-07 00:14:01 +00:00
* Restructuring/modularising the layouts (see [`layouts/_default/baseof.html`](https://github.com/htr3n/hyde-hyde/blob/master/layouts/_default/baseof.html), [`layouts/_default/single.html`](https://github.com/htr3n/hyde-hyde/blob/master/layouts/_default/single.html), [`layouts/_default/list.html`](https://github.com/htr3n/hyde-hyde/blob/master/layouts/_default/list.html) and [`layouts/partials`](https://github.com/htr3n/hyde-hyde/blob/master/layouts/partials/))
2018-07-10 01:41:30 +00:00
* Using [highlight.js](https://highlightjs.org) for code highlighting
* Using [Font-Awesome 5](https://fontawesome.com)'s icons
2018-04-09 03:02:19 +00:00
* 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-07-10 01:41:30 +00:00
A real site in action can be found [here](https://htr3n.github.io) with its [WIP source](https://github.com/htr3n/htr3n-blog) for reference.
2014-04-26 22:25:13 +00:00
Some screenshots:
![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 choose `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
```
That's all. You can render your site using `hugo` and see the template in action.
## 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-07-07 00:14:01 +00:00
* Most of the newly added customisations are in the file [`hyde-hyde/static/css/hyde-hyde.css`](https://github.com/htr3n/hyde-hyde/blob/master/static/css/hyde-hyde.css).
* The layouts for a single post or a list/table of content in [`hyde-hyde/layouts`](https://github.com/htr3n/hyde-hyde/blob/master/layouts) are modularised and can be changed easily.
2018-04-09 03:02:19 +00:00
## Author(s)
2018-07-07 00:14:01 +00:00
### 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).