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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictoria Drake <hello@victoria.dev>2020-12-31 15:56:23 +0300
committerVictoria Drake <hello@victoria.dev>2020-12-31 15:56:23 +0300
commit2932037152a30e5542e947122ece0a26f148091b (patch)
tree14eef7ad735b365fc58d87ff5b2749986ad5b845 /exampleSite
parentfe776a91c87ffb4adb4cea6abec0f3d4fa05b1b9 (diff)
Update docs and config.tomlv5.0.0
- Add instructions for Contact section clock and Plausible - Update README and Theme Features post Close #273
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml3
-rw-r--r--exampleSite/content/en/blog/configuration.md26
-rw-r--r--exampleSite/content/en/home/contact.md2
-rw-r--r--exampleSite/resources/_gen/assets/sass/sass/style.sass_7642ba43b3212fd7d7ba324df3b88b0c.content14
4 files changed, 31 insertions, 14 deletions
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.
+
+<details><summary>Here are all the options included in the configuration file for this example site!</summary>
+
+```toml
+{{% md %}}
+{{< readfile file="config.toml" >}}
+{{% /md %}}
+```
+
+</details>
+
## 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; }