1
0
forked from BgLUG/bglug.it

Compare commits

...

4 Commits

Author SHA1 Message Date
b23f3d450c fix #301 (#302)
questo dovrebbe sistemare #301

Reviewed-on: BgLUG/bglug.it#302
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-22 17:55:33 +00:00
b2a1a4821c fix content-type e rewrite ICS (#301)
fixes #300

Reviewed-on: BgLUG/bglug.it#301
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-21 21:24:00 +00:00
259fcc31bd fix sidebar linuxday (#298)
fixes #297

Reviewed-on: BgLUG/bglug.it#298
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-20 22:30:57 +00:00
87d1170527 fix .Site.IsMultiLingual deprecation (#299)
fixes #284

Reviewed-on: BgLUG/bglug.it#299
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-10-20 22:05:37 +00:00
8 changed files with 32 additions and 25 deletions

View File

@ -0,0 +1,6 @@
---
type: section
title: Events
#description: "TODO: please fill this with a description"
sidebar_right: sidebar-eventi
---

View File

@ -0,0 +1,6 @@
---
type: section
title: Eventi
#description: "TODO: non so come descrivere la sezione eventi"
sidebar_right: sidebar-eventi
---

View File

@ -17,6 +17,7 @@ tags:
- slides
grouping:
- linuxday-2015
summary: Francesco Vigotti ci parla di DevOps e Ansible
---
**Francesco Vigotti**, creatore e gestore di [histats.com](https://www.histats.com) e ...uno che la sa lunga 😉, ci parla delle più recenti tecnologie **opensource** per gestire server: DevOps e Ansible.

View File

@ -15,6 +15,7 @@ tags:
- 2015
grouping:
- linuxday-2015
summary: Aronne Brivio di Mozilla Italia ci parla di Firefox OS
---
**Aronne Brivio**, sviluppatore e membro della **community di Mozilla Italia**, ci parla di **Firefox OS**: filosofia, sviluppi, funzionalità e novità.

View File

@ -16,6 +16,8 @@ tags:
- 2015
grouping:
- linuxday-2015
summary: I nostri amici del FabLab Bergamo ci portano la loro esperienza nel mondo della stampa 3D
---
I nostri amici del **FabLab** di Bergamo, con i quali collaboreremo anche in futuro, sono venuti a trovarci al **Linux Day** portando la loro esperienza nel mondo della **Stampa 3D**.

View File

@ -6,12 +6,15 @@ server {
sendfile off;
root /wwwroot;
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';";
error_page 404 /it/404.html;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
include /etc/nginx/mime.types;
include /etc/nginx/http.custom.d/*.conf;
types {
text/calendar ics;
}
location ~ ^/feed {
@ -19,30 +22,18 @@ server {
rewrite ^/feed/.*$ /it/index.xml last;
}
location ~ /events/elenco/ {
location = /events/elenco/ {
default_type "text/calendar";
try_files $uri /it/index.ics;
rewrite ^.*$ /it/index.ics last;
}
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;
}
location ~ ^/it/.* {
error_page 404 /it/404.html;
}
location ~ ^/en/.* {
location ^~ /en/ {
error_page 404 /en/404.html;
}
location ~ .* {
error_page 404 /it/404.html;
}
}
gzip on;

View File

@ -54,9 +54,9 @@
{{ end }}
<p>
{{ with .Description }}
{{- . | truncate 400 }}
{{- . | plainify | truncate 400 }}
{{- else }}
{{- .Summary | truncate 400 }}
{{- .Summary | plainify | truncate 400 }}
{{- end }}
</p>
{{ partial "tags.html" . }}

View File

@ -1,5 +1,5 @@
<div id="header">
{{ if .Site.IsMultiLingual }}
{{ if hugo.IsMultilingual }}
{{- partial "languages.html" . }}
{{- end -}}
<div id="logo-wrapper">