From 00761bace4a3481284cc61f390608559d1d56bc3 Mon Sep 17 00:00:00 2001 From: Louis Lacoste Date: Wed, 3 Apr 2024 11:56:38 +0200 Subject: [PATCH] =?UTF-8?q?Premi=C3=A8re=20config=20du=20blog=20avec=20Hug?= =?UTF-8?q?o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitmodules | 3 +++ README.md | 2 +- archetypes/default.md | 5 +++++ content/posts/my-first-post.md | 7 +++++++ hugo.toml | 4 ++++ 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 100644 archetypes/default.md create mode 100644 content/posts/my-first-post.md create mode 100644 hugo.toml diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..be00b3c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/PaperMod"] + path = themes/PaperMod + url = https://github.com/adityatelange/hugo-PaperMod diff --git a/README.md b/README.md index f18b95c..91024c1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # blog -My blog \ No newline at end of file +This will host an attempt of a blog and a Woodpecker CI pipeline to publish it ! \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..c6f3fce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +date = {{ .Date }} +draft = true ++++ diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md new file mode 100644 index 0000000..7eea754 --- /dev/null +++ b/content/posts/my-first-post.md @@ -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 ! diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..acff005 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,4 @@ +baseURL = 'https://blog.polarolouis.fr/' +languageCode = 'en-us' +title = "Polarolouis's Blog" +theme = 'PaperMod' \ No newline at end of file