fix-evento-lettura-tiraboschi #366

Closed
amreo wants to merge 4 commits from amreo:fix-evento-lettura-tiraboschi into main
5 changed files with 39 additions and 2 deletions

View File

@ -9,6 +9,10 @@ image_alt: "Image of the event with, in the background, an open book on the side
summary: On Saturday 15 February at 16:00, the Tiraboschi Library in Bergamo will host a reading of the book Ada and Zangemann, followed by the construction of a paper circuit. summary: On Saturday 15 February at 16:00, the Tiraboschi Library in Bergamo will host a reading of the book Ada and Zangemann, followed by the construction of a paper circuit.
grouping: grouping:
- homepage - homepage
location_link: "[Biblioteca Tiraboschi](https://biblioteche.comune.bergamo.it/library/Biblioteca-civica-Antonio-Tiraboschi/)"
locations: "biblioteca-tiraboschi"
location_ics: Biblioteca Tiraboschi di Via San Bernardino, 74, Bergamo
--- ---
📖 **Educational-training activity "They are young + they need code" at the Tiraboschi library (BG) - second edition** 📖 **Educational-training activity "They are young + they need code" at the Tiraboschi library (BG) - second edition**
@ -48,7 +52,7 @@ The library does not have an internal car park. Click below on the openstreetmap
🪧 **Official poster** 🪧 **Official poster**
![Official event poster](locandina-evento-2025-02-15.png) {{< img src="locandina-evento-2025-02-15.png" alt="Official event poster" author="Tiraboschi Library" license-text="CC0" license-url="creativecommons.org/publicdomain/zero/1.0/deed.en" >}}
[Also in PDF format](locandina-evento-2025-02-15.pdf) [Also in PDF format](locandina-evento-2025-02-15.pdf)
📒 **Contacts** 📒 **Contacts**

View File

@ -9,6 +9,11 @@ image_alt: "Immagine dell'evento con, sullo sfondo, un libro aperto lateralmente
summary: Sabato 15 febbraio alle ore 16:00, presso la Biblioteca Tiraboschi di Bergamo, si terrà la lettura del libro Ada e Zangemann, seguita dalla costruzione di un paper circuit. summary: Sabato 15 febbraio alle ore 16:00, presso la Biblioteca Tiraboschi di Bergamo, si terrà la lettura del libro Ada e Zangemann, seguita dalla costruzione di un paper circuit.
grouping: grouping:
- homepage - homepage
add_to_ics: true
duration: 1h30m
location_link: "[Biblioteca Tiraboschi](https://biblioteche.comune.bergamo.it/library/Biblioteca-civica-Antonio-Tiraboschi/)"
locations: "biblioteca-tiraboschi"
location_ics: Biblioteca Tiraboschi di Via San Bernardino, 74, Bergamo
--- ---
📖 **Attività didattica-formativa "Sono giovani + hanno bisogno di codice" alla biblioteca Tiraboschi (BG) - seconda edizione** 📖 **Attività didattica-formativa "Sono giovani + hanno bisogno di codice" alla biblioteca Tiraboschi (BG) - seconda edizione**
@ -47,7 +52,7 @@ La biblioteca non dispone di un parcheggio interno. Clicca qui sotto la mappa di
🪧 **Locandina ufficiale** 🪧 **Locandina ufficiale**
![Locandina ufficiale dell'evento](locandina-evento-2025-02-15.png) {{< img src="locandina-evento-2025-02-15.png" alt="Locandina ufficiale dell'evento" author="Biblioteca Tiraboschi" license-text="CC0" license-url="creativecommons.org/publicdomain/zero/1.0/deed.it" >}}
[Anche in formato PDF](locandina-evento-2025-02-15.pdf) [Anche in formato PDF](locandina-evento-2025-02-15.pdf)
📒 **Contatti** 📒 **Contatti**

View File

@ -11,3 +11,5 @@ come_and_see_us: Come and see us
where: Where where: Where
more_tags: "...more" more_tags: "...more"
editions: Editions editions: Editions
source: Source
author: Author

View File

@ -11,3 +11,5 @@ come_and_see_us: Vieni a trovarci
where: Dove siamo where: Dove siamo
more_tags: "...altro" more_tags: "...altro"
editions: Edizioni editions: Edizioni
source: Fonte
author: Autore

View File

@ -0,0 +1,24 @@
<div>
<img src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" title="{{ .Get "title" }}">
<figcaption>
{{ if strings.HasPrefix (.Get "source") "http" }}
<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">🛈 {{ T "source" }}: {{ .Get "source" }}</small>
{{ end }}
{{ if ne (.Get "author") "" }}
<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">📄 {{ T "license" }}: <a href="{{ .Get "license-url" }}" target="_blank">{{ .Get "license-text" }}</a></small>
{{ else }}
<small class="image-source">📄 {{ T "license" }}: {{ .Get "license-text" }}</small>
{{ end }}
{{ end }}
</figcaption>
</div>