diff options
Diffstat (limited to 'layouts/shortcodes/aside.html')
-rw-r--r-- | layouts/shortcodes/aside.html | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/layouts/shortcodes/aside.html b/layouts/shortcodes/aside.html index 601e50b..352a191 100644 --- a/layouts/shortcodes/aside.html +++ b/layouts/shortcodes/aside.html @@ -1,10 +1,3 @@ -{{ $_hugo_config := `{ "version": 1 }` }} -<!-- -Ok, so - see this: https://gohugo.io/content-management/shortcodes/#shortcodes-with-markdown -The outcome is that by default, accessing .Inner returns the Markdown. Because we're putting it -inside a div, it doesn't get rendered later. So we restore the old behaviour, which renders -everything to HTML as a first step (but apparently breaks the TOC functionality). ---> -<div class="aside look-sheet-always"> +<aside class="article-aside look-sheet-border"> {{- .Inner -}} -</div> +</aside> |