diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c05a72f..53963ec 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -36,6 +36,24 @@ {{ .Content }} + {{/* Essential reading: link to the layered-protection pillar on every article except itself */}} + {{ if ne .Params.translationKey "layers-of-protection" }} + {{ $lang := .Page.Language.Lang }} + {{ $layers := where (where .Site.AllPages "Params.translationKey" "layers-of-protection") "Lang" $lang }} + {{ with index $layers 0 }} + + {{ end }} + {{ end }} + {{ if or .NextInSection .PrevInSection }}