initial commit
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 1m38s

This commit is contained in:
Paolo Asperti 2024-09-19 20:48:21 +02:00
parent 0c08f7b777
commit 180fc8d16e
Signed by: paspo
GPG Key ID: 06D46905D19D5182
10 changed files with 44 additions and 0 deletions

View File

@ -53,6 +53,7 @@ params:
taxonomies: taxonomies:
tag: tags tag: tags
author: author author: author
location: locations
languages: languages:
it: it:

View File

@ -0,0 +1,3 @@
---
title: All locations
---

View File

@ -0,0 +1,3 @@
---
title: Tutte le location
---

View File

@ -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

View File

@ -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

View File

@ -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 }}

View 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 }}

View File

@ -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" . -}}

View File

@ -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" . -}}

View 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>