HUGO
Use conditional for css style with shortcode
support
bep
July 8, 2020, 10:05am
2
{{ if or (.HasShortcode “s1”) (.HasShortcode “s2”) }}
show post in topic
Related topics
Topic
Replies
Views
Activity
Conditional .Inner logic for shortcodes
support
11
5181
March 2, 2015
Template detection of content shortcode
support
4
606
December 31, 2017
DRYer shortcodes
6
763
October 24, 2018
Mutliple Shortcodes on the Same Page?
support
5
1282
November 12, 2015
Best practice for short-circuit if statements?
support
2
1033
April 27, 2017