1
0
forked from BgLUG/bglug.it

Compare commits

...

10 Commits

Author SHA1 Message Date
40d9b9fb49 homepage grouping (#308)
fixes #291

Reviewed-on: BgLUG/bglug.it#308
Reviewed-by: omar <omarl@noreply.libreschool.org>
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-28 07:05:54 +00:00
cb952a803f inserito grouping: - homepage (#315)
Reviewed-on: BgLUG/bglug.it#315
Reviewed-by: Paolo Asperti <paspo@noreply.libreschool.org>
Co-authored-by: omar <omarl@noreply.libreschool.org>
Co-committed-by: omar <omarl@noreply.libreschool.org>
2024-10-27 21:58:53 +00:00
cf9b479335 SRI (Subresource Integrity) (#280)
è la cosa per cui i CSS/JS richiamati dall'html hanno un tag con l'hash

fixes #283

Reviewed-on: BgLUG/bglug.it#280
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-27 21:48:54 +00:00
d4a7dc76ba ritorno al warning pre-linuxday (#316)
Recuperato il vecchio warning

Reviewed-on: BgLUG/bglug.it#316
Co-authored-by: omartek <olazzari@gmail.com>
Co-committed-by: omartek <olazzari@gmail.com>
2024-10-27 21:27:17 +00:00
617a4c7ebe ricordati di far andare hugo prima di creare l'immagine (#314)
#311

Reviewed-on: BgLUG/bglug.it#314
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-27 18:31:31 +00:00
69842eb740 fix pagination deprecation (#312)
fixes #282

Reviewed-on: BgLUG/bglug.it#312
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-27 18:30:26 +00:00
4662d6f842 fix .tocss deprecation (#313)
fixes #283

Reviewed-on: BgLUG/bglug.it#313
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-27 09:50:19 +00:00
164f69ae43 security.txt (#311)
Reviewed-on: BgLUG/bglug.it#311
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-27 09:48:04 +00:00
f8d27e3914 url check (#310)
workflow che una volta a settimana controlla se ci sono link esterni che non vanno.

fixes #271

Reviewed-on: BgLUG/bglug.it#310
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-27 09:47:43 +00:00
a985989c3e url errata (#309)
Reviewed-on: BgLUG/bglug.it#309
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-27 09:45:19 +00:00
40 changed files with 259 additions and 150 deletions

View File

@ -0,0 +1,71 @@
---
name: External links check
on:
schedule:
- cron: "30 18 * * 2"
jobs:
scan:
name: Check all external links
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- name: checkout repo
uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: restore resources from cache
uses: actions/cache/restore@v4
with:
path: |
resources
key: bglug-it-hugo-resources
- name: update git hash
run: |
H=$(git rev-parse --short=10 HEAD)
echo "commit: $H"
sed -i "s/AbbreviatedHash\:.*$/AbbreviatedHash: ${H}/" config/_default/params.yaml
- name: Build Hugo
run: |
wget -O - https://github.com/gohugoio/hugo/releases/download/v0.135.0/hugo_extended_0.135.0_linux-amd64.tar.gz | tar zxv
./hugo --gc --minify --cleanDestinationDir
- name: store resources into cache
uses: actions/cache/save@v4
if: always() # salva in cache anche se la build fallisce
with:
path: |
resources
key: bglug-it-hugo-resources
- name: parse all the links
shell: bash
run: |
echo "Calculating a list of URLs"
grep --ignore-case --recursive --only-matching --no-filename \
--include \*.html --perl-regexp '(?<=href=")[^"]*' public/ | \
grep ^http | \
grep --invert-match --extended-regexp \
--file .gitea/workflows/extlinks_whitelist_patterns.list | \
sort -u > all_links.list
echo "List contains $(cat all_links.list | wc -l) URLs"
unreachable_count=0
while IFS= read -r url; do
response_code=$(curl --head --silent --output /dev/null --retry 2 --connect-timeout 2 --write-out "%{http_code}" "$url" || true)
if [[ ! $response_code == 200 && ! $response_code =~ 3[0-9]{2} ]]; then
echo "UNREACHABLE ($response_code): $url"
unreachable_count=$((unreachable_count+1))
fi
done < all_links.list
echo "List parsed. Unreachable URLs: $unreachable_count"
if [[ $unreachable_count -gt 0 ]] ; then
exit 1
fi

View File

@ -0,0 +1,6 @@
https?\:\/\/localhost
https?\:\/\/(www\.)?bglug\.it
https\:\/\/git\.libreschool\.org\/BgLUG\/bglug\.it\/src
https?\:\/\/192\.168\.[0-9]+\.[0-9]+
https?\:\/\/172\.16\.[0-9]+\.[0-9]+
https?\:\/\/10\.[0-9]+\.[0-9]+\.[0-9]+

View File

@ -51,6 +51,7 @@ hugo server -D
This website can be used as a container image; to do so in docker: This website can be used as a container image; to do so in docker:
```sh ```sh
hugo --baseURL http://127.0.0.1:6080 --gc --minify --cleanDestinationDir
docker build -t bglug-website . docker build -t bglug-website .
``` ```

5
assets/js/taglist.js Normal file
View File

@ -0,0 +1,5 @@
function show_all_tags(e) {
$(".tags-sidebar li").css("display","inline-block");
$(e).css("display","none");
return false;
}

View File

@ -3,11 +3,10 @@ baseURL: https://bglug.it
languageCode: it-IT languageCode: it-IT
title: BgLUG title: BgLUG
subtitle: Bergamo Linux Users Group subtitle: Bergamo Linux Users Group
logo: logo_tondo.svg logo: images/logo_tondo.svg
author: BgLUG author: BgLUG
theme: hugo-arcana theme: hugo-arcana
copyright: 2024 © Bergamo Linux Users Group copyright: 2024 © Bergamo Linux Users Group
paginate: 20
timeout: 1800s timeout: 1800s
enableRobotsTXT: true enableRobotsTXT: true
enableGitInfo: true enableGitInfo: true
@ -257,3 +256,15 @@ imaging:
exif: exif:
disableDate: true disableDate: true
disableLatLong: true disableLatLong: true
module:
mounts:
- source: static/.well-known
target: static/.well-known
- source: static/images
target: static/images
- source: static/favicon
target: static/favicon
pagination:
pagerSize: 20

View File

@ -15,6 +15,8 @@ license: "Unknown"
summary: Booth at Splash 2024 in Boccaleone at 2:00 PM summary: Booth at Splash 2024 in Boccaleone at 2:00 PM
tags: tags:
- boccaleone - boccaleone
grouping:
- homepage
--- ---
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. 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.

View File

@ -15,6 +15,8 @@ license: "Sconosciuta"
summary: Gazebo al Splash 2024 a Boccaleone alle 14:00 summary: Gazebo al Splash 2024 a Boccaleone alle 14:00
tags: tags:
- boccaleone - boccaleone
grouping:
- homepage
--- ---
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. 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.

View File

@ -6,6 +6,8 @@ type: post
image: bglug-git.png image: bglug-git.png
image_alt: "GIT client background and BGlug logo" image_alt: "GIT client background and BGlug logo"
summary: "Are you a student, a hobbyist, a developer or an IT professional?Do you want to learn to manage your job more efficiently and collaboratively?Then this course is perfect for you!" summary: "Are you a student, a hobbyist, a developer or an IT professional?Do you want to learn to manage your job more efficiently and collaboratively?Then this course is perfect for you!"
grouping:
- homepage
--- ---
## Git course for beginners ## Git course for beginners

View File

@ -6,6 +6,8 @@ type: post
image: bglug-git.png image: bglug-git.png
image_alt: "Sfondo client Git e logo BGlug" image_alt: "Sfondo client Git e logo BGlug"
summary: "Sei uno studente, un hobbista, uno sviluppatore o un professionista IT? Vuoi imparare a gestire il tuo lavoro in modo più efficiente e collaborativo? Allora questo corso è perfetto per te!" summary: "Sei uno studente, un hobbista, uno sviluppatore o un professionista IT? Vuoi imparare a gestire il tuo lavoro in modo più efficiente e collaborativo? Allora questo corso è perfetto per te!"
grouping:
- homepage
--- ---
## Corso Git per Principianti ## Corso Git per Principianti

View File

@ -8,6 +8,8 @@ type: post
image: lettura-libro-ada-zangemann-36_25.png # if you don't specify an image, the first available is used image: lettura-libro-ada-zangemann-36_25.png # if you don't specify an image, the first available is used
image_alt: Event image with an open book in the background; in the center, the cover of the book Ada and Zangemann, and at the top, the logos of BGLUG and FSFE. image_alt: Event image with an open book in the background; in the center, the cover of the book Ada and Zangemann, and at the top, the logos of BGLUG and FSFE.
summary: On Friday, September 27 at 4:00 PM, at the Dalmine Library, there will be a reading of the book Ada and Zangemann, followed by a treasure hunt. summary: On Friday, September 27 at 4:00 PM, at the Dalmine Library, there will be a reading of the book Ada and Zangemann, followed by a treasure hunt.
grouping:
- homepage
--- ---
📖 **1st proposal of the educational activity "They are young + they need code" at DALMINE** 📖 **1st proposal of the educational activity "They are young + they need code" at DALMINE**

View File

@ -6,6 +6,8 @@ type: post
image: lettura-libro-ada-zangemann-36_25.png # se non metti un'immagine, viene presa la prima immagine del post image: lettura-libro-ada-zangemann-36_25.png # se non metti un'immagine, viene presa la prima immagine del post
image_alt: "Immagine dell'evento con, sullo sfondo, un libro aperto lateralmente; al centro, la copertina del libro Ada e Zangemann, e in alto i loghi del BGLUG e della FSFE." image_alt: "Immagine dell'evento con, sullo sfondo, un libro aperto lateralmente; al centro, la copertina del libro Ada e Zangemann, e in alto i loghi del BGLUG e della FSFE."
summary: Venerdì 27 settembre alle ore 16:00, presso la Biblioteca di Dalmine, si terrà la lettura del libro Ada e Zangemann, seguita da una caccia al tesoro. summary: Venerdì 27 settembre alle ore 16:00, presso la Biblioteca di Dalmine, si terrà la lettura del libro Ada e Zangemann, seguita da una caccia al tesoro.
grouping:
- homepage
--- ---
📖 **1° proposta dell'attività didattica-formativa "Sono giovani + hanno bisogno di codice" a DALMINE** 📖 **1° proposta dell'attività didattica-formativa "Sono giovani + hanno bisogno di codice" a DALMINE**

View File

@ -6,6 +6,8 @@ type: post
image: bglug-git.png image: bglug-git.png
image_alt: "GIT client background and BGlug logo" image_alt: "GIT client background and BGlug logo"
summary: "Are you already familiar with GITs and want to deepen your skills?Do you want to master the advanced techniques that will allow you to safely manage even the most complex projects?" summary: "Are you already familiar with GITs and want to deepen your skills?Do you want to master the advanced techniques that will allow you to safely manage even the most complex projects?"
grouping:
- homepage
--- ---
## Advanced GIT course ## Advanced GIT course

View File

@ -6,6 +6,8 @@ type: post
image: bglug-git.png image: bglug-git.png
image_alt: "Sfondo client Git e logo BGlug" image_alt: "Sfondo client Git e logo BGlug"
summary: "Hai già familiarità con Git e desideri approfondire le tue competenze? Vuoi padroneggiare le tecniche avanzate che ti permetteranno di gestire con sicurezza anche i progetti più complessi?" summary: "Hai già familiarità con Git e desideri approfondire le tue competenze? Vuoi padroneggiare le tecniche avanzate che ti permetteranno di gestire con sicurezza anche i progetti più complessi?"
grouping:
- homepage
--- ---
## Corso Git avanzato ## Corso Git avanzato

View File

@ -16,6 +16,7 @@ summary: This year's Linux Day will be on October 26th at the BergamoScienceCent
grouping: grouping:
- linuxday-featured - linuxday-featured
- linuxday-2024 - linuxday-2024
- homepage
--- ---
## Here We Go Again This Year ## Here We Go Again This Year

View File

@ -16,6 +16,7 @@ summary: Il linux day di quest'anno sarà il 26 ottobre a BergamoScienceCenter.
grouping: grouping:
- linuxday-featured - linuxday-featured
- linuxday-2024 - linuxday-2024
- homepage
--- ---
## Anche quest'anno ci siamo ## Anche quest'anno ci siamo

View File

@ -121,7 +121,7 @@ Mio padre, tra i tanti buoni consigli che mi ha dato, mi ripeteva sempre _"Nessu
[3]: http://www.valueram.com/datasheets/KVR533D2N4_1G.pdf [3]: http://www.valueram.com/datasheets/KVR533D2N4_1G.pdf
[4]: http://www.samsung.com/global/business/hdd/productmodel.do?group=72&type=62&subtype=67&model_cd=298 [4]: http://www.samsung.com/global/business/hdd/productmodel.do?group=72&type=62&subtype=67&model_cd=298
[5]: http://www.mini-box.com/s.nl/it.A/id.417/.f?sc=8 [5]: http://www.mini-box.com/s.nl/it.A/id.417/.f?sc=8
[6]: http://http://www.shopelectronic.it/product.asp?Id=14507 [6]: http://www.shopelectronic.it/product.asp?Id=14507
[7]: http://cartft.de/ "CarTFT" [7]: http://cartft.de/ "CarTFT"
[8]: http://www.totalmodding.com/ "Totalmodding" [8]: http://www.totalmodding.com/ "Totalmodding"
[9]: http://www.shopelectronic.it/ "Shopelectronic" [9]: http://www.shopelectronic.it/ "Shopelectronic"

View File

@ -11,6 +11,8 @@ image_caption: "Image credits: amreo, [CC0](https://creativecommons.org/publicdo
summary: Storytelling and details of the migration from Wordpress to Hugo. summary: Storytelling and details of the migration from Wordpress to Hugo.
tags: tags:
- news - news
grouping:
- homepage
--- ---
We are pleased to announce that the migration from **WordPress** to **Hugo** is now complete, both for this website and for libreschool.org, with the publication of this site. We are pleased to announce that the migration from **WordPress** to **Hugo** is now complete, both for this website and for libreschool.org, with the publication of this site.

View File

@ -11,6 +11,8 @@ image_caption: "Image credits: amreo, [CC0](https://creativecommons.org/publicdo
summary: Racconto e dettagli della migrazione da Wordpress a Hugo. summary: Racconto e dettagli della migrazione da Wordpress a Hugo.
tags: tags:
- news - news
grouping:
- homepage
--- ---
Siamo lieti di annunciare che la migrazione da **Wordpress** a **Hugo** è giunta a termine, sia per questo sito web che per quello di libreschool.org, con la pubblicazione di questo sito. Siamo lieti di annunciare che la migrazione da **Wordpress** a **Hugo** è giunta a termine, sia per questo sito web che per quello di libreschool.org, con la pubblicazione di questo sito.

View File

@ -10,6 +10,8 @@ summary: Due to construction work, the entrance has been moved to Via San Giovan
tags: tags:
- accesso-e-orari - accesso-e-orari
- avviso - avviso
grouping:
- homepage
--- ---
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.

View File

@ -10,6 +10,8 @@ summary: A causa dei lavori di costruzione, l'ingresso è stato spostato in Via
tags: tags:
- accesso-e-orari - accesso-e-orari
- avviso - avviso
grouping:
- homepage
--- ---
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.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

View File

@ -1,26 +0,0 @@
---
title: "Linux Day '24 Schedule"
date: 2024-10-20T10:00:00+02:00
slug: "agenda"
type: post
image: logo-linux-day.png
image_alt: Official logo of theLinux Day"
image_caption: Italian Linux Society, CC0
location_link: "[BergamoScienceCenter(https://www.openstreetmap.org/node/12193292287)"
locations: BergamoScienceCenter
summary: This year's Linux Day will be on October 26th at the BergamoScienceCenter.
---
## 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 [BergamoScienceCenter](https://www.openstreetmap.org/node/12193292287) - 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.
**[Reservation at this link.](https://bit.ly/linuxday24)**
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).
[![Event Schedule](volantino.png)](volantino.pdf)

View File

@ -1,27 +0,0 @@
---
title: "Agenda Linux Day '24"
date: 2024-10-20T10:00:00+02:00
type: post
image: logo-linux-day.png
image_alt: Logo ufficiale del Linux Day"
image_caption: Italian Linux Society, CC0
location_link: "[BergamoScienceCenter](https://www.openstreetmap.org/node/12193292287)"
locations: BergamoScienceCenter
summary: Il linux day di quest'anno sarà il 26 ottobre a BergamoScienceCenter.
---
## Anche quest'anno ci siamo
Anche quest'anno in tutta Italia sabato 26 ottobre si celebrerà il Linux day, un'opportunità straordinaria per le comunità di appassionati di riunirsi e condividere la propria passione per il software libero e l'open source.
Lo staff di BgLUG propone per la giornata una fantastica location in centro Bergamo:
* dalle 8:30 alle 12:30 e dalle 14:45 alle 17:45 presso il [BergamoScienceCenter](https://www.openstreetmap.org/node/12193292287) - in Viale Papa Giovanni XXIII n.57. La sede è facilmente raggiungibile con i mezzi pubblici provenienti da tutta la provincia o in macchina, usufruendo dei numerosi parcheggi a pagamento presenti nella zona.
**[Prenotati a questo indirizzo.](https://bit.ly/linuxday24)**
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).
[![Agenda degli orari](volantino.png)](volantino.pdf)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

View File

@ -1,7 +1,7 @@
--- ---
banner: banner:
enable: true enable: true
image: homepage_banner.webp image: images/homepage_banner.webp
contents: "What is Bergamo Linux Users Group?" contents: "What is Bergamo Linux Users Group?"
button: button:
contents: "Learn more..." contents: "Learn more..."
@ -10,17 +10,13 @@ items:
- type: important-warning - type: important-warning
enabled: true enabled: true
link: link:
url: /en/linuxday/2024/agenda/ url: /en/posts/2024/09/2024-09-28-cambio-entrata/
title: More information title: More information
contents: "Saturday 26 Linux Day will be in Bergamo at BergamoScienceCenter" contents: "The entrance has been moved to Via San Giovanni Bosco 16"
- heading: Latest posts - heading: Latest posts and events
type: posts type: posts_homepage_grouping
content_type: posts max: 6
max: 4 featured_first: true
- heading: Latest events
type: posts
content_type: events
max: 4
- type: highlights - type: highlights
items_per_row: 2 items_per_row: 2
items: items:

View File

@ -1,5 +1,5 @@
--- ---
title: "BgLUG --- Bergamo Linux Users Group" title: "BgLUG --- Bergamo Linux Users Group"
image: logo.svg image: images/logo.svg
image_alt: Logo BgLUG image_alt: Logo BgLUG
image_width: 300 image_width: 300

View File

@ -1,7 +1,7 @@
--- ---
banner: banner:
enable: true enable: true
image: homepage_banner.webp image: images/homepage_banner.webp
contents: "Cos'è il Bergamo Linux Users Group?" contents: "Cos'è il Bergamo Linux Users Group?"
button: button:
contents: "Scopri di più..." contents: "Scopri di più..."
@ -10,17 +10,13 @@ items:
- type: important-warning - type: important-warning
enabled: true enabled: true
link: link:
url: /it/linuxday/2024/agenda/ url: /it/posts/2024/09/2024-09-28-cambio-entrata/
title: Più informazioni title: Più informazioni
contents: "Sabato 26 ottobre il Linux Day di Bergamo si svolgerà presso il BergamoScienceCenter" contents: "L'entrata è stata spostata in Via San Giovanni Bosco 16"
- heading: Ultimi post - heading: Ultimi post ed eventi
type: posts type: posts_homepage_grouping
content_type: posts max: 6
max: 4 featured_first: true
- heading: Ultimi Eventi
type: posts
content_type: events
max: 4
- type: highlights - type: highlights
items_per_row: 2 items_per_row: 2
items: items:

View File

@ -1,65 +1,3 @@
<section class="col-6 col-12-narrower"> <section class="col-6 col-12-narrower">
<div class="box post"> {{- .Render "shortblock_common" -}}
{{ $rasters := slice "jpeg" "png" }}
{{ $newres := "360x250 smart" }}
{{/* immagine di default */}}
{{- $featimg := (resources.Get "/images/placeholder_elenco.png").RelPermalink -}}
{{- if .Params.image -}}
{{/* se è stata definita un'immagine featured */}}
{{- $img := .Page.Resources.GetMatch .Params.image -}}
{{- if $img -}}
{{- if in $rasters $img.MediaType.SubType -}}
{{- $img = $img.Fill $newres -}}
{{ end }}
{{- $featimg = $img.RelPermalink -}}
{{- end -}}
{{- else if .Params.featured -}}
{{/* se è stata definita un'immagine featured */}}
{{- $img := .Page.Resources.GetMatch .Params.featured -}}
{{- if $img -}}
{{- if in $rasters $img.MediaType.SubType -}}
{{- $img = $img.Fill $newres -}}
{{ end }}
{{- $featimg = $img.RelPermalink -}}
{{- end -}}
{{- else -}}
{{/* altrimenti prendo la prima risorsa immagine disponibile */}}
{{- $img := (.Page.Resources.ByType "image").GetMatch "**" -}}
{{- if $img -}}
{{- if in $rasters $img.MediaType.SubType -}}
{{- $img = $img.Fill $newres -}}
{{ end }}
{{- $featimg = $img.RelPermalink -}}
{{- end -}}
{{- end -}}
<a href="{{ .RelPermalink }}" class="image left"><img src="{{ $featimg }}" alt="{{ .Params.image_alt }}" /></a>
<div class="inner">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{- with .GetTerms "author" }}
{{- range . -}}
<div class="author">
di <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
</div>
{{- end }}
{{- end }}
{{ if .Site.Params.show_post_dates | default true }}
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
{{ end }}
<p>
{{ with .Description }}
{{- . | plainify | truncate 400 }}
{{- else }}
{{- .Summary | plainify | truncate 400 }}
{{- end }}
</p>
{{ partial "tags.html" . }}
</div>
</div>
</section> </section>

View File

@ -0,0 +1,63 @@
<div class="box post">
{{ $rasters := slice "jpeg" "png" }}
{{ $newres := "360x250 smart" }}
{{/* immagine di default */}}
{{- $featimg := (resources.Get "/images/placeholder_elenco.png").RelPermalink -}}
{{- if .Params.image -}}
{{/* se è stata definita un'immagine featured */}}
{{- $img := .Page.Resources.GetMatch .Params.image -}}
{{- if $img -}}
{{- if in $rasters $img.MediaType.SubType -}}
{{- $img = $img.Fill $newres -}}
{{ end }}
{{- $featimg = $img.RelPermalink -}}
{{- end -}}
{{- else if .Params.featured -}}
{{/* se è stata definita un'immagine featured */}}
{{- $img := .Page.Resources.GetMatch .Params.featured -}}
{{- if $img -}}
{{- if in $rasters $img.MediaType.SubType -}}
{{- $img = $img.Fill $newres -}}
{{ end }}
{{- $featimg = $img.RelPermalink -}}
{{- end -}}
{{- else -}}
{{/* altrimenti prendo la prima risorsa immagine disponibile */}}
{{- $img := (.Page.Resources.ByType "image").GetMatch "**" -}}
{{- if $img -}}
{{- if in $rasters $img.MediaType.SubType -}}
{{- $img = $img.Fill $newres -}}
{{ end }}
{{- $featimg = $img.RelPermalink -}}
{{- end -}}
{{- end -}}
<a href="{{ .RelPermalink }}" class="image left"><img src="{{ $featimg }}" alt="{{ .Params.image_alt }}" /></a>
<div class="inner">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
{{- with .GetTerms "author" }}
{{- range . -}}
<div class="author">
di <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
</div>
{{- end }}
{{- end }}
{{ if .Site.Params.show_post_dates | default true }}
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
{{ end }}
<p>
{{ with .Description }}
{{- . | plainify | truncate 400 }}
{{- else }}
{{- .Summary | plainify | truncate 400 }}
{{- end }}
</p>
{{ partial "tags.html" . }}
</div>
</div>

View File

@ -0,0 +1,3 @@
<section class="col-12 col-12-narrower">
{{- .Render "shortblock_common" -}}
</section>

View File

@ -1 +1 @@
<link rel="icon" type="image/x-icon" href="/logo_tondo.svg"> <link rel="icon" type="image/x-icon" href="/images/logo_tondo.svg">

View File

@ -0,0 +1,14 @@
{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" .Site.Params.enableSourceMaps) }}
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass $options }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
{{ if hugo.IsDevelopment }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
{{ else }}
{{ with $style | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
{{ end }}
{{- partial "head/custom.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}

View File

@ -0,0 +1,28 @@
{{- $pages := (where .ctx.Site.RegularPages ".Params.grouping" "intersect" (slice "homepage")) }}
{{- if gt (len $pages) 0 }}
<section class="wrapper style1">
<div class="container">
{{ with .item.heading }}<h2>{{ . }}</h2>{{ end }}
{{ if eq .item.featured_first true }}
<div class="row">
{{- range $idx, $itm := first 1 $pages }}
{{- .Render "shortblock_wide" -}}
{{- end }}
</div>
{{- $pages = after 1 $pages }}
{{- end }}
{{- range $idx, $itm := first (.item.max | default 4) $pages }}
{{- $rowpos := mod $idx 2 }}
{{- if eq $rowpos 0 }}
<div class="row">
{{ end }}
{{- .Render "shortblock" -}}
{{ if or (eq $rowpos 1) (eq $idx (len $pages)) -}}
</div>
{{- end }}
{{- end }}
</div>
</section>
{{ end }}

View File

@ -1,12 +1,12 @@
<section> <section>
<script>
function show_all_tags(e) {
$(".tags-sidebar li").css("display","inline-block");
$(e).css("display","none");
return false;
}
</script> {{ $js := resources.Get "js/taglist.js" }}
{{ with $js | minify | fingerprint }}
<script
src="{{ .RelPermalink }}"
integrity="{{ .Data.Integrity }}"
crossorigin="anonymous"></script>
{{ end }}
<h3>Tags</h3> <h3>Tags</h3>
<ul class="tags-sidebar"> <ul class="tags-sidebar">

View File

@ -0,0 +1,4 @@
Contact: mailto:info@bglug.it
Expires: 2026-10-25T21:00:00.000Z
Preferred-Languages: it, en, fr
Canonical: https://bglug.it/.well-known/security.txt

View File

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 139 KiB

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB