diff options
-rw-r--r-- | layouts/shortcodes/anchor.html | 3 |
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 -}} |