HUGO
If/Not Statement with Multiple Conditions
support
zwbetz
February 6, 2019, 4:36pm
2
Try:
{{ if and (not (in .template "teacher")) (not (in .template "student")) }}
5 Likes
Exclude taxonomy page from sitemap
show post in topic
Related topics
Topic
Replies
Views
Activity
How to check for 'not in' in if statements?
support
20
20264
September 21, 2018
Is string one not in string two?
support
2
892
June 20, 2015
Error when multiple where condition for paginate
support
pagination
1
515
February 12, 2020
Combining conditions
support
8
441
August 19, 2023
How to write if not statement for two params
support
6
925
January 9, 2022