Première config du blog avec Hugo

This commit is contained in:
Louis Lacoste 2024-04-03 11:56:38 +02:00
parent 200eb4e961
commit 00761bace4
5 changed files with 20 additions and 1 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/PaperMod"]
path = themes/PaperMod
url = https://github.com/adityatelange/hugo-PaperMod

View file

@ -1,3 +1,3 @@
# blog
My blog
This will host an attempt of a blog and a Woodpecker CI pipeline to publish it !

5
archetypes/default.md Normal file
View file

@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

View file

@ -0,0 +1,7 @@
+++
title = 'My First Post'
date = 2024-04-03T11:50:46+02:00
draft = true
+++
The first post of this Hugo powered blog. Now I need to get CI working !

4
hugo.toml Normal file
View file

@ -0,0 +1,4 @@
baseURL = 'https://blog.polarolouis.fr/'
languageCode = 'en-us'
title = "Polarolouis's Blog"
theme = 'PaperMod'