Aller au contenu

Hugo

A quoi ça sert?

Site web statique à base de markdown (naturellement)

🔗 site.mathgon.org

📖 Documentation

![]./media/screenshots/10_linkding.png

Installation depuis le magasin d'application. A la création/lancement le service n'est pas fonctionnel. Il faut se connecter en SSH au serveur

cd /DATA/AppData/hugo/project

Initialize the project directory as an empty Git repository

git init

Download the Ananke theme

git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke

Specify the current theme

echo "theme = 'ananke'" >> hugo.toml

Nécessite pas mal de paramétrage pour l'import de thème avec git et gestion de l'arborescence en fonction du thème utilisé. L'édition du site se fait par édition des fichiers en sftp.

Installation du thème blowfish

demo

TODO

Exporter l'arborescence pour mieux s'y retrouver