forked from web/portal
remove i18n
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user