Merge branch 'galleria-foto'
@ -14,6 +14,8 @@ tags:
|
||||
- Linux Day
|
||||
---
|
||||
|
||||
{{< foldergallery src="foto" >}}
|
||||
|
||||
Ieri si è svolto come ogni anno la più grande ed importante manifestazione italiana dedicata a **GNU/Linux** ed al **software libero**, il **Linux Day**, e quest'anno siamo tornati a svolgerlo alla facoltà di ingegneria di Dalmine come fatto più volte in passato.
|
||||
|
||||
E' stata senza dubbio una gran giornata e la partecipazione è stata notevole. Sebbene quest'anno mancasse una delle scuole abitualmente presenti, c'è stato un notevole afflusso sia al mattino che al pomeriggio.
|
||||
|
43
layouts/shortcodes/foldergallery.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!-- /layouts/shortcodes/foldergallery.html -->
|
||||
|
||||
<style>
|
||||
div.gallery {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
div.gallery a {
|
||||
flex-grow: 1;
|
||||
object-fit: cover;
|
||||
margin: 2px;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
div.gallery a img {
|
||||
height: 200px;
|
||||
object-fit: cover;
|
||||
flex-grow: 1;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.4.0/jquery.fancybox.min.js"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.4.0/jquery.fancybox.min.css" />
|
||||
|
||||
<div class="gallery">
|
||||
{{ $path := print "static/img/" (.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 "/img" "/" $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 }}
|
||||
</div>
|
BIN
static/img/foto/2016_1022_11182900.jpg
Normal file
After Width: | Height: | Size: 938 KiB |
BIN
static/img/foto/2016_1022_11193500.jpg
Normal file
After Width: | Height: | Size: 874 KiB |
BIN
static/img/foto/2016_1022_11211000.jpg
Normal file
After Width: | Height: | Size: 803 KiB |
BIN
static/img/foto/2016_1022_11231900.jpg
Normal file
After Width: | Height: | Size: 709 KiB |
BIN
static/img/foto/2016_1022_11242400.jpg
Normal file
After Width: | Height: | Size: 809 KiB |
BIN
static/img/foto/2016_1022_11303800.jpg
Normal file
After Width: | Height: | Size: 791 KiB |
BIN
static/img/foto/2016_1022_11321800.jpg
Normal file
After Width: | Height: | Size: 658 KiB |
BIN
static/img/foto/2016_1022_11332200.jpg
Normal file
After Width: | Height: | Size: 866 KiB |
BIN
static/img/foto/2016_1022_11341000.jpg
Normal file
After Width: | Height: | Size: 978 KiB |
BIN
static/img/foto/2016_1022_11343200.jpg
Normal file
After Width: | Height: | Size: 787 KiB |
BIN
static/img/foto/2016_1022_11435700.jpg
Normal file
After Width: | Height: | Size: 930 KiB |
BIN
static/img/foto/2016_1022_11462000.jpg
Normal file
After Width: | Height: | Size: 726 KiB |
BIN
static/img/foto/2016_1022_11464300.jpg
Normal file
After Width: | Height: | Size: 875 KiB |
BIN
static/img/foto/2016_1022_11490500.jpg
Normal file
After Width: | Height: | Size: 913 KiB |
BIN
static/img/foto/2016_1022_14065500.jpg
Normal file
After Width: | Height: | Size: 683 KiB |
BIN
static/img/foto/2016_1022_14072800.jpg
Normal file
After Width: | Height: | Size: 904 KiB |
BIN
static/img/foto/2016_1022_14083300.jpg
Normal file
After Width: | Height: | Size: 794 KiB |
BIN
static/img/foto/2016_1022_14093900.jpg
Normal file
After Width: | Height: | Size: 701 KiB |
BIN
static/img/foto/2016_1022_14094700.jpg
Normal file
After Width: | Height: | Size: 768 KiB |
BIN
static/img/foto/2016_1022_14095200.jpg
Normal file
After Width: | Height: | Size: 870 KiB |
BIN
static/img/foto/2016_1022_14101500.jpg
Normal file
After Width: | Height: | Size: 762 KiB |
BIN
static/img/foto/2016_1022_14104200.jpg
Normal file
After Width: | Height: | Size: 656 KiB |
BIN
static/img/foto/2016_1022_14581200.jpg
Normal file
After Width: | Height: | Size: 820 KiB |
BIN
static/img/foto/2016_1022_14581600.jpg
Normal file
After Width: | Height: | Size: 845 KiB |
BIN
static/img/foto/2016_1022_15011100.jpg
Normal file
After Width: | Height: | Size: 665 KiB |
BIN
static/img/foto/2016_1022_15023400.jpg
Normal file
After Width: | Height: | Size: 806 KiB |
BIN
static/img/foto/2016_1022_15025400.jpg
Normal file
After Width: | Height: | Size: 823 KiB |
BIN
static/img/foto/2016_1022_15035100.jpg
Normal file
After Width: | Height: | Size: 841 KiB |
BIN
static/img/foto/2016_1022_15414100.jpg
Normal file
After Width: | Height: | Size: 802 KiB |
BIN
static/img/foto/2016_1022_15463000.jpg
Normal file
After Width: | Height: | Size: 791 KiB |
BIN
static/img/foto/2016_1022_15521600.jpg
Normal file
After Width: | Height: | Size: 888 KiB |
BIN
static/img/foto/2016_1022_15552500.jpg
Normal file
After Width: | Height: | Size: 749 KiB |
BIN
static/img/foto/2016_1022_15564800.jpg
Normal file
After Width: | Height: | Size: 854 KiB |
BIN
static/img/foto/2016_1022_15570500.jpg
Normal file
After Width: | Height: | Size: 844 KiB |
BIN
static/img/foto/2016_1022_15573700.jpg
Normal file
After Width: | Height: | Size: 834 KiB |
BIN
static/img/foto/2016_1022_15575700.jpg
Normal file
After Width: | Height: | Size: 806 KiB |
BIN
static/img/foto/2016_1022_15581700.jpg
Normal file
After Width: | Height: | Size: 794 KiB |
BIN
static/img/foto/2016_1022_15582700.jpg
Normal file
After Width: | Height: | Size: 778 KiB |
BIN
static/img/foto/2016_1022_15585900.jpg
Normal file
After Width: | Height: | Size: 839 KiB |
BIN
static/img/foto/2016_1022_16150700.jpg
Normal file
After Width: | Height: | Size: 1018 KiB |
BIN
static/img/foto/2016_1022_16434000.jpg
Normal file
After Width: | Height: | Size: 868 KiB |
BIN
static/img/foto/2016_1022_16434200.jpg
Normal file
After Width: | Height: | Size: 794 KiB |
BIN
static/img/foto/2016_1022_16470400.jpg
Normal file
After Width: | Height: | Size: 637 KiB |
BIN
static/img/foto/2016_1022_16475300.jpg
Normal file
After Width: | Height: | Size: 757 KiB |
BIN
static/img/foto/2016_1022_16495300.jpg
Normal file
After Width: | Height: | Size: 717 KiB |
BIN
static/img/foto/2016_1022_16500700.jpg
Normal file
After Width: | Height: | Size: 727 KiB |
BIN
static/img/foto/2016_1022_16501400.jpg
Normal file
After Width: | Height: | Size: 700 KiB |
BIN
static/img/foto/2016_1022_16512600.jpg
Normal file
After Width: | Height: | Size: 854 KiB |
BIN
static/img/foto/2016_1022_16575700.jpg
Normal file
After Width: | Height: | Size: 755 KiB |
BIN
static/img/foto/2016_1022_16591300.jpg
Normal file
After Width: | Height: | Size: 680 KiB |
BIN
static/img/foto/2016_1022_16594700.jpg
Normal file
After Width: | Height: | Size: 803 KiB |