From 289a3f456e771194cc18606051f113962f7e86c1 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Sat, 7 Mar 2020 18:47:16 +0100 Subject: Add portable links, requires hugo 0.62 --- exampleSite/config.toml | 6 ++++++ exampleSite/config.yaml | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'exampleSite') 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 -- cgit v1.2.3