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.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/shortcodes/anchor.html b/layouts/shortcodes/anchor.html
index 7cb4dcd..03949bc 100644
--- a/layouts/shortcodes/anchor.html
+++ b/layouts/shortcodes/anchor.html
@@ -2,3 +2,6 @@
{{ with .Site.GetPage "page" $page_path }}
#{{ .Params.anchor }}
{{ end -}}
+{{ with .Site.GetPage "section" $page_path }}
+ #{{ .Params.anchor }}
+{{ end -}}