commit 74f47cd2e3cd756af0196a86c43e5a4abfdbce90 Author: Jonas Hahn Date: Mon Sep 1 17:50:04 2025 +0000 Init diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5fd9df --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/public +.hugo_build.lock +/resources/_gen 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/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..25b6752 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,5 @@ ++++ +date = '{{ .Date }}' +draft = true +title = '{{ replace .File.ContentBaseName "-" " " | title }}' ++++ diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..d979f3a --- /dev/null +++ b/hugo.toml @@ -0,0 +1,60 @@ +baseurl = "https://hahn1.one" +title = "JonasHahn" +theme = "hugo-coder" +languagecode = "en-us" +defaultcontentlanguage = "en" + +[pagination] +pagersize = 20 + +[services] +[services.disqus] +shortname = "Jonas" + +[markup.highlight] +style = "github-dark" + +[params] + author = "Jonas Hahn" + info = "Physics student passionate about computers" + description = "Jonas Hahn's personal website" + keywords = "blog,developer,personal,university" + avatarurl = "/avatar.jpg" + + favicon_32 = "/favicon_32.png" + favicon_16 = "/favicon_16.png" + favicon_svg = "/favicon.svg" + + since = 2025 + enabletwemoji = true + colorscheme = "auto" + hidecolorschemetoggle = false + +[taxonomies] + category = "categories" + series = "series" + tag = "tags" + author = "authors" + +# social links +[[params.social]] + name = "github" + icon = "fa-brands fa-github fa-2x" + weight = 1 + url = "https://github.com/ascyii/" +[[params.social]] + name = "gitlab" + icon = "fa-brands fa-gitlab fa-2x" + weight = 2 + url = "https://gitlab.com/ascyii/" + +# menu links +[[menu.main]] + name = "Blog" + weight = 1 + url = "posts/" +[[menu.main]] + name = "About" + weight = 2 + url = "about/" + diff --git a/static/avatar.jpg b/static/avatar.jpg new file mode 100644 index 0000000..833beb8 Binary files /dev/null and b/static/avatar.jpg differ diff --git a/static/images/favicon.svg b/static/images/favicon.svg new file mode 100644 index 0000000..041e0c3 Binary files /dev/null and b/static/images/favicon.svg differ diff --git a/static/images/favicon_16.png b/static/images/favicon_16.png new file mode 100644 index 0000000..3f4c314 Binary files /dev/null and b/static/images/favicon_16.png differ diff --git a/static/images/favicon_32.png b/static/images/favicon_32.png new file mode 100644 index 0000000..041e0c3 Binary files /dev/null and b/static/images/favicon_32.png differ diff --git a/static/images/favicon_64.png b/static/images/favicon_64.png new file mode 100644 index 0000000..43d948d Binary files /dev/null and b/static/images/favicon_64.png differ diff --git a/themes/hugo-coder b/themes/hugo-coder new file mode 160000 index 0000000..cb13ec4 --- /dev/null +++ b/themes/hugo-coder @@ -0,0 +1 @@ +Subproject commit cb13ec4671611990420f29321c4430e928a67518