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
5186
March 2, 2015
Template detection of content shortcode
support
4
608
December 31, 2017
DRYer shortcodes
6
764
October 24, 2018
Mutliple Shortcodes on the Same Page?
support
5
1292
November 12, 2015
Best practice for short-circuit if statements?
support
2
1036
April 27, 2017