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