initial commit

This commit is contained in:
marin 2025-04-18 22:16:32 +02:00
commit c6bf1d77a9
6 changed files with 99 additions and 0 deletions

14
.gitignore vendored Normal file
View file

@ -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
*~

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "themes/hugo-coder"]
path = themes/hugo-coder
url = https://github.com/luizdepra/hugo-coder.git

View file

@ -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==

66
hugo.toml Normal file
View file

@ -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/"

3
layouts/index.html Normal file
View file

@ -0,0 +1,3 @@
<!-- hack to forward all requests from / to /posts, because i dont need the
homepage -->
<meta http-equiv="refresh" content="0; url=/posts/" />

1
themes/hugo-coder Submodule

@ -0,0 +1 @@
Subproject commit 6bc00595434affd85e9d55af98779460de6fb1cd