Adattamenti grafici minori

This commit is contained in:
Fabio Lovato 2023-05-21 16:16:12 +02:00
parent a63247878a
commit 368d438258
11 changed files with 197 additions and 183 deletions

View File

@ -2,6 +2,7 @@
title: Chi siamo
slug: chi-siamo
date: 2022-12-19T22:16:00+02:00
IgnoreTableOfContents: true
include_donations: true
---

View File

@ -8,6 +8,7 @@ slug: linux-day-2022-este
images:
- linuxday_fullcolor.jpg
layout: news
fullcover: true
tags:
- linux
- linuxday

View File

@ -8,6 +8,7 @@ slug: post-linux-day-2022-este
images:
- post-linux-day.jpg
layout: news
fullcover: true
tags:
- linux
- linuxday

View File

@ -8,6 +8,7 @@ slug: coderdojo-14-gennaio-2023
images:
- coderdojo.jpg
layout: news
fullcover: true
tags:
- coderdojo
- scratch

View File

@ -6,6 +6,7 @@ IgnoreTableOfContents: true
authors:
- loviuz
slug: attivita-maggio-2023
fullcover: true
images:
- openit-este-maggio.webp
layout: news

View File

@ -9,6 +9,7 @@ slug: passa-a-linux
images:
- passa-a-linux.webp
layout: news
fullcover: true
tags:
- linux
- tecnologie
@ -43,8 +44,6 @@ Inoltre, l'uso di tecnologie chiuse può comportare **rischi per la democrazia**
Questo rappresenta un **grave rischio per la democrazia**, poiché la manipolazione dell'opinione pubblica attraverso i dati personali deglɜ utenti potrebbe influenzare l'esito delle elezioni e minare la fiducia nel processo democratico. Inoltre, l'uso di tecnologie chiuse potrebbe aumentare il **divario tecnologico** tra i paesi sviluppati e quelli in via di sviluppo, poiché i paesi più ricchi hanno più accesso alle tecnologie avanzate, mentre i paesi meno sviluppati sono più vulnerabili agli attacchi informatici e alla raccolta di dati non autorizzata.
![Passa a Linux!](passa-a-linux.webp)
## Che cosa facciamo?

View File

@ -1,69 +1,69 @@
{{ define "title" }}
{{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }}
{{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container list">
<section class="container list">
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{- if eq .Kind "term" -}}
{{- i18n .Data.Plural 1 | title -}}
{{- print ": " -}}
{{- end -}}
{{- i18n (lower .Title) | default .Title | title -}}
</a>
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{- if eq .Kind "term" -}}
{{- i18n .Data.Plural 1 | title -}}
{{- print ": " -}}
{{- end -}}
{{- i18n (lower .Title) | default .Title | title -}}
</a>
</h1>
{{ .Content }}
<ul class="news-list">
{{ range .Paginator.Pages }}
{{ range .Paginator.Pages }}
{{ if .Params.images }}
{{ $image := .Resources.GetMatch (index (.Params.images) 0) }}
{{ if $image }}
<li>
{{ $image := $image.Resize "x480" }}
{{ $image := $image.Crop "480x350" }}
<div class="news-image">
<a href="{{ .Params.externalLink | default .RelPermalink }}">
{{ $image := .Resources.GetMatch (index (.Params.images) 0) }}
{{ if $image }}
<li>
{{ $image := $image.Resize "x350" }}
{{ $image := $image.Crop "480x350" }}
<div class="news-image">
<a href="{{ .Params.externalLink | default .RelPermalink }}">
<img src="{{ $image.RelPermalink }}">
</a>
</div>
</a>
</div>
<div class="date">
<span class="posted-on">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date | time.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}
{{ .Date | time.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}
</time>
</span>
<span class="reading-time">
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
<hr class="light">
</span>
</div>
<hr class="light">
<a class="title" href="{{ .Params.externalLink | default .RelPermalink }}">{{ .Title }}</a><br>
<span class="description">{{ .Params.description }}.</span>
<br><br>
<a class="title" href="{{ .Params.externalLink | default .RelPermalink }}">{{ .Title }}</a><br>
<span class="description">{{ .Params.description }}.</span>
<br><br>
{{ if .Params.tags }}
<div class="tags">
<i class="fa fa-tag" aria-hidden="true"></i>
{{- range $index, $el := .Params.tags -}}
{{- if gt $index 0 }}
<span class="separator"></span>
{{- end }}
<span class="tag">
<a href="{{ ( printf "tags/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
</span>
{{- end -}}
</div>
{{ end }}
<div style="clear:both;"></div>
</li>
{{ end }}
{{ if .Params.tags }}
<div class="tags">
<i class="fa fa-tag" aria-hidden="true"></i>
{{- range $index, $el := .Params.tags -}}
{{- if gt $index 0 }}
<span class="separator"></span>
{{- end }}
<span class="tag">
<a href="{{ ( printf "tags/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
</span>
{{- end -}}
</div>
{{ end }}
<div style="clear:both;"></div>
</li>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
</ul>
{{ partial "pagination.html" . }}
</section>
{{ end }}
</section>
{{ end }}

View File

@ -1,65 +1,70 @@
{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container post">
<section class="container post">
{{ if .Section }}
<a href="{{.Site.BaseURL}}/{{.Section}}"><i class="fa fa-chevron-left fa-fw"></i> Torna alle {{.Section}}</a>
<a href="{{.Site.BaseURL}}/{{.Section}}"><i class="fa fa-chevron-left fa-fw"></i> Torna alle {{.Section}}</a>
{{ end }}
<article>
<header>
<div class="post-title">
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ .Title }}
</a>
</h1>
<header>
<div class="post-title">
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ .Title }}
</a>
</h1>
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date | time.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
{{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</header>
<div>
{{ with .Resources.GetMatch (index (.Params.images) 0) }}
{{ $image := . }}
{{ $image_cropped := .Crop "1280x250" }}
{{ if $.Page.Params.fullcover }}
<img src="{{ $image.RelPermalink }}">
{{ else }}
<img src="{{ $image_cropped.RelPermalink }}">
{{ end }}
{{ end }}
{{ if not .Params.IgnoreTableOfContents }}
{{ .TableOfContents }}
{{ end }}
{{ .Content | safeHTML }}
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date | time.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
{{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</header>
<div>
{{ with .Resources.GetMatch (index (.Params.images) 0) }}
{{ $image := . }}
{{ $image := $image.Crop "1280x250" }}
<img src="{{ $image.RelPermalink }}">
{{ end }}
{{ if not .Params.IgnoreTableOfContents }}
{{ .TableOfContents }}
{{ end }}
{{ .Content | safeHTML }}
</div>
{{ partial "socialshare.html" . }}
{{ partial "socialshare.html" . }}
{{ partial "donations.html" . }}
{{ partial "donations.html" . }}
<footer>
{{ partial "posts/series.html" . }}
{{ partial "posts/disqus.html" . }}
{{ partial "posts/commento.html" . }}
{{ partial "posts/utterances.html" . }}
</footer>
<footer>
{{ partial "posts/series.html" . }}
{{ partial "posts/disqus.html" . }}
{{ partial "posts/commento.html" . }}
{{ partial "posts/utterances.html" . }}
</footer>
</article>
{{ partial "posts/math.html" . }}
</section>
{{ end }}
</section>
{{ end }}

View File

@ -1,39 +1,41 @@
<section class="container page">
{{ if .Section }}
{{ if .Section }}
<a href="{{.Site.BaseURL}}/{{.Section}}"><i class="fa fa-chevron-left fa-fw"></i> Torna a {{.Section}}</a>
{{ end }}
<article>
<header>
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ .Title }}
</a>
</h1>
{{ end }}
<article>
<header>
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ .Title }}
</a>
</h1>
{{ if .Params.tags }}
<ul class="tags">
{{ range .Params.tags }}
<li>#{{ . }}</li>
{{ end }}
</ul>
{{ end }}
</header>
{{ if .Params.tags }}
<ul class="tags">
{{ range .Params.tags }}
<li>#{{ . }}</li>
{{ end }}
</ul>
{{ end }}
</header>
<div>
{{ with .Resources.GetMatch (index (.Params.images) 0) }}
{{ $image := . }}
{{ $image := $image.Crop "1280x250" }}
<img src="{{ $image.RelPermalink }}">
{{ end }}
<div>
{{ with .Resources.GetMatch (index (.Params.images) 0) }}
{{ $image := . }}
{{ $image := $image.Crop "1280x250" }}
<img src="{{ $image.RelPermalink }}">
{{ end }}
{{ .TableOfContents }}
{{ .Content | safeHTML }}
</div>
</article>
{{ if not .Params.IgnoreTableOfContents }}
{{ .TableOfContents }}
{{ end }}
{{ .Content | safeHTML }}
</div>
</article>
{{ partial "socialshare.html" . }}
{{ if .Params.include_donations }}
{{ partial "socialshare.html" . }}
{{ if .Params.include_donations }}
{{ partial "donations.html" . }}
{{ end }}
</section>
{{ end }}
</section>

