forked from BgLUG/bglug.it
Compare commits
No commits in common. "94b702dd1b40400dd7b5eb7daf64dd848b7c651e" and "1bbeead7612271d28b05f7428dc4695b706aa02c" have entirely different histories.
94b702dd1b
...
1bbeead761
9
.gitmodules
vendored
9
.gitmodules
vendored
@ -1,3 +1,6 @@
|
|||||||
[submodule "themes/hugo-arcana"]
|
[submodule "themes/ananke"]
|
||||||
path = themes/hugo-arcana
|
path = themes/ananke
|
||||||
url = https://github.com/half-duplex/hugo-arcana.git
|
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git
|
||||||
|
[submodule "themes/tailwind"]
|
||||||
|
path = themes/tailwind
|
||||||
|
url = https://github.com/tomowang/hugo-theme-tailwind.git
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
|
||||||
date: {{ .Date }}
|
|
||||||
#expiryDate: # set this if the post should be removed automatically some time in the future
|
|
||||||
#publishDate: # set this if the post should be published automatically some time in the future
|
|
||||||
draft: true
|
|
||||||
slug: "{{ .Name | lower }}"
|
|
||||||
type: post
|
|
||||||
image: image.png # if you don't specify an image, the first available is used
|
|
||||||
image_alt: description of the featured image. The image ratio should be 360x250.
|
|
||||||
summary: If not present, the content will be used instead
|
|
||||||
tags:
|
|
||||||
- eventi
|
|
||||||
categories:
|
|
||||||
- Eventi
|
|
||||||
---
|
|
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
|
||||||
date: {{ .Date }}
|
|
||||||
#expiryDate: # impostare se il post deve essere rimosso automaticamente nel futuro
|
|
||||||
#publishDate: # impostare se il post deve essere pubblicato automaticamente nel futuro
|
|
||||||
draft: true
|
|
||||||
slug: "{{ .Name | lower }}"
|
|
||||||
type: post
|
|
||||||
image: image.png # se non metti un'immagine, viene presa la prima immagine del post
|
|
||||||
image_alt: "Descrizione dell'immagine. Il ratio dell'immagine deve essere 360x250."
|
|
||||||
summary: Se non presente, usa il testo dell'articolo
|
|
||||||
tags:
|
|
||||||
- eventi
|
|
||||||
categories:
|
|
||||||
- Eventi
|
|
||||||
---
|
|
@ -1,24 +0,0 @@
|
|||||||
#logo-wrapper {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: stretch;
|
|
||||||
align-content: center;
|
|
||||||
vertical-align: baseline;
|
|
||||||
}
|
|
||||||
|
|
||||||
#logo-image-wrapper > a {
|
|
||||||
border: 0px solid white;
|
|
||||||
}
|
|
||||||
|
|
||||||
#logo-text-wrapper {
|
|
||||||
padding: 1.3em 0px 0px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box.post {
|
|
||||||
height: 300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.image.left img {
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
$palette: (
|
|
||||||
bg: #fff,
|
|
||||||
bg-bold: #f7f7f7,
|
|
||||||
fg: #474747,
|
|
||||||
fg-bold: #4c4c4c,
|
|
||||||
fg-light: #999,
|
|
||||||
border: #e0e0e0,
|
|
||||||
|
|
||||||
accent: (
|
|
||||||
bg: #f7990e,
|
|
||||||
fg: #fff
|
|
||||||
),
|
|
||||||
|
|
||||||
obscure: (
|
|
||||||
bg: #333,
|
|
||||||
bg-light: #555,
|
|
||||||
bg-bold: #1f1f1f,
|
|
||||||
fg: #c0c0c0
|
|
||||||
)
|
|
||||||
);
|
|
135
config.yml
135
config.yml
@ -2,36 +2,20 @@
|
|||||||
baseURL: https://bglug.it
|
baseURL: https://bglug.it
|
||||||
languageCode: it-IT
|
languageCode: it-IT
|
||||||
title: BgLUG
|
title: BgLUG
|
||||||
subtitle: Bergamo Linux Users Group
|
|
||||||
logo: logo_tondo.svg
|
|
||||||
author: BgLUG
|
author: BgLUG
|
||||||
theme: hugo-arcana
|
# theme: hugo-universal-theme
|
||||||
copyright: 2024 © Bergamo Linux Users Group
|
theme: tailwind
|
||||||
|
copyright: Bergamo Linux Users Group
|
||||||
paginate: 20
|
paginate: 20
|
||||||
timeout: 60s
|
timeout: 60s
|
||||||
|
|
||||||
params:
|
params:
|
||||||
description: Bergamo Linux Users Group
|
contentTypeName: posts
|
||||||
|
header:
|
||||||
social:
|
logo: logo_tondo.svg
|
||||||
- title: Twitter
|
footer:
|
||||||
icon: fa-twitter
|
since: 1854
|
||||||
url: https://x.com/bglug_it
|
poweredby: true
|
||||||
- title: Facebook
|
|
||||||
icon: fa-facebook-f
|
|
||||||
url: https://www.facebook.com/bglug
|
|
||||||
- title: LinkedIn
|
|
||||||
icon: fa-linkedin
|
|
||||||
url: https://www.linkedin.com/groups/154561/
|
|
||||||
- title: Gitea
|
|
||||||
icon: fa-git-alt
|
|
||||||
url: https://git.libreschool.org/BgLUG
|
|
||||||
- title: YouTube
|
|
||||||
icon: fa-youtube
|
|
||||||
url: https://www.youtube.com/@BglugIt
|
|
||||||
- title: YouTube
|
|
||||||
icon: fa-circle-play
|
|
||||||
url: https://video.linux.it/c/bglug.it/
|
|
||||||
|
|
||||||
taxonomies:
|
taxonomies:
|
||||||
tag: tags
|
tag: tags
|
||||||
@ -39,7 +23,6 @@ taxonomies:
|
|||||||
|
|
||||||
languages:
|
languages:
|
||||||
it:
|
it:
|
||||||
weight: 1
|
|
||||||
languageCode: it-IT
|
languageCode: it-IT
|
||||||
languageDirection: ltr
|
languageDirection: ltr
|
||||||
languageName: Italiano
|
languageName: Italiano
|
||||||
@ -54,47 +37,29 @@ languages:
|
|||||||
pages: /pagine/
|
pages: /pagine/
|
||||||
menus:
|
menus:
|
||||||
main:
|
main:
|
||||||
- identifier: home
|
|
||||||
name: Home
|
|
||||||
pageRef: /
|
|
||||||
weight: 1
|
|
||||||
- identifier: post
|
|
||||||
name: Post
|
|
||||||
pageRef: posts
|
|
||||||
weight: 10
|
|
||||||
- identifier: eventi
|
- identifier: eventi
|
||||||
name: Eventi
|
name: Eventi
|
||||||
pageRef: events
|
pageRef: events
|
||||||
weight: 20
|
weight: 0
|
||||||
- identifier: about
|
- identifier: post
|
||||||
name: L'associazione
|
name: Post
|
||||||
weight: 30
|
pageRef: posts
|
||||||
- identifier: chi-siamo
|
weight: 1
|
||||||
name: Chi siamo
|
|
||||||
parent: about
|
|
||||||
weight: 31
|
|
||||||
pageRef: /about/chi-siamo
|
|
||||||
- identifier: dove-siamo
|
- identifier: dove-siamo
|
||||||
name: Dove siamo
|
name: Dove siamo
|
||||||
parent: about
|
pageRef: pages/dove-siamo
|
||||||
pageRef: /about/dove-siamo
|
weight: 2
|
||||||
weight: 32
|
|
||||||
- identifier: organigramma
|
|
||||||
name: Organigramma
|
|
||||||
parent: about
|
|
||||||
pageRef: /about/organigramma
|
|
||||||
weight: 33
|
|
||||||
- identifer: segreteria
|
|
||||||
name: Segreteria
|
|
||||||
parent: about
|
|
||||||
pageRef: /about/segreteria
|
|
||||||
weight: 34
|
|
||||||
- identifier: privacy
|
- identifier: privacy
|
||||||
name: Privacy
|
name: Privacy
|
||||||
pageRef: /pages/privacy-policy
|
pageRef: pages/privacy-policy
|
||||||
weight: 40
|
# parent: chi-siamo
|
||||||
|
weight: 3
|
||||||
|
- identifier: chi-siamo
|
||||||
|
name: Chi siamo
|
||||||
|
pageRef: pages/chi-siamo
|
||||||
|
weight: 4
|
||||||
|
weight: 1
|
||||||
en:
|
en:
|
||||||
weight: 2
|
|
||||||
languageCode: en-US
|
languageCode: en-US
|
||||||
languageDirection: ltr
|
languageDirection: ltr
|
||||||
languageName: English
|
languageName: English
|
||||||
@ -109,47 +74,29 @@ languages:
|
|||||||
pages: /pages/
|
pages: /pages/
|
||||||
menus:
|
menus:
|
||||||
main:
|
main:
|
||||||
- identifier: home
|
|
||||||
name: Home
|
|
||||||
pageRef: /
|
|
||||||
weight: 1
|
|
||||||
- identifier: posts
|
|
||||||
name: Posts
|
|
||||||
pageRef: posts
|
|
||||||
weight: 10
|
|
||||||
- identifier: events
|
- identifier: events
|
||||||
name: Events
|
name: Events
|
||||||
pageRef: events
|
pageRef: events
|
||||||
weight: 20
|
weight: 0
|
||||||
- identifier: about
|
- identifier: posts
|
||||||
name: The association
|
name: Posts
|
||||||
weight: 30
|
pageRef: posts
|
||||||
- identifier: who
|
weight: 1
|
||||||
parent: about
|
- identifier: dove-siamo
|
||||||
name: Who we are
|
name: Where
|
||||||
pageRef: /about/who
|
pageRef: pages/dove-siamo
|
||||||
weight: 31
|
weight: 2
|
||||||
- identifier: where
|
|
||||||
parent: about
|
|
||||||
name: Where we are
|
|
||||||
pageRef: /about/where
|
|
||||||
weight: 32
|
|
||||||
- identifier: organigramme
|
|
||||||
parent: about
|
|
||||||
name: Organigramme
|
|
||||||
pageRef: /about/organigramme
|
|
||||||
weight: 33
|
|
||||||
- identifier: secretery
|
|
||||||
parent: about
|
|
||||||
name: Secretery
|
|
||||||
pageRef: /about/secretery
|
|
||||||
weight: 34
|
|
||||||
- identifier: privacy
|
- identifier: privacy
|
||||||
name: Privacy
|
name: Privacy
|
||||||
pageRef: /pages/privacy-policy
|
pageRef: pages/privacy-policy
|
||||||
weight: 40
|
weight: 3
|
||||||
|
- identifier: chi-siamo
|
||||||
|
name: Who
|
||||||
|
pageRef: pages/chi-siamo
|
||||||
|
weight: 4
|
||||||
|
weight: 2
|
||||||
|
|
||||||
defaultContentLanguage: it
|
defaultcontentlanguage: it
|
||||||
defaultContentLanguageInSubdir: true
|
defaultContentLanguageInSubdir: true
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
title: Privacy Policy
|
title: Privacy Policy
|
||||||
type: page
|
type: page
|
||||||
slug: privacy
|
slug: privacy
|
||||||
|
date: 2017-09-24T09:49:49+00:00
|
||||||
aliases:
|
aliases:
|
||||||
- privacy-policy
|
- privacy-policy
|
||||||
- cookies
|
- cookies
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
title: Privacy e Cookie Policy
|
title: Privacy e Cookie Policy
|
||||||
type: page
|
type: page
|
||||||
slug: privacy
|
slug: privacy
|
||||||
|
date: 2017-09-24T09:26:51+00:00
|
||||||
aliases:
|
aliases:
|
||||||
- privacy-policy
|
- privacy-policy
|
||||||
- cookies
|
- cookies
|
||||||
|
@ -177,5 +177,3 @@ A questo punto è possibile avviare l'App e fare la scansione che rileverà il *
|
|||||||
## Conclusione
|
## Conclusione
|
||||||
|
|
||||||
Come avete notato **Kodi** è decisamente un ottimo **media center**. Ora non resta che installarlo ed usarlo.
|
Come avete notato **Kodi** è decisamente un ottimo **media center**. Ora non resta che installarlo ed usarlo.
|
||||||
|
|
||||||
[Leggi le slide](kodi.pdf) dell'incontro.
|
|
Binary file not shown.
@ -18,8 +18,6 @@ tags:
|
|||||||
|
|
||||||
Il 28 giugno scorso si è svolto l'evento [NethServer, la distribuzione Linux server semplice da utilizzare]({{< relref "events/2016/nethserver">}}).
|
Il 28 giugno scorso si è svolto l'evento [NethServer, la distribuzione Linux server semplice da utilizzare]({{< relref "events/2016/nethserver">}}).
|
||||||
|
|
||||||
Sull'istanza [Peertube di ILS puoi rivedere l'incontro](https://video.linux.it/w/7PbmvFFeFdDNWMeGVUCa87).
|
|
||||||
|
|
||||||
E' stato tenuto da **Alessio Fattorini**, il _community manager_ di [NethServer](https://www.nethserver.org/), la distribuzione Linux server basata su **CentOS** gestita tramite interfaccia web.
|
E' stato tenuto da **Alessio Fattorini**, il _community manager_ di [NethServer](https://www.nethserver.org/), la distribuzione Linux server basata su **CentOS** gestita tramite interfaccia web.
|
||||||
|
|
||||||
Alessio ci ha parlato di come funziona NethServer ma anche della sua genesi. Oltre all'aspetto tecnico è stato interessante per capire come nasce un progetto _opensource_, come si gestisce una _community_ internazionale ed in continua espansione, quanto importante sia la _community_ per la crescita e l'evoluzione del progetto (sviluppo, testing, feedback, traduzione, documentazione, ...) e come l'**_opensource_** sia ormai diventato un **modello di business** vincente in tutto il mondo.
|
Alessio ci ha parlato di come funziona NethServer ma anche della sua genesi. Oltre all'aspetto tecnico è stato interessante per capire come nasce un progetto _opensource_, come si gestisce una _community_ internazionale ed in continua espansione, quanto importante sia la _community_ per la crescita e l'evoluzione del progetto (sviluppo, testing, feedback, traduzione, documentazione, ...) e come l'**_opensource_** sia ormai diventato un **modello di business** vincente in tutto il mondo.
|
||||||
@ -30,6 +28,6 @@ Per questo motivo, abbiamo deciso di registrare l'evento e renderlo disponibile
|
|||||||
|
|
||||||
Cogliamo l'occasione per ringraziare gli amici di **ArtiLab** che, oltre a fornirci la sala, hanno fatto riprese e montaggio video.
|
Cogliamo l'occasione per ringraziare gli amici di **ArtiLab** che, oltre a fornirci la sala, hanno fatto riprese e montaggio video.
|
||||||
|
|
||||||
Un ringraziamento particolare anche ad **Alessio Fattorini** (_community manager_) e **Cristian Mannoni** (_CEO_) di **Nethesis srl** (l'azienda italiana che sviluppa e supporta **NethServer**) per esser venuti da Pesaro per parlarci del loro progetto.
|
Un ringraziamento particolare anche ad **Alessio Fattorini** (_community manager_) e **Cristian Mannoni** (_CEO_) di **Nethesis srl** (l'azienda italiana che sviluppa e supporta **NethServer**) per esser venuti da Pesaro per parlarci del loro progetto.
|
||||||
|
|
||||||
A proposito del progetto, la loro _community_ è decisamente molto attiva, se volete contribuire non esitate a contattarli 😉
|
A proposito del progetto, la loro _community_ è decisamente molto attiva, se volete contribuire non esitate a contattarli 😉
|
Binary file not shown.
Before Width: | Height: | Size: 7.4 KiB |
@ -1,25 +0,0 @@
|
|||||||
---
|
|
||||||
title: I Love Free Software day 2024 a Bergamo
|
|
||||||
author: Omar Lazzari
|
|
||||||
type: post
|
|
||||||
date: 2024-01-30T16:04:23+00:00
|
|
||||||
slug: giornata-software-libero-2024
|
|
||||||
---
|
|
||||||
|
|
||||||
[PRENOTA LA TUA PARTECIPAZIONE QUI](https://sys42.cc/ILoveFS-prenotazioni)
|
|
||||||
|
|
||||||
Ogni anno, il **14 FEBBRAIO**, la FSFE, insieme alle organizzazioni di Software Libero di tutto il mondo, celebra l’“I Love Free Software Day”: una giornata speciale di gratitudine vero tutti i collaboratori di progetti di Software Libero, grandi o piccoli che siano.
|
|
||||||
|
|
||||||
Spesso dimentichiamo l’importanza di un semplice **GRAZIE**. Gli autori di Software Libero fanno un lavoro molto importante per la nostra società e meritano la nostra riconoscenza.
|
|
||||||
|
|
||||||
Partecipando a “Io ♥ il Software Libero” il 14 febbraio (il giorno di San Valentino) possiamo avere l’occasione di esprimere la nostra gratitudine verso queste persone. Celebriamo questa festa sin dal 2010, e i partecipanti sono ogni anno sempre di più. ♥ ♥ ♥
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Un aperitivo, due chiacchiere e un po’ di musica.
|
|
||||||
|
|
||||||
L’evento si svolgerà allo [SPAZIO POLARESCO – Zona Longuelo](https://www.qwant.com/maps/place/osm:relation:6638307@Spazio_Polaresco)
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
[PRENOTA LA TUA PARTECIPAZIONE QUI](https://sys42.cc/ILoveFS-prenotazioni)
|
|
Binary file not shown.
Before Width: | Height: | Size: 303 KiB |
@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
banner:
|
|
||||||
enable: true
|
|
||||||
image: images/computers_banner.jpg
|
|
||||||
contents: "What is Bergamo Linux Users Group?"
|
|
||||||
button:
|
|
||||||
contents: "Learn more..."
|
|
||||||
url: about/who
|
|
||||||
items:
|
|
||||||
- type: posts
|
|
||||||
content_type: posts
|
|
||||||
max: 6
|
|
||||||
- type: highlights
|
|
||||||
items_per_row: 2
|
|
||||||
items:
|
|
||||||
- title: Events
|
|
||||||
icon: fa-calendar-day
|
|
||||||
content: >
|
|
||||||
Come to our events! You would learn all that there is to know about
|
|
||||||
free software and *open source*
|
|
||||||
- title: Schools
|
|
||||||
icon: fa-graduation-cap
|
|
||||||
url: schools
|
|
||||||
content: >
|
|
||||||
Follow our volunteers on their activities by schools in the province
|
|
||||||
of Bergamo.
|
|
||||||
|
|
||||||
- type: cta
|
|
||||||
contents: Would you like to contribute to our activities?
|
|
||||||
button:
|
|
||||||
contents: "Contact us"
|
|
||||||
url: about/contacts
|
|
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
title: "BgLUG --- Bergamo Linux Users Group"
|
|
||||||
image: images/logo.svg
|
|
||||||
image_alt: Logo BgLUG
|
|
||||||
image_width: 300
|
|
@ -1,33 +0,0 @@
|
|||||||
---
|
|
||||||
banner:
|
|
||||||
enable: true
|
|
||||||
image: images/computers_banner.jpg
|
|
||||||
contents: "Cos'è il Bergamo Linux Users Group?"
|
|
||||||
button:
|
|
||||||
contents: "Scopri di più..."
|
|
||||||
url: about/chi-siamo
|
|
||||||
items:
|
|
||||||
- type: posts
|
|
||||||
content_type: posts
|
|
||||||
max: 6
|
|
||||||
- type: highlights
|
|
||||||
items_per_row: 2
|
|
||||||
items:
|
|
||||||
- title: Eventi
|
|
||||||
icon: fa-calendar-day
|
|
||||||
url: eventi
|
|
||||||
content: >
|
|
||||||
Accorri agli eventi che organizziamo! Avrai modo di imparare tutto
|
|
||||||
quello che c'è da sapere sul software libero o *open source*
|
|
||||||
- title: Scuole
|
|
||||||
icon: fa-graduation-cap
|
|
||||||
url: scuole
|
|
||||||
content: >
|
|
||||||
Segui i nostri volontari nelle loro attività presso le scuole della
|
|
||||||
provincia di Bergamo
|
|
||||||
|
|
||||||
- type: cta
|
|
||||||
contents: Vuoi aiutarci ad organizzare le nostre attività?
|
|
||||||
button:
|
|
||||||
contents: "Contattaci"
|
|
||||||
url: about/contatti
|
|
@ -1,54 +0,0 @@
|
|||||||
<section class="col-6 col-12-narrower">
|
|
||||||
<div class="box post">
|
|
||||||
|
|
||||||
{{ $rasters := slice "jpeg" "png" }}
|
|
||||||
{{ $newres := "360x250 smart" }}
|
|
||||||
|
|
||||||
{{/* di default, niente immagine */}}
|
|
||||||
{{- $featimg := "#" -}}
|
|
||||||
|
|
||||||
{{- if .Params.image -}}
|
|
||||||
{{/* se è stata definita un'immagine featured */}}
|
|
||||||
{{- $img := .Page.Resources.GetMatch .Params.image -}}
|
|
||||||
{{- if $img -}}
|
|
||||||
{{- if in $rasters $img.MediaType.SubType -}}
|
|
||||||
{{- $img = $img.Fill $newres -}}
|
|
||||||
{{ end }}
|
|
||||||
{{- $featimg = $img.RelPermalink -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- else if .Params.featured -}}
|
|
||||||
{{/* se è stata definita un'immagine featured */}}
|
|
||||||
{{- $img := .Page.Resources.GetMatch .Params.featured -}}
|
|
||||||
{{- if $img -}}
|
|
||||||
{{- if in $rasters $img.MediaType.SubType -}}
|
|
||||||
{{- $img = $img.Fill $newres -}}
|
|
||||||
{{ end }}
|
|
||||||
{{- $featimg = $img.RelPermalink -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{/* altrimenti prendo la prima risorsa immagine disponibile */}}
|
|
||||||
{{- $img := (.Page.Resources.ByType "image").GetMatch "**" -}}
|
|
||||||
{{- if $img -}}
|
|
||||||
{{- if in $rasters $img.MediaType.SubType -}}
|
|
||||||
{{- $img = $img.Fill $newres -}}
|
|
||||||
{{ end }}
|
|
||||||
{{- $featimg = $img.RelPermalink -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
<a href="{{ .RelPermalink }}" class="image left"><img src="{{ $featimg }}" alt="{{ .Params.image_alt }}" /></a>
|
|
||||||
<div class="inner">
|
|
||||||
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
|
||||||
{{ if .Site.Params.show_post_dates | default true }}
|
|
||||||
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
<p>
|
|
||||||
{{ with .Description }}
|
|
||||||
{{- . | truncate 400 }}
|
|
||||||
{{- else }}
|
|
||||||
{{- .Summary | truncate 400 }}
|
|
||||||
{{- end }}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
@ -1,31 +0,0 @@
|
|||||||
{{ define "main" }}
|
|
||||||
<header>
|
|
||||||
<h2>{{ .Title }}</h2>
|
|
||||||
<p>{{ .Description }}</p>
|
|
||||||
{{ if .Site.Params.show_post_dates | default true }}
|
|
||||||
{{- with .Date }}<time>{{ . | time.Format ":date_medium" }}</time>{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ partial "tags.html" . }}
|
|
||||||
</header>
|
|
||||||
|
|
||||||
{{- if or .Params.image }}
|
|
||||||
|
|
||||||
{{- $featimg := "#" -}}
|
|
||||||
|
|
||||||
{{- if .Params.image -}}
|
|
||||||
{{/* se è stata definita un'immagine featured */}}
|
|
||||||
{{- $img := .Page.Resources.GetMatch .Params.image -}}
|
|
||||||
{{- $featimg = $img.RelPermalink -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- if .Params.featured -}}
|
|
||||||
{{/* se è stata definita un'immagine featured */}}
|
|
||||||
{{- $img := .Page.Resources.GetMatch .Params.featured -}}
|
|
||||||
{{- $featimg = $img.RelPermalink -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
<span class="image featured poppo"><img src="{{ $featimg }}" alt="{{ .Params.image_alt }}" /></span>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{- .Content }}
|
|
||||||
{{ end }}
|
|
@ -1,45 +0,0 @@
|
|||||||
<div id="header">
|
|
||||||
{{ if .Site.IsMultiLingual }}
|
|
||||||
{{- partial "languages.html" . }}
|
|
||||||
{{- end -}}
|
|
||||||
<div id="logo-wrapper">
|
|
||||||
{{- if .Site.Data.globalheader.image }}
|
|
||||||
<div id="logo-image-wrapper">
|
|
||||||
<a href="{{ .Site.BaseURL }}">
|
|
||||||
<img src="{{ .Site.Data.globalheader.image | relURL }}" alt="{{ .Site.Data.globalheader.image_alt }}" width="{{ .Site.Data.globalheader.image_width }}" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
{{- end }}
|
|
||||||
<div id="logo-text-wrapper">
|
|
||||||
<h1><a href="{{ .Site.BaseURL }}" id="logo">
|
|
||||||
{{ with .Site.Data.globalheader.title }}{{ . | markdownify }}{{ else }}{{ .Site.Title }}{{ end }}
|
|
||||||
</a></h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<nav id="nav">
|
|
||||||
<ul>
|
|
||||||
{{- range .Site.Menus.main }}
|
|
||||||
<li class="{{ if or ($.Page.IsMenuCurrent "main" .) ($.Page.HasMenuCurrent "main" .) }}current{{ end }}">
|
|
||||||
<a href="{{ .URL | default "#" }}">{{ .Name }}</a>
|
|
||||||
{{- if .HasChildren -}}
|
|
||||||
<ul>
|
|
||||||
{{- range .Children }}
|
|
||||||
<li class="{{ if or ($.Page.IsMenuCurrent "main" .) ($.Page.HasMenuCurrent "main" .) }}current{{ end }}">
|
|
||||||
<a href="{{ .URL | default "#" }}">{{ .Name }}</a>
|
|
||||||
{{- if .HasChildren -}}
|
|
||||||
<ul>
|
|
||||||
{{- range .Children }}
|
|
||||||
<li class="{{ if or ($.Page.IsMenuCurrent "main" .) ($.Page.HasMenuCurrent "main" .) }}current{{ end }}">
|
|
||||||
{{/* aoeu fix 'current' thing */}}
|
|
||||||
<a href="{{ .URL | default "#" }}">{{ .Name }}</a>
|
|
||||||
{{- end }}
|
|
||||||
</ul>
|
|
||||||
{{- end -}}
|
|
||||||
{{- end }}
|
|
||||||
</ul>
|
|
||||||
{{- end -}}
|
|
||||||
{{- end }}
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</div>
|
|
Binary file not shown.
Before Width: | Height: | Size: 5.9 MiB |
Binary file not shown.
Before Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@ -1 +0,0 @@
|
|||||||
Subproject commit 4243c0f7c9d13cbc9c68f5afbaba504ffb76ac06
|
|
1
themes/tailwind
Submodule
1
themes/tailwind
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 9dc72c5ba801adb5440b598e16604b653a8cca2f
|
Loading…
x
Reference in New Issue
Block a user