1
0
forked from BgLUG/bglug.it

Compare commits

..

No commits in common. "b23f3d450c812a5edd05b8b0309137af97b43fff" and "51272c886e4798a839d80f93031ab43f790e9a41" have entirely different histories.

8 changed files with 25 additions and 32 deletions

View File

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

View File

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

View File

@ -17,7 +17,6 @@ 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,7 +15,6 @@ 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,8 +16,6 @@ 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,15 +6,12 @@ server {
sendfile off;
root /wwwroot;
index index.html;
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 ~ .* {
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 {
@ -22,18 +19,30 @@ server {
rewrite ^/feed/.*$ /it/index.xml last;
}
location = /events/elenco/ {
location ~ /events/elenco/ {
default_type "text/calendar";
rewrite ^.*$ /it/index.ics last;
try_files $uri /it/index.ics;
}
location = /wp-content/uploads/2008/02/Statuto.pdf {
location ~ \.ics$ {
default_type "text/calendar";
}
location ~ ^/wp\-content/uploads/2008/02/Statuto\.pdf$ {
return 301 https://bglug.it/it/chi-siamo/Statuto.pdf;
}
location ^~ /en/ {
location ~ ^/it/.* {
error_page 404 /it/404.html;
}
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 }}
{{- . | plainify | truncate 400 }}
{{- . | truncate 400 }}
{{- else }}
{{- .Summary | plainify | truncate 400 }}
{{- .Summary | truncate 400 }}
{{- end }}
</p>
{{ partial "tags.html" . }}

View File

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