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

github.com/jsnjack/kraiklyn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/shortcodes/anchor.html5
-rw-r--r--theme.toml2
2 files changed, 2 insertions, 5 deletions
diff --git a/layouts/shortcodes/anchor.html b/layouts/shortcodes/anchor.html
index 03949bc..c4d1670 100644
--- a/layouts/shortcodes/anchor.html
+++ b/layouts/shortcodes/anchor.html
@@ -1,7 +1,4 @@
{{ $page_path := .Get 0 -}}
-{{ with .Site.GetPage "page" $page_path }}
- #{{ .Params.anchor }}
-{{ end -}}
-{{ with .Site.GetPage "section" $page_path }}
+{{ with .Site.GetPage $page_path }}
#{{ .Params.anchor }}
{{ end -}}
diff --git a/theme.toml b/theme.toml
index ee3f53e..229ddf3 100644
--- a/theme.toml
+++ b/theme.toml
@@ -8,7 +8,7 @@ description = "A theme for a simple one page documentation"
homepage = "https://github.com/jsnjack/kraiklyn/"
tags = ["one page", "docs", "documentation", "simple", "minimalistic"]
features = []
-min_version = "0.33"
+min_version = "0.45"
[author]
name = "Yauhen Shulitski"