diff options
author | Alan Pearce | 2018-06-17 19:23:18 +0200 |
---|---|---|
committer | Alan Pearce | 2018-06-17 19:23:18 +0200 |
commit | 743253f995d352f51fc7b7681948b20c79609060 (patch) | |
tree | e7992e69cff8aabd1f8c3e571a74d6ecbb130477 /README.md | |
parent | 61b24805867fc6d2aa67ede189d43faf86220ad4 (diff) | |
parent | 8cab2d27e2b7727e632d817dbdd41a97cc99af00 (diff) | |
download | hyde-743253f995d352f51fc7b7681948b20c79609060.tar.lz hyde-743253f995d352f51fc7b7681948b20c79609060.tar.zst hyde-743253f995d352f51fc7b7681948b20c79609060.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/README.md b/README.md index 45ee21f..d8cb82c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Hyde -Hyde is a brazen two-column [hugo](http://hugo.spf13.com) theme based on the [Jekyll](http://jekyllrb.com) theme of the same name. +Hyde is a brazen two-column [hugo](https://gohugo.io) theme based on the [Jekyll](http://jekyllrb.com) theme of the same name. It pairs a prominent sidebar with uncomplicated content. ![Hyde screenshot](https://f.cloud.github.com/assets/98681/1831228/42af6c6a-7384-11e3-98fb-e0b923ee0468.png) @@ -15,6 +15,7 @@ It pairs a prominent sidebar with uncomplicated content. - [Themes](#themes) - [Reverse layout](#reverse-layout) - [Disqus](#disqus) + - [Google Analytics](#google-analytics) - [Author](#author) - [Ported by](#ported-by) - [License](#license) @@ -119,18 +120,33 @@ params: ### Disqus -You can optionally enable a comment system powered by Disqus for the posts. Simply add the variable `disqusShortname` to the `params` in your config file. +You can optionally enable a comment system powered by Disqus for the posts. Simply add the variable `disqusShortname` to your config file. **TOML** ```toml -[params] - disqusShortname = "spf13" +disqusShortname = "spf13" ``` **YAML** ```yaml -params: - disqusShortname: "spf13" +disqusShortname : spf13 +``` + +> **Note:** Previous version 1.0 the Disqus shortname had to be defined inside the `[params]` block. + + +## Google Analytics + +Google Analytics can be enabled by assigning your tracking code to the `googleAnalytics` variable in the config file: + +**TOML** +```toml +googleAnalytics = "Your tracking code" +``` + +**YAML** +```yaml +googleAnalytics: Your tracking code ``` ## Author |