forked from BgLUG/bglug.it
Compare commits
4 Commits
7a6f1b7763
...
ee19fe05ee
Author | SHA1 | Date | |
---|---|---|---|
ee19fe05ee | |||
0c08f7b777 | |||
9dea09f412 | |||
f9f2f762f9 |
@ -8,7 +8,8 @@ RUN \
|
|||||||
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
||||||
|
|
||||||
COPY docker/rootfs /
|
COPY docker/rootfs /
|
||||||
COPY --chown=nginx:www-data --chmod=a-x,a=rX,ug+w public/ /wwwroot/
|
COPY --chown=nginx:www-data public/ /wwwroot/
|
||||||
|
RUN find /wwwroot/ -type d -exec chmod 755 {} \; -o -type f -exec chmod 644 {} \;
|
||||||
|
|
||||||
# config test
|
# config test
|
||||||
RUN nginx -t
|
RUN nginx -t
|
||||||
|
@ -53,6 +53,7 @@ params:
|
|||||||
taxonomies:
|
taxonomies:
|
||||||
tag: tags
|
tag: tags
|
||||||
author: author
|
author: author
|
||||||
|
location: locations
|
||||||
|
|
||||||
languages:
|
languages:
|
||||||
it:
|
it:
|
||||||
|
3
content/locations/_index.en.md
Normal file
3
content/locations/_index.en.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
title: All locations
|
||||||
|
---
|
3
content/locations/_index.it.md
Normal file
3
content/locations/_index.it.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
title: Tutte le location
|
||||||
|
---
|
@ -14,9 +14,9 @@ slug: dove-siamo
|
|||||||
|
|
||||||
## Dove puoi trovarci
|
## Dove puoi trovarci
|
||||||
|
|
||||||
Il **Bergamo Linux Users Group** si ritrova ogni **martedì dalle 21.00 alle 24.00** e il sabato dalle 15.00 alle 19.00 presso la sede del [FABLAB](https://www.fablabbergamo.it/) [in via Mauro Gavazzeni 3 - Bergamo**](https://www.openstreetmap.org/node/4712453185).
|
Il **Bergamo Linux Users Group** si ritrova ogni **martedì dalle 21.00 alle 24.00** e il sabato dalle 15.00 alle 19.00 presso la sede del [FABLAB](https://www.fablabbergamo.it/) [in via Mauro Gavazzeni 3 - Bergamo](https://www.openstreetmap.org/node/4712453185).
|
||||||
|
|
||||||
Eventuali modifiche/chiusure temporanee verranno comunicate in **Mailing list** - [**leggi qui se non sei iscritto**](https://lists.linux.it/pipermail/bglug/).
|
Eventuali modifiche/chiusure temporanee verranno comunicate in **Mailing list** - [leggi qui se non sei iscritto](https://lists.linux.it/pipermail/bglug/).
|
||||||
|
|
||||||
|
|
||||||
[](https://www.openstreetmap.org/node/4712453185)
|
[](https://www.openstreetmap.org/node/4712453185)
|
@ -2,3 +2,5 @@
|
|||||||
license: License
|
license: License
|
||||||
footer_license_note: Except where otherwise noted, content on this site is published under [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/) license.
|
footer_license_note: Except where otherwise noted, content on this site is published under [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/) license.
|
||||||
all_posts_by: "All {{ . }}'s posts"
|
all_posts_by: "All {{ . }}'s posts"
|
||||||
|
location: Location
|
||||||
|
all_events_in: All events in
|
||||||
|
@ -2,3 +2,5 @@
|
|||||||
license: Licenza
|
license: Licenza
|
||||||
footer_license_note: Eccetto dove diversamente indicato, ogni contenuto di questo sito è pubblicato con licenza [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/).
|
footer_license_note: Eccetto dove diversamente indicato, ogni contenuto di questo sito è pubblicato con licenza [CC-BY-SA](https://creativecommons.org/licenses/by-sa/4.0/).
|
||||||
all_posts_by: "Tutti i post di {{ . }}"
|
all_posts_by: "Tutti i post di {{ . }}"
|
||||||
|
location: Dove
|
||||||
|
all_events_in: Tutti gli eventi in
|
||||||
|
@ -14,6 +14,9 @@
|
|||||||
{{ if .Site.Params.show_post_dates | default true }}
|
{{ if .Site.Params.show_post_dates | default true }}
|
||||||
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{- with .Params.location_link -}}
|
||||||
|
<div class="location">{{ T "location" }}: {{ . | markdownify }}</div>
|
||||||
|
{{ end }}
|
||||||
{{- with .Params.license -}}
|
{{- with .Params.license -}}
|
||||||
<div class="license">{{ T "license" }}: {{ . | markdownify }}</div>
|
<div class="license">{{ T "license" }}: {{ . | markdownify }}</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
17
layouts/locations/list.html
Normal file
17
layouts/locations/list.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<header>
|
||||||
|
<h2>{{ T "all_events_in" }} {{ .Title }}</h2>
|
||||||
|
{{ with .Description -}}
|
||||||
|
<p>{{ . }}</p>
|
||||||
|
{{- end }}
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{{- if .Params.image }}
|
||||||
|
<span class="image featured"><img src="{{ .Params.image | relURL }}" alt="{{ .Params.image_alt }}" /></span>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range .RegularPages }}
|
||||||
|
{{ .Render "shortblock" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
@ -1,2 +1,3 @@
|
|||||||
{{- partial "sidebar/en_vieni-a-trovarci.html" . -}}
|
{{- partial "sidebar/en_vieni-a-trovarci.html" . -}}
|
||||||
{{- partial "sidebar/en_taglist.html" . -}}
|
{{- partial "sidebar/en_taglist.html" . -}}
|
||||||
|
{{- partial "sidebar/locationlist.html" . -}}
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
{{- partial "sidebar/it_vieni-a-trovarci.html" . -}}
|
{{- partial "sidebar/it_vieni-a-trovarci.html" . -}}
|
||||||
{{- partial "sidebar/it_taglist.html" . -}}
|
{{- partial "sidebar/it_taglist.html" . -}}
|
||||||
|
{{- partial "sidebar/locationlist.html" . -}}
|
||||||
|
11
layouts/partials/sidebar/locationlist.html
Normal file
11
layouts/partials/sidebar/locationlist.html
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<section>
|
||||||
|
{{- $hiddenTags := slice "Linuxday-Featured" -}}
|
||||||
|
<h3>Locations</h3>
|
||||||
|
<ul class="tags-sidebar">
|
||||||
|
{{ range where .Site.Taxonomies.locations ".Page.Section" .Section }}
|
||||||
|
{{ if not (in $hiddenTags .Page.LinkTitle ) }}
|
||||||
|
<li><a href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML}}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</section>
|
Loading…
x
Reference in New Issue
Block a user