Update README.md
This commit is contained in:
parent
09fbaaccfa
commit
61dd271c12
23
README.md
23
README.md
|
@ -430,7 +430,7 @@ MAX_SIZE = 20
|
|||
|
||||
# Personnalisation
|
||||
|
||||
## Favicon + logo page d'accueil + logo barre
|
||||
## Favicon + logo barre
|
||||
|
||||
Enrichier l'arborescence de personnalisation :
|
||||
```
|
||||
|
@ -441,6 +441,27 @@ mv forge.chalec.org-logo.svg logo.svg
|
|||
chmod go+r *
|
||||
```
|
||||
|
||||
## Page d'accueil
|
||||
|
||||
Ajouter le logo sans marge :
|
||||
```
|
||||
mkdir -p /srv/gitea/custom/public/img
|
||||
cd /srv/gitea/custom/public/img
|
||||
wget https://git.a-lec.org/a-lec/commissions/chalec/forge/-/raw/main/forge.chalec.org-logo-nomarge.svg
|
||||
chmod go+r *
|
||||
```
|
||||
|
||||
Télécharger le code de la page d'accueil officielle et la remplacer par une version personnalisée :
|
||||
```
|
||||
mkdir -p /srv/gitea/custom/templates/
|
||||
cd /srv/gitea/custom/public/templates/
|
||||
wget https://raw.githubusercontent.com/go-gitea/gitea/release/v1.16/templates/home.tmpl
|
||||
mv home.tmpl home.tpml.ori
|
||||
wget https://git.a-lec.org/a-lec/commissions/chalec/forge/-/raw/main/home.tmpl
|
||||
systemctl restart gitea
|
||||
```
|
||||
|
||||
|
||||
# Mettre à jour
|
||||
|
||||
Constat :
|
||||
|
|
Loading…
Reference in New Issue