Page:
come aggiungere un warning
Pages
Home
ToDo
branch
chiavi SSH
come aggiungere un warning
creazione tag live nellupstream
diff
fare il rebase
front matter
hugo lazyboy
hugo new manualmente
hugo new
image credits
link guide
merge
operazioni fondamentali
prova con immagine
pull request
regole d oro
relref
spostare commit
struttura content
Clone
2
come aggiungere un warning
omartek edited this page 2024-09-11 15:45:42 +02:00
Una volta all'anno capita di dover mostrare un messaggio in bella vista che indichi, ad esempio la chiusura della sede durante le vacanze.
Per far ciò basta modificare i file data/it/homepage.yml
e data/en/homepage.yml
e modificare i campi relativi importantWarning
In particolare enabled
(true
o false
) indica se deve essere mostrato o no.
link
è l'URL del link del messaggio.
message
è il contenuto (stringa) del messaggio.
Come contribuire usando Gitea
Comandi hugo e struttura del sito
- Contribuire dal BROWSER
- Contribuire da LOCALE
- I'm a lazy boy
- Cartella content e permalink
- Front matter
- Note sull'utilizzo di media
- Inviare una PR
- Aggiungere warning in homepage
Comandi GIT
Guide online