No trolling. A genuine question. I thought the info provided would suffice.
I came across this post with the following code snippet: Exclude term from being displayed in array
{{ $exclude := slice "London" "Berlin" }}
{{ range .Params.locations }}
{{ $location := . }}
{{ with not (in $exclude . ) }}
<li>
<a href="{{ $location | urlize }}" title="{{ $location }}">{{ $location }}</a>
</li>
{{ end }}
{{ end }}
I have adapted it to my project, like so:
{{range where .Site.RegularPages "Type" "not in" (slice "catalog) }}
...
...
{{ $exclude := slice "London" "Berlin" }}
{{ range .Params.locations }}
{{ $location := . }}
{{ with not (in $exclude . ) }}
{{ $location }}
{{ end }}
{{ end }}
{{end }}
.Params.locations
is an array, like so ["New York", "London"]