HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.19k stars 2.9k forks source link

Aside shortcode not working with markup org as described in the docs #1584

Closed janmasrovira closed 4 years ago

janmasrovira commented 4 years ago

Describe the bug

Aside shortcodes do not work when using org as the markup language as described in the documentation.

To Reproduce

Create or edit a post that uses org as the markup language and add the following shortcode:

{{% alert note %}}
Some note.
{{% /alert %}}

You will see that it is not properly displayed. However, if you use the following syntax for the shortocde, it works:

{{< alert note >}}
Some note.
{{< /alert >}}

So I assume that updating the documentation should be enough.

Technical details:

gcushen commented 4 years ago

Hugo has two different approaches to shortcodes - each have their nuances. The approach in the Academic docs works perfectly fine without using the org plugin. Please refer to the Hugo docs and forums for info and consider raising the issue with the creator of your org plugin.

If you feel adding info on org to the Academic docs would be helpful, then please click Edit Page at the bottom of the relevant page and add your contribution.