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

github.com/google/docsy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Earnshaw <aearnshaw@axway.com>2020-02-19 14:18:35 +0300
committerAlex Earnshaw <aearnshaw@axway.com>2020-02-19 14:18:35 +0300
commitbf92ce6ae94af4b5cd24ab1c54feabe860ef93ef (patch)
treec241407be8c2c9a3afe1d6bd15e32796964b328e /userguide/config.toml
parent2815ec5c5a41a561dc6e84cea2f4c9c532f1e401 (diff)
Add reading time:
* Add new reading time partial * Add conditional block for reading time in content layout * Add new config param in userguide config.toml * Remove reading time from specific page using front matter field
Diffstat (limited to 'userguide/config.toml')
-rw-r--r--userguide/config.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/userguide/config.toml b/userguide/config.toml
index e0a3b23..868f9f0 100644
--- a/userguide/config.toml
+++ b/userguide/config.toml
@@ -149,6 +149,12 @@ enable = true
yes = 'Glad to hear it! Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'
no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we can improve</a>.'
+# Adds a reading time to the top of each doc.
+# If you want this feature, but occasionally need to remove the Reading time from a single page,
+# add "hide_readingtime: true" to the page's front matter
+[params.ui.readingtime]
+enable = true
+
[params.links]
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
[[params.links.user]]