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
20881
September 21, 2018
Is string one not in string two?
support
2
896
June 20, 2015
Template if statemens with or operators and pipes not working
support
3
295
August 23, 2020
Using "or" with "where"
support
9
1235
February 8, 2018
NOT IN array
support
2
357
April 16, 2019