1
0
forked from BgLUG/bglug.it

Compare commits

...

2 Commits

Author SHA1 Message Date
1d827eae76 primo fix foldergallery (#143)
BgLUG/bglug.it#139
Reviewed-on: BgLUG/bglug.it#143
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-07-21 22:27:42 +00:00
7b3ba3f9fc un carattere sbagliato nel file che ferma la compilazione (#142)
e ho rimosso anche un heading ridondante

Reviewed-on: BgLUG/bglug.it#142
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
2024-07-21 22:26:11 +00:00
2 changed files with 13 additions and 18 deletions

View File

@ -1,4 +1,4 @@
---'
---
title: "Bitcoin cos'è, come si usa"
author: bglug
type: post
@ -14,8 +14,6 @@ categories:
- Eventi
---
# Bitcoin, cos'è e come si usa
Bitcoin è una tecnologia nata nel 2009 su internet, è gestita interamente da utenti e ha funzione di moneta digitale libera da banche e stati. E' un progetto che consentirà di avere la propria libertà e sicurezza finanziaria, senza passare da enti centrali.
Seminario di un'ora circa in cui verrà spiegato cos'è Bitcoin e come creare il proprio portafoglio in maniera totalmente gratuita, oltre a una breve dimostrazione pratica del mining, ovvero della procedura che consente di produrre nuova moneta.

View File

@ -28,19 +28,16 @@
<link rel="stylesheet" href="/js/jquery.fancybox.3.5.7.min.css" />
<div class="gallery">
{{ $path := print "content/gallery/" (.Get "src") }}
{{ $url := print (.Get "src") }}
{{ range (readDir $path) }}
{{/* don't try to display .DS_Store or directories */}}
{{ if and (ne .Name ".DS_Store") (not .IsDir) }}
{{ $src := print "/it/gallery" "/" $url "/" .Name }}
{{/*
troubleshoot the $src variable as needed
<!-- <p>{{ $src }}</p> -->
*/}}
<a data-fancybox="gallery" data-caption="{{ .Name }}" href="{{ $src }}">
<img src="{{ $src }}"> <br/>
</a>
{{ end }}
{{ end }}
{{- range (.Page.Resources.ByType "image") -}}
{{- $big := .Resize "x1600 webp q85" -}}
{{- $mid := .Resize "x1080 webp q80" -}}
{{- $sml := .Resize "x480 webp q70" -}}
{{- $thumb := .Resize "x200 webp q50" -}}
<a data-fancybox="gallery" data-type="image"
data-caption="{{ .Title }}"
data-srcset="{{ $big.RelPermalink }} {{ $big.Width }}w, {{ $mid.RelPermalink }} {{ $mid.Width }}w, {{ $sml.RelPermalink }} {{ $sml.Width }}w"
href="{{ $big.RelPermalink }}">
<img src="{{ $thumb.RelPermalink }}" alt="">
</a>
{{- end -}}
</div>