diff --git a/layouts/guides/landing.html b/layouts/guides/landing.html index f71aaea09191..0babce61b196 100644 --- a/layouts/guides/landing.html +++ b/layouts/guides/landing.html @@ -41,38 +41,42 @@
Tags
{{- range $name, $data := site.Data.tags }} - {{- $id := anchorize (fmt.Printf "tag-%s" $name) }} -
- - -
+ {{- if where $.Pages "Params.tags" "intersect" (slice $name) }} + {{- $id := anchorize (fmt.Printf "tag-%s" $name) }} +
+ + +
+ {{- end }} {{ end }}
Languages
{{- range $name, $data := site.Data.languages }} - {{- $id := anchorize (fmt.Printf "lang-%s" $name) }} - + {{- if where $.Pages "Params.languages" "intersect" (slice $name) }} + {{- $id := anchorize (fmt.Printf "lang-%s" $name) }} + + {{- end }} {{ end }}
@@ -240,7 +244,7 @@

-
+
{{- with .Params.languages }} {{ partial "guide-languages.html" . }} {{- end }}