29 lines
655 B
Markdown
29 lines
655 B
Markdown
Comment lancer mon site ?
|
|
|
|
UTILISATION
|
|
CREATION DU SITE 📃
|
|
Vérifier l'installation:
|
|
hugo version
|
|
Créer la structure du site:
|
|
hugo new site mon-site
|
|
Créer du contenu:
|
|
cd mon-site
|
|
hugo new posts/mon-post.md
|
|
nano posts/mon-post.md
|
|
Ajouter des medias:
|
|
|
|
images:
|
|
## Image via link:
|
|

|
|
|
|
------
|
|
|
|
## Image via url locale (/static):
|
|

|
|
videos:
|
|
## Vidéo Youtube (le code 'ZSWzPI4BqvA' correspond à l'id de la vidéo):
|
|
{{< youtube ZSWzPI4BqvA >}}
|
|
AJOUT D'UN THEME 🎨
|
|
git init
|
|
git submodule add https://github.com/halogenica/papermod.git themes/papermod
|
|
echo theme = \"papermod\" >> hugo.toml |