<div class="container">
<div class="row">
<div class="col-sm-9">
{{ if not .IsHome }}
<h2 class="display-6">{{ .Params.Name }}</h2>
{{ else }}
<h2 class="display-6">{{ i18n "pricing-info" . }}</h2>
{{ end }}
<p class="lead">
{{ .Params.Description }}
</p>
</div>
<div class="col-sm-3" style="display: flex; align-items: center;">
<img src="{{ printf "https://%s" .Params.LargeImg }}" alt="{{ .Params.Name }} logo" width="43%">
</div>
</div>
</div>
Now, when in the default English language, everything works fine, but when I switch to German, those {{ .Params.something }} doesn’t show.
Note I’m rebuilding pages from an API and mounting them to the directories:
[module]
[[module.mounts]]
source = 'prebuild/public/product'
target = 'content'
lang = 'en'
[[module.mounts]]
source = 'prebuild/public/product'
target = 'content/de'
lang = 'de'