Migliorie grafiche generali

This commit is contained in:
loviuz 2022-12-24 19:15:22 +01:00
parent 9679333723
commit 57262d8bc0
7 changed files with 105 additions and 5 deletions

View File

@ -354,4 +354,26 @@ p{
padding: 8px;
background: #fff;
border: 1px solid #ddd;
}
.big-button{
margin: 6px 0;
display: inline-block;
padding: 0.5em 1em;
text-decoration: none;
background: #f7f7f7;
border-left: solid 6px #0d71ae;
color: #0d71ae;
font-weight: bold;
box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.29);
}
.big-button:active {
box-shadow: inset 0 0 2px rgba(128, 128, 128, 0.1);
transform: translateY(2px);
}
hr{
border: 2px dashed #bbb;
margin: 30px 0;
}

View File

@ -33,7 +33,9 @@ pygmentscodefencesguesssyntax = true
#customSCSS = ["scss/custom.scss"]
#customJS = ["js/custom.js"]
[params.donations_no]
telegram_url = "https://t.me/openit_este"
[params.donations]
liberapay_username = "loviuz"
stripe_donation_link = "https://donate.stripe.com/bIY14hdxefdxdoceUU"

View File

@ -2,11 +2,12 @@
title: Chi siamo
slug: chi-siamo
date: 2022-12-19T22:16:00+02:00
include_donations: true
---
OpenIT Este è un gruppo Linux di Este, in provincia di Padova, in Veneto.
Fondato da [Fabio Lovato](https://loviuz.me) per aggregare persone che vogliono lottare per diritti e libertà digitali, promuovendo software libero a partire da GNU/Linux.
Fondato da [Fabio Lovato](https://loviuz.me) per aggregare persone che vogliono lottare per diritti e libertà digitali, promuovendo software libero a partire da GNU/Linux e contribuendo attivamente.
![Pinguini](antarctic-gce07cbed1_1280.webp)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

View File

@ -1,7 +1,19 @@
{{ with .Site.Params.donations }}
<hr>
<h4>👍 Ti piace questo contenuto?</h4>
Se vuoi sostenere questo blog e le mie attività puoi scegliere di fare una donazione libera una tantum oppure di fare una donazione ricorrente per un sostegno continuativo.
{{ with .Site.Params.telegram_url }}
👋 Per qualsiasi dubbio o domanda potete scriverci direttamente dal nostro gruppo <b>Telegram</b>:
<br>
<a href="{{ . }}" class="big-button" target="_blank">ENTRA NEL GRUPPO TELEGRAM ➡️</a>
{{ end }}
{{ with .Site.Params.donations }}
<hr>
<h4>👍 Vuoi supportare la nostra attività?</h4>
Se vuoi sostenere questo gruppo e le nostre attività puoi scegliere di fare una donazione libera una tantum oppure di fare una donazione ricorrente per un sostegno continuativo.<br>
Qui trovi le nostre entrate e uscite:<br>
<a href="https://cryptpad.devol.it/sheet/#/2/sheet/view/-Yyv8kGnXkL6hRqmemgYh1E7aivrhC4r3-4hSdAX4K4/" target="_blank"><b>Mini-bilancio</b></a>
<br><br>
<div class="donations">

View File

@ -0,0 +1,63 @@
{{ define "title" }}
{{ .Title }} · {{ .Site.Title }}
{{ end }}
{{ define "content" }}
<section class="container post">
{{ if .Section }}
<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>
</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 "donations.html" . }}
<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 }}