{{ if or (.HasShortcode “s1”) (.HasShortcode “s2”) }}
bep
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| CSS Inline | 12 | 442 | October 18, 2025 | |
| How to conditionally use reusable paragraph/snippet/shortcode within reusable content/page? | 3 | 780 | September 1, 2022 | |
| Shortcode failing with nested {{ if }} | 2 | 675 | January 8, 2022 | |
| Template detection of content shortcode | 4 | 664 | December 31, 2017 | |
| Is it possible to add hugo if conditionals in scss files? | 3 | 632 | January 22, 2023 |