View File

@ -1,63 +1,65 @@
{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container post">
<section class="container post">
{{ if .Section }}
<a href="{{.Site.BaseURL}}/{{.Section}}"><i class="fa fa-chevron-left fa-fw"></i> Torna alle {{.Section}}</a>
<a href="{{.Site.BaseURL}}/{{.Section}}"><i class="fa fa-chevron-left fa-fw"></i> Torna alle {{.Section}}</a>
{{ end }}
<article>
<header>
<div class="post-title">
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ .Title }}
</a>
</h1>
<header>
<div class="post-title">
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{ .Title }}
</a>
</h1>
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date | time.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
{{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</header>
<div>
{{ with .Resources.GetMatch (index (.Params.images) 0) }}
{{ $image := . }}
{{ $image := $image.Crop "1280x250" }}
<img src="{{ $image.RelPermalink }}">
{{ end }}
{{ if not .Params.IgnoreTableOfContents }}
{{ .TableOfContents }}
{{ end }}
{{ .Content | safeHTML }}
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date | time.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
{{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</header>
<div>
{{ with .Resources.GetMatch (index (.Params.images) 0) }}
{{ $image := . }}
{{ $image := $image.Crop "1280x250" }}
<img src="{{ $image.RelPermalink }}">
{{ end }}
{{ .TableOfContents }}
{{ .Content | safeHTML }}
</div>
{{ partial "socialshare.html" . }}
{{ partial "socialshare.html" . }}
{{ partial "donations.html" . }}
{{ partial "donations.html" . }}
<footer>
{{ partial "posts/series.html" . }}
{{ partial "posts/disqus.html" . }}
{{ partial "posts/commento.html" . }}
{{ partial "posts/utterances.html" . }}
</footer>
<footer>
{{ partial "posts/series.html" . }}
{{ partial "posts/disqus.html" . }}
{{ partial "posts/commento.html" . }}
{{ partial "posts/utterances.html" . }}
</footer>
</article>
{{ partial "posts/math.html" . }}
</section>
{{ end }}
</section>
{{ end }}

1
themes/hugo-coder Submodule

@ -0,0 +1 @@
Subproject commit 1fb96cf9a920c46e01f3c0736cf01770c041617e