Added showFlags parameter
This commit is contained in:
parent
9e5b1426e3
commit
5940a4ea5e
4 changed files with 24 additions and 15 deletions
|
@ -20,5 +20,10 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{/* if specified via "params.showFlags" field, then countryCode is set to be empty. */}}
|
||||
{{ if eq site.Params.showFlags false }}
|
||||
{{ $countryCode = "" }}
|
||||
{{ end }}
|
||||
|
||||
{{/* return the country code */}}
|
||||
{{ return $countryCode }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue