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