From c6bf1d77a99a3ee1335fab498c76208c53919963 Mon Sep 17 00:00:00 2001 From: marin Date: Fri, 18 Apr 2025 22:16:32 +0200 Subject: [PATCH] initial commit --- .gitignore | 14 ++++++++ .gitmodules | 3 ++ content/posts/first-post.md | 12 +++++++ hugo.toml | 66 +++++++++++++++++++++++++++++++++++++ layouts/index.html | 3 ++ themes/hugo-coder | 1 + 6 files changed, 99 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 content/posts/first-post.md create mode 100644 hugo.toml create mode 100644 layouts/index.html create mode 160000 themes/hugo-coder diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a34b68b --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +# Generated files by hugo +/public/ +/resources/_gen/ +/assets/jsconfig.json +hugo_stats.json + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +# Temporary lock file while building +/.hugo_build.lock +*~ \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..ce3490a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-coder"] + path = themes/hugo-coder + url = https://github.com/luizdepra/hugo-coder.git diff --git a/content/posts/first-post.md b/content/posts/first-post.md new file mode 100644 index 0000000..3eb74c5 --- /dev/null +++ b/content/posts/first-post.md @@ -0,0 +1,12 @@ ++++ +authors = ["marin"] +title = "setting this blog up" +date = "2025-04-18" +description = "choosing and setting up hugo with caddy" +tags = [ + "hugo", + "caddy", +] +categories = [] ++++ +==template== \ No newline at end of file diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..6a50c87 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,66 @@ +baseurl = "https://blog.marin.fyi" +title = "marin" +theme = "hugo-coder" +languagecode = "en" +defaultcontentlanguage = "en" + + +[pagination] +pagerSize = 20 + +#[services] +#[services.disqus] +#shortname = "yourdiscussshortname" + +[markup.highlight] +style = "github-dark" + +[params] + author = "marin" + info = "bla" + description = "bla2" + keywords = "blog,personal" + avatarurl = "images/avatar.jpg" + #gravatar = "john.doe@example.com" + + faviconSVG = "/img/favicon.svg" + favicon_32 = "/img/favicon-32x32.png" + favicon_16 = "/img/favicon-16x16.png" + + since = 2025 + + enableTwemoji = true + + colorScheme = "auto" + hidecolorschemetoggle = false + + # customCSS = ["css/custom.css"] + # customSCSS = ["scss/custom.scss"] + # customJS = ["js/custom.js"] + +[taxonomies] + category = "categories" + series = "series" + tag = "tags" + author = "authors" + +# Social links + +# Menu links +[[menu.main]] + name = "Blog" + weight = 1 + url = "posts/" +[[menu.main]] + name = "Tags" + weight = 2 + url = "tags/" +[[menu.main]] + name = "Series" + weight = 3 + url = "series/" + +#[[menu.main]] +# name = "About" +# weight = 2 +# url = "about/" diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..46c81bd --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,3 @@ + + \ No newline at end of file diff --git a/themes/hugo-coder b/themes/hugo-coder new file mode 160000 index 0000000..6bc0059 --- /dev/null +++ b/themes/hugo-coder @@ -0,0 +1 @@ +Subproject commit 6bc00595434affd85e9d55af98779460de6fb1cd