forked from BgLUG/bglug.it
Compare commits
No commits in common. "183be1d9ce9618aa4439dd52f256f0e54eccfae7" and "a0248212e4843757fdc2072d8650ada9270363ba" have entirely different histories.
183be1d9ce
...
a0248212e4
@ -205,7 +205,3 @@ article header div.author {
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-image: url("images/mattermost_logo.svg");
|
background-image: url("images/mattermost_logo.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon.major {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
18
config.yml
18
config.yml
@ -10,10 +10,7 @@ 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
|
||||||
@ -44,10 +41,6 @@ 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
|
||||||
@ -216,21 +209,10 @@ 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
|
||||||
|
6
content/events/_index.en.md
Normal file
6
content/events/_index.en.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
type: section
|
||||||
|
title: Events
|
||||||
|
#description: "TODO: please fill this with a description"
|
||||||
|
sidebar_right: sidebar-eventi
|
||||||
|
---
|
6
content/events/_index.it.md
Normal file
6
content/events/_index.it.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
type: section
|
||||||
|
title: Eventi
|
||||||
|
#description: "TODO: non so come descrivere la sezione eventi"
|
||||||
|
sidebar_right: sidebar-eventi
|
||||||
|
---
|
@ -26,13 +26,11 @@ items:
|
|||||||
items:
|
items:
|
||||||
- title: Events
|
- title: Events
|
||||||
icon: fa-calendar-day
|
icon: fa-calendar-day
|
||||||
url: /en/events/
|
|
||||||
content: >
|
content: >
|
||||||
Come to our events! You would learn all that there is to know about
|
Come to our events! You would learn all that there is to know about
|
||||||
free software and *open source*
|
free software and *open source*
|
||||||
- title: Schools
|
- title: Schools
|
||||||
icon: fa-graduation-cap
|
icon: fa-graduation-cap
|
||||||
url: /it/tags/scuola/
|
|
||||||
content: >
|
content: >
|
||||||
Follow our volunteers on their activities by schools in the province
|
Follow our volunteers on their activities by schools in the province
|
||||||
of Bergamo.
|
of Bergamo.
|
||||||
|
@ -26,13 +26,11 @@ items:
|
|||||||
items:
|
items:
|
||||||
- title: Eventi
|
- title: Eventi
|
||||||
icon: fa-calendar-day
|
icon: fa-calendar-day
|
||||||
url: /it/eventi/
|
|
||||||
content: >
|
content: >
|
||||||
Accorri agli eventi che organizziamo! Avrai modo di imparare tutto
|
Accorri agli eventi che organizziamo! Avrai modo di imparare tutto
|
||||||
quello che c'è da sapere sul software libero o *open source*
|
quello che c'è da sapere sul software libero o *open source*
|
||||||
- title: Scuole
|
- title: Scuole
|
||||||
icon: fa-graduation-cap
|
icon: fa-graduation-cap
|
||||||
url: /it/tags/scuola/
|
|
||||||
content: >
|
content: >
|
||||||
Segui i nostri volontari nelle loro attività presso le scuole della
|
Segui i nostri volontari nelle loro attività presso le scuole della
|
||||||
provincia di Bergamo
|
provincia di Bergamo
|
||||||
|
@ -12,10 +12,6 @@ server {
|
|||||||
rewrite ^/feed/.*$ /it/index.xml last;
|
rewrite ^/feed/.*$ /it/index.xml last;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /events/elenco/ {
|
|
||||||
try_files $uri /it/index.ics;
|
|
||||||
}
|
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
@ -1,83 +0,0 @@
|
|||||||
{{- $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
|
|
@ -1,22 +0,0 @@
|
|||||||
<section class="wrapper style1">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row gtr-200">
|
|
||||||
{{- $item_cols := (div 12 (.item.items_per_row | default 3)) }}
|
|
||||||
{{- range .item.items }}
|
|
||||||
<section class="col-{{ $item_cols }} col-12-narrower">
|
|
||||||
<div class="box highlight">
|
|
||||||
{{- if .url -}}
|
|
||||||
<a href="{{ .url }}">
|
|
||||||
{{- end -}}
|
|
||||||
<i class="icon solid major {{ .icon }}"></i>
|
|
||||||
<h3>{{ .title }}</h3>
|
|
||||||
{{- if .url -}}
|
|
||||||
</a>
|
|
||||||
{{- end -}}
|
|
||||||
<p>{{ .content | markdownify }}</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
{{- end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
Loading…
x
Reference in New Issue
Block a user