diff options
-rw-r--r-- | layouts/shortcodes/anchor.html | 5 | ||||
-rw-r--r-- | theme.toml | 2 |
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 -}} @@ -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" |