Première config du blog avec Hugo
This commit is contained in:
parent
200eb4e961
commit
00761bace4
5 changed files with 20 additions and 1 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "themes/PaperMod"]
|
||||||
|
path = themes/PaperMod
|
||||||
|
url = https://github.com/adityatelange/hugo-PaperMod
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# blog
|
# 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
5
archetypes/default.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
+++
|
||||||
|
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||||
|
date = {{ .Date }}
|
||||||
|
draft = true
|
||||||
|
+++
|
||||||
7
content/posts/my-first-post.md
Normal file
7
content/posts/my-first-post.md
Normal 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
4
hugo.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
baseURL = 'https://blog.polarolouis.fr/'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = "Polarolouis's Blog"
|
||||||
|
theme = 'PaperMod'
|
||||||
Loading…
Add table
Reference in a new issue