forked from BgLUG/bglug.it
Aggiunta traduzione in italiano e inglese
This commit is contained in:
parent
43b181fd91
commit
8d3f758755
@ -11,3 +11,5 @@ come_and_see_us: Come and see us
|
||||
where: Where
|
||||
more_tags: "...more"
|
||||
editions: Editions
|
||||
source: Source
|
||||
author: Author
|
@ -11,3 +11,5 @@ come_and_see_us: Vieni a trovarci
|
||||
where: Dove siamo
|
||||
more_tags: "...altro"
|
||||
editions: Edizioni
|
||||
source: Fonte
|
||||
author: Autore
|
@ -2,22 +2,22 @@
|
||||
<img src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" title="{{ .Get "title" }}">
|
||||
|
||||
{{ if strings.HasPrefix (.Get "source") "http" }}
|
||||
<small class="image-source">🛈 Fonte: <a href="{{ .Get "source" }}" target="_blank">{{ .Get "source" }}</a></small>
|
||||
<small class="image-source">🛈 {{ T "source" }}: <a href="{{ .Get "source" }}" target="_blank">{{ .Get "source" }}</a></small>
|
||||
{{ else if ne (.Get "source") "" }}
|
||||
<small class="image-source">🛈 Fonte: {{ .Get "source" }}</small>
|
||||
<small class="image-source">🛈 {{ T "source" }}: {{ .Get "source" }}</small>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ if ne (.Get "author") "" }}
|
||||
<small class="image-source">🧑🎨 Autore: {{ .Get "author" }}</small>
|
||||
<small class="image-source">🧑🎨 {{ T "author" }}: {{ .Get "author" }}</small>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ if ne (.Get "license-text") "" }}
|
||||
{{ if strings.HasPrefix (.Get "license-url") "http" }}
|
||||
<small class="image-source">📄 Licenza: <a href="{{ .Get "license-url" }}" target="_blank">{{ .Get "license-text" }}</a></small>
|
||||
<small class="image-source">📄 {{ T "license" }}: <a href="{{ .Get "license-url" }}" target="_blank">{{ .Get "license-text" }}</a></small>
|
||||
{{ else }}
|
||||
<small class="image-source">📄 Licenza: {{ .Get "license-text" }}</small>
|
||||
<small class="image-source">📄 {{ T "license" }}: {{ .Get "license-text" }}</small>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</figcaption>
|
Loading…
x
Reference in New Issue
Block a user