Bozza dell'articolo sul resoconto lettura #270
@ -32,9 +32,9 @@ jobs:
|
|||||||
sed -i "s/AbbreviatedHash\:.*$/AbbreviatedHash: ${H}/" config/_default/params.yaml
|
sed -i "s/AbbreviatedHash\:.*$/AbbreviatedHash: ${H}/" config/_default/params.yaml
|
||||||
|
|
||||||
- name: Build Hugo
|
- name: Build Hugo
|
||||||
uses: lowply/build-hugo@v0.129.0
|
run: |
|
||||||
with:
|
wget -O - https://github.com/gohugoio/hugo/releases/download/v0.135.0/hugo_extended_0.135.0_linux-amd64.tar.gz | tar zxv
|
||||||
args: --gc --minify --cleanDestinationDir
|
./hugo --gc --minify --cleanDestinationDir
|
||||||
|
|
||||||
- uses: actions/cache/save@v4
|
- uses: actions/cache/save@v4
|
||||||
if: always() # salva in cache anche se la build fallisce
|
if: always() # salva in cache anche se la build fallisce
|
||||||
|
18
config.yml
@ -10,7 +10,10 @@ copyright: 2024 © Bergamo Linux Users Group
|
|||||||
paginate: 20
|
paginate: 20
|
||||||
timeout: 1800s
|
timeout: 1800s
|
||||||
enableRobotsTXT: true
|
enableRobotsTXT: true
|
||||||
|
enableGitInfo: true
|
||||||
params:
|
params:
|
||||||
|
ics:
|
||||||
|
organizer: CN="BgLUG":MAILTO:info@bglug.it
|
||||||
description: Bergamo Linux Users Group
|
description: Bergamo Linux Users Group
|
||||||
social:
|
social:
|
||||||
- title: Mattermost
|
- title: Mattermost
|
||||||
@ -41,6 +44,10 @@ params:
|
|||||||
icon: fa-mail-bulk
|
icon: fa-mail-bulk
|
||||||
pack: solid
|
pack: solid
|
||||||
url: https://lists.linux.it/listinfo/bglug
|
url: https://lists.linux.it/listinfo/bglug
|
||||||
|
- title: Events Caledar
|
||||||
|
icon: fa-calendar-alt
|
||||||
|
pack: solid
|
||||||
|
url: https://bglug.it/it/index.ics
|
||||||
- title: Facebook
|
- title: Facebook
|
||||||
icon: fa-facebook-f
|
icon: fa-facebook-f
|
||||||
pack: brands
|
pack: brands
|
||||||
@ -209,10 +216,21 @@ languages:
|
|||||||
defaultContentLanguage: it
|
defaultContentLanguage: it
|
||||||
defaultContentLanguageInSubdir: true
|
defaultContentLanguageInSubdir: true
|
||||||
|
|
||||||
|
outputFormats:
|
||||||
|
calendar:
|
||||||
|
baseName: index
|
||||||
|
isPlainText: true
|
||||||
|
mediaType: text/calendar
|
||||||
|
noUgly: false
|
||||||
|
permalinkable: false
|
||||||
|
root: false
|
||||||
|
protocol: webcal://
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
home:
|
home:
|
||||||
- html
|
- html
|
||||||
- rss
|
- rss
|
||||||
|
- calendar
|
||||||
page:
|
page:
|
||||||
- html
|
- html
|
||||||
- rss
|
- rss
|
||||||
|
26
content/events/2024/gazebo-boccaleone/index.en.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: "Booth in Boccaleone!"
|
||||||
|
date: 2024-10-12T14:00:00+02:00
|
||||||
|
duration: 4h
|
||||||
|
publishDate: 2024-10-08T20:00:00+02:00
|
||||||
|
slug: "gazebo-boccaleone"
|
||||||
|
location_link: "[Boccaleone municipal green area and schoolyard on Gandhi Street](https://www.openstreetmap.org/node/7397291708)"
|
||||||
|
locations: boccaleone-scuola-corridoni
|
||||||
|
add_to_ics: true
|
||||||
|
type: post
|
||||||
|
image: locandina-ritagliata.png
|
||||||
|
image_alt: "Image with event title taken from the poster"
|
||||||
|
image_caption: "Credits: Gloria from [Boccaleone in rete](https://boccaleoneinrete.it/splash-un-tuffo-nelle-realta-di-boccaleone/)"
|
||||||
|
license: "Unknown"
|
||||||
|
summary: Booth at Splash 2024 in Boccaleone at 2:00 PM
|
||||||
|
tags:
|
||||||
|
- boccaleone
|
||||||
|
---
|
||||||
|
|
||||||
|
BGLUG, on the occasion of the [**Splash 2024**](https://boccaleoneinrete.it/splash-un-tuffo-nelle-realta-di-boccaleone/) event organized by the Boccaleone neighborhood network, will be present alongside [Fablab Bergamo](https://www.fablabbergamo.it/) with a booth where we will introduce ourselves.
|
||||||
|
|
||||||
|
The event will take place on Saturday, October 12, 2024, from 2:00 PM to 6:00 PM at the [municipal green area at Gandhi Street](https://www.openstreetmap.org/node/7397291708).
|
||||||
|
|
||||||
|
The event will be canceled in case of bad weather.
|
||||||
|
|
||||||
|

|
26
content/events/2024/gazebo-boccaleone/index.it.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: "Gazebo a Boccaleone!"
|
||||||
|
date: 2024-10-12T14:00:00+02:00
|
||||||
|
duration: 3h
|
||||||
|
publishDate: 2024-10-08T20:00:00+02:00
|
||||||
|
slug: "gazebo-boccaleone"
|
||||||
|
location_link: "[Area verde comunale Boccaleone e cortile scuola in via Gandhi](https://www.openstreetmap.org/node/7397291708)"
|
||||||
|
locations: boccaleone-scuola-corridoni
|
||||||
|
add_to_ics: true
|
||||||
|
type: post
|
||||||
|
image: locandina-ritagliata.png
|
||||||
|
image_alt: "Immagine con il titolo dell'evento preso dalla locandina"
|
||||||
|
image_caption: "Credits: Gloria di [Boccaleone in rete](https://boccaleoneinrete.it/splash-un-tuffo-nelle-realta-di-boccaleone/)"
|
||||||
|
license: "Sconosciuta"
|
||||||
|
summary: Gazebo al Splash 2024 a Boccaleone alle 14:00
|
||||||
|
tags:
|
||||||
|
- boccaleone
|
||||||
|
---
|
||||||
|
|
||||||
|
Il BGLUG, in occasione dell'evento [**Splash 2024**](https://boccaleoneinrete.it/splash-un-tuffo-nelle-realta-di-boccaleone/) organizzato dalla rete di quartiere di Boccaleone, sarà presente insieme a [Fablab Bergamo](https://www.fablabbergamo.it/) con un gazebo in cui presenteremo le nostre attività e ci presenteremo al quartiere.
|
||||||
|
|
||||||
|
L'evento si svolgerà sabato 12 ottobre 2024 dalle 14:00 alle 18:00 presso l'[area verde comunale presso via Gandhi](https://www.openstreetmap.org/node/7397291708).
|
||||||
|
|
||||||
|
In caso di maltempo l'evento verrà annullato.
|
||||||
|
|
||||||
|

|
BIN
content/events/2024/gazebo-boccaleone/locandina-ritagliata.png
Normal file
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 188 KiB |
BIN
content/events/2024/gazebo-boccaleone/locandina.png
Normal file
Before Width: | Height: | Size: 585 KiB After Width: | Height: | Size: 585 KiB |
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
type: section
|
|
||||||
title: Events
|
|
||||||
#description: "TODO: please fill this with a description"
|
|
||||||
sidebar_right: sidebar-eventi
|
|
||||||
---
|
|
@ -1,6 +0,0 @@
|
|||||||
---
|
|
||||||
type: section
|
|
||||||
title: Eventi
|
|
||||||
#description: "TODO: non so come descrivere la sezione eventi"
|
|
||||||
sidebar_right: sidebar-eventi
|
|
||||||
---
|
|
BIN
content/linuxday/2024/agenda/agenda.png
Normal file
Before Width: | Height: | Size: 221 KiB After Width: | Height: | Size: 221 KiB |
31
content/linuxday/2024/agenda/index.en.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
---
|
||||||
|
title: "Linux Day '24 Schedule"
|
||||||
|
date: 2024-10-26T9:00:00+02:00
|
||||||
|
publishDate: 2024-10-18T10:00:00+02:00
|
||||||
|
duration: 9h
|
||||||
|
slug: "agenda"
|
||||||
|
type: post
|
||||||
|
image: logo-linux-day.png
|
||||||
|
image_alt: Official logo of theLinux Day"
|
||||||
|
image_caption: Italian Linux Society, CC0
|
||||||
|
location_link: "[BergamoScienza](https://www.openstreetmap.org/node/12193292287)"
|
||||||
|
location_ics: Bergamo Scienza - Viale Papa Giovanni XXIII, 57 Bergamo
|
||||||
|
add_to_ics: true
|
||||||
|
locations: bergamo-scienza
|
||||||
|
summary: This year's Linux Day will be on October 26th at the Bergamo Science Center.
|
||||||
|
grouping:
|
||||||
|
- linuxday-featured
|
||||||
|
- linuxday-2024
|
||||||
|
---
|
||||||
|
|
||||||
|
## Here We Go Again This Year
|
||||||
|
|
||||||
|
The Linux Day is an extraordinary opportunity for the local community to come together and share their passion for open source. Bergamo is a beautiful and welcoming city, making it the perfect place for such an important event.
|
||||||
|
|
||||||
|
The BGLug team has organized a fantastic venue for Saturday, October 26th, in Bergamo:
|
||||||
|
|
||||||
|
* From 8:30 AM to 12:30 PM and from 2:45 PM to 5:45 PM, at the [Urban Center](https://www.openstreetmap.org/node/12193292287) – Bergamo Science Center, located at Viale Papa Giovanni XXIII, 57. It is easily accessible by public transport from the entire province and beyond, and will host talks and exhibition spaces.
|
||||||
|
|
||||||
|
The classic **installation party** will be managed by appointment directly by the BGLUG team, who will provide their expertise to help you prepare your computer. Contact us via email at [info@bglug.it](mailto:info@bglug.it).
|
||||||
|
|
||||||
|

|
33
content/linuxday/2024/agenda/index.it.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
title: "Agenda Linux Day '24"
|
||||||
|
date: 2024-10-26T9:00:00+02:00
|
||||||
|
publishDate: 2024-10-18T10:00:00+02:00
|
||||||
|
duration: 9h
|
||||||
|
slug: "agenda"
|
||||||
|
type: post
|
||||||
|
image: logo-linux-day.png
|
||||||
|
image_alt: Logo ufficiale del Linux Day"
|
||||||
|
image_caption: Italian Linux Society, CC0
|
||||||
|
location_link: "[BergamoScienza](https://www.openstreetmap.org/node/12193292287)"
|
||||||
|
location_ics: Bergamo Scienza - Viale Papa Giovanni XXIII, 57 Bergamo
|
||||||
|
add_to_ics: true
|
||||||
|
locations: bergamo-scienza
|
||||||
|
summary: Il linux day di quest'anno sarà il 26 ottobre a Bergamo Science Center.
|
||||||
|
grouping:
|
||||||
|
- linuxday-featured
|
||||||
|
- linuxday-2024
|
||||||
|
---
|
||||||
|
|
||||||
|
## Anche quest'anno ci siamo
|
||||||
|
|
||||||
|
Il linux day è un'opportunità straordinaria per la comunità locale di riunirsi e condividere la loro passione per l'open source. Bergamo è una città bellissima e ospitale, e sarà il luogo perfetto per un evento così importante.
|
||||||
|
|
||||||
|
Lo staff di BgLug ha organizzato per la giornata di Sabato 26 Ottobre una fantastica location in Bergamo per talk e spazi espositivi:
|
||||||
|
|
||||||
|
* dalle 8:30 alle 12:30 e dalle 14:45 alle 17:45, presso il [Urban Center](https://www.openstreetmap.org/node/12193292287) - Bergamo Science Center, in Viale Papa Giovanni XXIII n.57, facilmente raggiungibile con i mezzi pubblici provenienti da tutta la provincia.
|
||||||
|
|
||||||
|
Oltre ai talk si potranno seguire i laboratori proposti e il classico **installation party** sarà gestito, su appuntamento, dallo staff di BgLug che si metterà a disposizione per scegliere la distribuzione più adeguata e rinnovare insieme il vostro pc.
|
||||||
|
|
||||||
|
Contattateci tramite la mail [info@bglug.it](mailto:info@bglug.it).
|
||||||
|
|
||||||
|

|
BIN
content/linuxday/2024/agenda/logo-linux-day.png
Normal file
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
@ -1,18 +1,15 @@
|
|||||||
---
|
---
|
||||||
title: "Access is no longer through Mauro Gavazzeni street"
|
title: "Access is no longer through Mauro Gavazzeni street"
|
||||||
date: 2024-09-28T23:14:11+02:00
|
date: 2024-09-28T23:14:11+02:00
|
||||||
#expiryDate: # set this if the post should be removed automatically some time in the future
|
|
||||||
#publishDate: # set this if the post should be published automatically some time in the future
|
|
||||||
slug: "2024-09-28-cambio-entrata"
|
slug: "2024-09-28-cambio-entrata"
|
||||||
type: post
|
type: post
|
||||||
# image: image.png # if you don't specify an image, the first available is used
|
image: nuova-entrata-patronato.png
|
||||||
# image_alt: description of the featured image. The image ratio should be 360x250.
|
image_alt: "This is the new gate through which you enter."
|
||||||
# image_caption: Image credits: author and license
|
image_caption: "Credits: Luca Sarga, CC0"
|
||||||
# if not specified, CC-BY-SA is implied
|
|
||||||
# license: "[CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/)"
|
|
||||||
summary: Due to construction work, the entrance has been moved to Via San Giovanni Bosco 16.
|
summary: Due to construction work, the entrance has been moved to Via San Giovanni Bosco 16.
|
||||||
tags:
|
tags:
|
||||||
- news
|
- accesso-e-orari
|
||||||
|
- avviso
|
||||||
---
|
---
|
||||||
|
|
||||||
The Patronato San Vincenzo, the facility that hosts the FabLab (and therefore also us), has begun [renovation work](https://www.ecodibergamo.it/stories/premium/bergamo-citta/a-nuovo-spazi-servizi-patronato-bergamo-si-rifa-look-o_2510292_11/) of its buildings, some of which are located directly above the gate at Via Mauro Gavazzeni 3. As a result, this gate will remain closed for the duration of the work.
|
The Patronato San Vincenzo, the facility that hosts the FabLab (and therefore also us), has begun [renovation work](https://www.ecodibergamo.it/stories/premium/bergamo-citta/a-nuovo-spazi-servizi-patronato-bergamo-si-rifa-look-o_2510292_11/) of its buildings, some of which are located directly above the gate at Via Mauro Gavazzeni 3. As a result, this gate will remain closed for the duration of the work.
|
||||||
|
@ -1,18 +1,15 @@
|
|||||||
---
|
---
|
||||||
title: "Non si entra più da Via Mauro Gavazzeni"
|
title: "Non si entra più da Via Mauro Gavazzeni"
|
||||||
date: 2024-09-28T23:14:11+02:00
|
date: 2024-09-28T23:14:11+02:00
|
||||||
#expiryDate: # impostare se il post deve essere rimosso automaticamente nel futuro
|
|
||||||
#publishDate: # impostare se il post deve essere pubblicato automaticamente nel futuro
|
|
||||||
slug: "2024-09-28-cambio-entrata"
|
slug: "2024-09-28-cambio-entrata"
|
||||||
type: post
|
type: post
|
||||||
# image: image.png # se non metti un'immagine, viene presa la prima immagine del post
|
image: nuova-entrata-patronato.png
|
||||||
# image_alt: "Descrizione dell'immagine. Il ratio dell'immagine deve essere 360x250."
|
image_alt: "Questo è il nuovo cancello da cui sì entra"
|
||||||
# image_caption: Credits dell'immagine: autore e licenza
|
image_caption: "Credits: Luca Sarga, CC0"
|
||||||
# se non indicato, si intente CC-BY-SA
|
|
||||||
# license: "[CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/)"
|
|
||||||
summary: A causa dei lavori di costruzione, l'ingresso è stato spostato in Via San Giovanni Bosco 16.
|
summary: A causa dei lavori di costruzione, l'ingresso è stato spostato in Via San Giovanni Bosco 16.
|
||||||
tags:
|
tags:
|
||||||
- news
|
- accesso-e-orari
|
||||||
|
- avviso
|
||||||
---
|
---
|
||||||
|
|
||||||
Il Patronato San Vincenzo, la struttura che ospita il FabLab (e quindi anche noi), ha iniziato i [lavori di ristrutturazione](https://www.ecodibergamo.it/stories/premium/bergamo-citta/a-nuovo-spazi-servizi-patronato-bergamo-si-rifa-look-o_2510292_11/) dei propri immobili, alcuni dei quali si trovano sopra l'ingresso di Via Mauro Gavazzeni 3. Di conseguenza, tale cancello rimarrà chiuso per la durata dei lavori.
|
Il Patronato San Vincenzo, la struttura che ospita il FabLab (e quindi anche noi), ha iniziato i [lavori di ristrutturazione](https://www.ecodibergamo.it/stories/premium/bergamo-citta/a-nuovo-spazi-servizi-patronato-bergamo-si-rifa-look-o_2510292_11/) dei propri immobili, alcuni dei quali si trovano sopra l'ingresso di Via Mauro Gavazzeni 3. Di conseguenza, tale cancello rimarrà chiuso per la durata dei lavori.
|
||||||
|
Before Width: | Height: | Size: 310 KiB After Width: | Height: | Size: 310 KiB |
@ -7,11 +7,27 @@ server {
|
|||||||
root /wwwroot;
|
root /wwwroot;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
location ~ .* {
|
||||||
|
add_header X-Frame-Options "SAMEORIGIN";
|
||||||
|
add_header X-Content-Type-Options "nosniff";
|
||||||
|
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload";
|
||||||
|
add_header Content-Security-Policy "default-src 'self'; img-src https://*; child-src 'none';";
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/feed {
|
location ~ ^/feed {
|
||||||
rewrite ^/feed$ /it/index.xml last;
|
rewrite ^/feed$ /it/index.xml last;
|
||||||
rewrite ^/feed/.*$ /it/index.xml last;
|
rewrite ^/feed/.*$ /it/index.xml last;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ /events/elenco/ {
|
||||||
|
default_type "text/calendar";
|
||||||
|
try_files $uri /it/index.ics;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.ics$ {
|
||||||
|
default_type "text/calendar";
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ {
|
location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ {
|
||||||
return 301 https://bglug.it/it/chi-siamo/Statuto.pdf;
|
return 301 https://bglug.it/it/chi-siamo/Statuto.pdf;
|
||||||
}
|
}
|
||||||
@ -27,7 +43,6 @@ server {
|
|||||||
location ~ .* {
|
location ~ .* {
|
||||||
error_page 404 /it/404.html;
|
error_page 404 /it/404.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
|
83
layouts/_default/home.calendar.ics
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
{{- $numcaratteri := 66 -}}
|
||||||
|
BEGIN:VCALENDAR
|
||||||
|
VERSION:2.0
|
||||||
|
PRODID:-//BgLUG//BgLUG Events Calendar//EN
|
||||||
|
X-WR-CALNAME:BgLUG Events Calendar
|
||||||
|
X-WR-TIMEZONE:Europe/Rome
|
||||||
|
CALSCALE:GREGORIAN
|
||||||
|
METHOD:PUBLISH
|
||||||
|
BEGIN:VTIMEZONE
|
||||||
|
TZID:Europe/Rome
|
||||||
|
LAST-MODIFIED:20240422T053451Z
|
||||||
|
TZURL:https://www.tzurl.org/zoneinfo-outlook/Europe/Rome
|
||||||
|
X-LIC-LOCATION:Europe/Rome
|
||||||
|
BEGIN:DAYLIGHT
|
||||||
|
TZNAME:CEST
|
||||||
|
TZOFFSETFROM:+0100
|
||||||
|
TZOFFSETTO:+0200
|
||||||
|
DTSTART:19700329T020000
|
||||||
|
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
|
||||||
|
END:DAYLIGHT
|
||||||
|
BEGIN:STANDARD
|
||||||
|
TZNAME:CET
|
||||||
|
TZOFFSETFROM:+0200
|
||||||
|
TZOFFSETTO:+0100
|
||||||
|
DTSTART:19701025T030000
|
||||||
|
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
|
||||||
|
END:STANDARD
|
||||||
|
END:VTIMEZONE
|
||||||
|
{{- range where .Site.Pages ".Page.Params.add_to_ics" true -}}
|
||||||
|
{{- $location := "" -}}
|
||||||
|
{{- $locations := .Params.locations -}}
|
||||||
|
{{- with (eq (printf "%T" $locations ) "string" ) -}}
|
||||||
|
{{- $location = $locations -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- with (eq (printf "%T" $locations ) "[]string" ) -}}
|
||||||
|
{{- $location = (index $locations 0) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if .Params.location_ics }}
|
||||||
|
{{- $location = .Params.location_ics }}
|
||||||
|
{{- end }}
|
||||||
|
{{- $description := "" }}
|
||||||
|
{{- with .Description }}
|
||||||
|
{{- $description = . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Summary }}
|
||||||
|
{{- $description = . }}
|
||||||
|
{{- end }}
|
||||||
|
BEGIN:VEVENT
|
||||||
|
SUMMARY:{{.Title}}
|
||||||
|
ORGANIZER;{{ .Site.Param "ics.organizer" }}
|
||||||
|
UID:{{ md5 .Permalink }}@bglug.it
|
||||||
|
SEQUENCE:0
|
||||||
|
STATUS:CONFIRMED
|
||||||
|
TRANSP:TRANSPARENT
|
||||||
|
{{- if ne $description "" }}
|
||||||
|
{{- $description = replace $description "\n" " " }}
|
||||||
|
{{- $description = (print "DESCRIPTION:" $description ) | truncate 400 }}
|
||||||
|
{{- $i := 0 }}
|
||||||
|
{{- range seq 0 $numcaratteri ($description | len) }}
|
||||||
|
{{ strings.Repeat $i " " }}{{- substr $description . $numcaratteri }}
|
||||||
|
{{- $i = add $i 1 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
LOCATION:{{ $location }}
|
||||||
|
URL:{{ .Permalink }}
|
||||||
|
{{- with (.Page.Resources.GetMatch .Params.image ) -}}
|
||||||
|
{{- $image := print "IMAGE;VALUE=URI;DISPLAY=BADGE;FMTTYPE=" .MediaType.String ":" .Permalink }}
|
||||||
|
{{- $i := 0 }}
|
||||||
|
{{- range seq 0 $numcaratteri ($image | len) }}
|
||||||
|
{{ strings.Repeat $i " " }}{{- substr $image . $numcaratteri }}
|
||||||
|
{{- $i = add $i 1 }}
|
||||||
|
{{- end }}
|
||||||
|
{{ end -}}
|
||||||
|
{{ with .Lastmod }}DTSTAMP:{{dateFormat "20060102T150405Z" . }}
|
||||||
|
{{ end -}}
|
||||||
|
{{ if .Date }}DTSTART;TZID=Europe/Rome:{{dateFormat "20060102T150405" .Date }}
|
||||||
|
{{- $d := time.AsTime .Date }}
|
||||||
|
{{- $duration := .Params.duration | default "1h" }}
|
||||||
|
DTEND;TZID=Europe/Rome:{{dateFormat "20060102T150405" ($d.Add (time.ParseDuration $duration) ) }}
|
||||||
|
{{- end }}
|
||||||
|
END:VEVENT
|
||||||
|
{{- end }}
|
||||||
|
END:VCALENDAR
|