considering {{- $map := dict "V" "bascule" "OR" "overline" -}}
has only tested negative with strings like [sdfsd](V). I read the definition and don’t understand how it works.
With page .params
Keys have to be all lowercase (see collections.IsSet and the example/warning)
guess render-hooks, list templates shortcode parameters count in here except if for dictes passed.
With a map:
Keys have to be same case as in definition
mmh, that’s behaving different (map == dict ↔ collection ???)
p.s. always good if text, and code of an issue match each other
<tl;tr>
have a look at the results (code in hidden details below)
Page front matter (.Params)
title = "Hello World"
[params]
V = "bascule"
OR = "overline"
Map definition
$map := dict "V" "bascule" "OR" "overline"
Results
WARN map V -> true
WARN map v -> false
WARN map OR -> true
WARN map or -> false
WARN map Or -> false
WARN map .y -> false
WARN map .Y -> false
WARN map oops -> false
WARN param V -> false
WARN param v -> true
WARN param OR -> false
WARN param or -> true
WARN param Or -> false
WARN param title -> true
WARN param Title -> false
WARN param oops -> false