Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-16 20:08:59 +0300
committerJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-16 20:08:59 +0300
commitcf5419e1ab71bae5af979d716bea47777ebdc961 (patch)
tree70793cfb733f5a49ae43f04f29a516c3034c0700
parente44ec5a441c2ca8d09982efa49f6eb403807bfc4 (diff)
update readme, line space
-rw-r--r--README.md29
-rw-r--r--layouts/_default/baseof.html1
2 files changed, 14 insertions, 16 deletions
diff --git a/README.md b/README.md
index 7260973..b33004b 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,13 @@
This is a Hugo port of WordPress's Twenty Nineteen theme.
+## Highlights
+
+- Accent color configurable via config.toml
+- Featured images and image filter effect works
+- Social menu icons all ported using Hugo's built-in menus
+- Syntax highlighting included with the Monokai Light syntax theme
+
## Installation
From the root of your site:
@@ -18,13 +25,6 @@ From the root of your site:
`git submodule update --remote --merge`
-## Highlights
-
-- Accent color configurable via config.toml
-- Featured images and image filter effect works
-- Social menu icons all ported using Hugo's built-in menus
-- Syntax highlighting included with the Monokai Light syntax theme
-
## Differences from original theme
- Comment stuff has been omitted
@@ -35,21 +35,18 @@ From the root of your site:
- To set a featured image for a post or page, add `image: /path/to/image.jpg` to your frontmatter.
-
-## Available `config.toml` params
+## Available Site Params
-These go in `config.toml` in a `[params]` section like this:
+Some theme features can be configured in `config.toml`. Here are the options:
```toml
[params]
- accent_color = "#FF0000"
- description = "This is the site tagline."
+ accent_color = "#FF0000" # Set a custom accent color for links and image filters, if enabled. Defaults to blue.
+ description = "This is the site tagline." # Adds tagline next to the site title.
+ privacy_link = "/privacy/" # Relative URL to privacy page, if there is one. This enables a Privacy Policy link in the footer. The link doesn't display if this isn't specified.
+ disable_image_filters = false # Setting to true disables the color filter feature on images. Defaults to false.
```
-- `accent_color = "#FF0000"` Set a custom accent color for links and image filters, if enabled. Defaults to blue.
-- `privacy_link = "/privacy/"` Relative URL to privacy page, if there is one. This enables a Privacy Policy link in the footer.
-- `description = "This is the site tagline."` Adds tagline next to the site title.
-- `disable_image_filters = false` Setting to true disables the color filter feature on images. Defaults to false.
-
## Syntax Highlighting
Add pygments config to your `config.toml`:
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 1302283..528d3e0 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -49,6 +49,7 @@
{{ block "footer_scripts" . }}
<!-- Optional footer scripts. -->
{{ end }}
+
{{ partial "google-analytics-async.html" . }}
</body>
</html> \ No newline at end of file