X-Git-Url: http://njoseph.me/gitweb/hyde.git/blobdiff_plain/01dd84d129fc59c60b431dbd7047fdd0d06f3237..HEAD:/README.md diff --git a/README.md b/README.md index e318520..04d9654 100644 --- a/README.md +++ b/README.md @@ -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) @@ -22,6 +23,16 @@ It pairs a prominent sidebar with uncomplicated content. ## Installation +### Quick Start + +To give you a running start this installation puts a fully configured [starter repo](https://github.com/forestryio/hyde-hugo-starter) into your Git account and sets it up in a content manager / CMS. + +_[Forestry](https://forestry.io) Starter-Kit:_ + +[![Import this project into Forestry](https://assets.forestry.io/import-to-forestry.svg)](https://app.forestry.io/quick-start?repo=forestryio/hyde-hugo-starter&provider=github&engine=hugo&version=0.49) + +### Standard Installation + To install Hyde as your default theme, first install this repository in the `themes/` directory: $ cd themes/ @@ -119,18 +130,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