From 56b240b048e88d7606db53cb6a9f9a801bbd7fbe Mon Sep 17 00:00:00 2001 From: Oleh Omelchenko Date: Mon, 22 Jul 2024 17:37:05 +0300 Subject: [PATCH] add configs and defaults --- archetypes/default.md | 5 +++++ hugo.yaml | 25 +++++++++++++++++++++++++ layouts/partials/extend_head.html | 4 ++++ 3 files changed, 34 insertions(+) create mode 100644 archetypes/default.md create mode 100644 hugo.yaml create mode 100644 layouts/partials/extend_head.html diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..3de90ce --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ +--- +title: '{{ replace .File.ContentBaseName "-" " " | title }}' +date: {{ .Date }} +draft: true +--- diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..ec3093e --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,25 @@ +baseURL: https://olehomelchenko.com/ +languageCode: uk-ua +title: Олег Омельченко +theme: PaperMod + +params: + + disableThemeToggle: true + env: production + +menu: + main: + - identifier: posts + name: posts + url: /posts/ + weight: 5 + - identifier: tils + name: TILs + url: /til/ + weight: 10 + - identifier: tags + name: tags + url: /tags/ + weight: 20 + diff --git a/layouts/partials/extend_head.html b/layouts/partials/extend_head.html new file mode 100644 index 0000000..7ae8201 --- /dev/null +++ b/layouts/partials/extend_head.html @@ -0,0 +1,4 @@ + + \ No newline at end of file