Files
hugo/hugolib
Bjørn Erik Pedersen 61317821e4 tpl: Narrow down the usage of plain text shortcodes when rendering HTML
After this commit, if you want to resolve `layouts/_shortcodes/myshortcode.txt` when rendering HTML content, you need to use the `{{%` shortcode delimiter:

```
{{% myshortcode %}}
```

This should be what people would do anyway, but we have also as part of this improved the error message to inform about what needs to be done.

Note that this is not relevant for partials.

Fixes #13698
2025-05-18 12:48:24 +02:00
..
2025-04-24 10:19:17 +02:00
2025-02-26 15:10:28 +01:00
2025-02-26 11:44:25 +01:00
2024-01-28 23:14:09 +01:00
2025-04-24 10:19:17 +02:00
2024-02-28 19:26:55 +01:00
2024-12-12 21:43:17 +01:00
2025-04-24 10:19:17 +02:00
2024-08-05 19:23:53 +02:00
2025-04-10 11:07:19 +02:00
2025-04-09 20:15:40 +02:00
2024-06-23 11:25:47 +02:00
2025-02-26 11:44:25 +01:00