From 2932037152a30e5542e947122ece0a26f148091b Mon Sep 17 00:00:00 2001 From: Victoria Drake Date: Thu, 31 Dec 2020 07:56:23 -0500 Subject: Update docs and config.toml - Add instructions for Contact section clock and Plausible - Update README and Theme Features post Close #273 --- exampleSite/config.toml | 3 ++- exampleSite/content/en/blog/configuration.md | 26 ++++++++++++---------- exampleSite/content/en/home/contact.md | 2 +- ...e.sass_7642ba43b3212fd7d7ba324df3b88b0c.content | 14 ++++++++++++ 4 files changed, 31 insertions(+), 14 deletions(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8dba7d0..76aed02 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,7 +5,7 @@ DefaultContentLanguage = "en" # Default language fo # googleAnalytics = "" # https://gohugo.io/templates/internal/#google-analytics [params] - themeStyle = "light" # Choose "light" or "dark" or "auto" + themeStyle = "auto" # Choose "light" or "dark" or "auto" favicon = "/img/fav.ico" # Path to favicon file showRSSButton = false # Show rss button in navigation fadeIn = true # Turn on/off the fade-in effect @@ -14,6 +14,7 @@ DefaultContentLanguage = "en" # Default language fo email = "youremail@email.com" # E-mail address for contact section # customCSS = ["foo.css"] # Include custom css files placed under assets/ # customJS = ["foo.js"] # Include custom JavaScript files placed under assets/ + # plausible = true # Use Plausible analytics (requires an account at Plausible.io) # Configure the home page [params.home] diff --git a/exampleSite/content/en/blog/configuration.md b/exampleSite/content/en/blog/configuration.md index 148823e..3a20faa 100644 --- a/exampleSite/content/en/blog/configuration.md +++ b/exampleSite/content/en/blog/configuration.md @@ -7,6 +7,20 @@ series: ["quickstart"] Here are some helpful tips for setting up this theme. +## Configuration + +Most of what you'll want to configure is demonstrated in the exampleSite `config.toml`. This is [Hugo's configuration file](https://gohugo.io/getting-started/configuration/). You can copy the `config.toml` in the `exampleSite/` to your site root get started. + +
Here are all the options included in the configuration file for this example site! + +```toml +{{% md %}} +{{< readfile file="config.toml" >}} +{{% /md %}} +``` + +
+ ## Syntax Highlighting Introduction allows the use of Hugo's rich built-in syntax highlighting capabilities. See [Syntax Highlighting](https://gohugo.io/content-management/syntax-highlighting/) in the Hugo docs. @@ -45,15 +59,3 @@ defaultMarkdownHandler = "goldmark" [markup.goldmark.renderer] unsafe = true ``` - -## Configuration - -Introduction can be easily configured using [Hugo's configuration file](https://gohugo.io/getting-started/configuration/). You can copy the `config.toml` in the `exampleSite/` to your site root get started. - -Here are all the options included in the configuration file for this example site! - -```toml -{{% md %}} -{{< readfile file="config.toml" >}} -{{% /md %}} -``` diff --git a/exampleSite/content/en/home/contact.md b/exampleSite/content/en/home/contact.md index 7b5d8c0..b940155 100644 --- a/exampleSite/content/en/home/contact.md +++ b/exampleSite/content/en/home/contact.md @@ -4,4 +4,4 @@ title: "Contact" In the Contact section of **Introduction**, you may optionally display the current time in your preferred timezone. -This lets visitors know what sort of response time to expect when they contact you. The timezone is easily set in the `config.toml` file. +This lets visitors know what sort of response time to expect when they contact you. The timezone is easily set in the `config.toml` file. See the exampleSite configuration for instructions. diff --git a/exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content b/exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content index ac39347..4418c9a 100644 --- a/exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content +++ b/exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content @@ -7929,6 +7929,20 @@ hr { background-color: #dbdbdb; height: 1px; } +details { + padding: .5em .5em 0; } + +summary { + margin: -.5em -.5em 0; + padding: .5em; + cursor: pointer; } + +details[open] { + padding: .5em; } + +details[open] summary { + margin-bottom: .5em; } + .container { max-width: 1000px; } -- cgit v1.2.3