remove i18n

This commit is contained in:
Thomas Dedek
2020-01-30 13:56:20 +01:00
parent 4bc37f2796
commit 2d16118987
4 changed files with 10 additions and 50 deletions

View File

@@ -9,18 +9,7 @@
{{ range .Params.items }}
<a href="{{ .url }}" target="_blank">
<div class="epsquare epcol{{ .cssClass }}">
<div class="eptextfunc">{{ $found := false }}
{{ range $key, $value := .title }}
{{ if eq (string $.Site.Language) $key }}
{{ $value }}
{{ $found = true }}
{{ end }}
{{ end }}
{{ if eq $found false }}
{{ .title.en }}
{{ end }}</div>
<div class="eptextfunc">{{ .title }}</div>
<div class="eptexttool">{{ .solution }}</div>
</div></a>
{{ end }}