summaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-03-07 18:47:16 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-03-07 18:47:16 +0100
commit289a3f456e771194cc18606051f113962f7e86c1 (patch)
tree631d2b9506d0ac46c292e73738fc814bfd99b053 /exampleSite
parentc217876059161cf6b89a114425116c65c89fba0c (diff)
Add portable links, requires hugo 0.62
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml6
-rw-r--r--exampleSite/config.yaml6
2 files changed, 12 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 65c9f0e..810ceab 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -90,3 +90,9 @@ enableGitInfo = true
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookComments = true
+
+ # /!\ This is an experimental feature, might be removed or changed at any time
+ # (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
+ # Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
+ # Theme will print warning if page referenced in markdown does not exists.
+ BookPortableLinks = true
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml
index 3c9cb45..f7f3bc2 100644
--- a/exampleSite/config.yaml
+++ b/exampleSite/config.yaml
@@ -86,3 +86,9 @@ params:
# See https://gohugo.io/content-management/comments/#configure-disqus
# Can be overwritten by same param in page frontmatter
BookComments: true
+
+ # /!\ This is an experimental feature, might be removed or changed at any time
+ # (Optional, experimental, default false) Enables portable links and link checks in markdown pages.
+ # Portable links meant to work with text editors and let you write markdown without {{< relref >}} shortcode
+ # Theme will print warning if page referenced in markdown does not exists.
+ BookPortableLinks: true