From 18a19dcb4e01efd4bf1b94715a44ca9de27938eb Mon Sep 17 00:00:00 2001 From: TheJoeCoder <joe@radialbog9.uk> Date: Wed, 27 Nov 2024 15:42:26 +0000 Subject: [PATCH] Add stuff --- .gitignore | 60 +++++++++++++++++ .gitmodules | 4 ++ content/posts/.gitkeep | 0 hugo.toml | 143 ++++++++++++++++++++++++++++++++++++++++- themes/hermit-v2 | 1 + 5 files changed, 205 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 content/posts/.gitkeep create mode 160000 themes/hermit-v2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63c60f2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,60 @@ +# Created by https://www.toptal.com/developers/gitignore/api/hugo,powershell,visualstudiocode,git +# Edit at https://www.toptal.com/developers/gitignore?templates=hugo,powershell,visualstudiocode,git + +### Git ### +# Created by git for backups. To disable backups in Git: +# $ git config --global mergetool.keepBackup false +*.orig + +# Created by git when using merge tools for conflicts +*.BACKUP.* +*.BASE.* +*.LOCAL.* +*.REMOTE.* +*_BACKUP_*.txt +*_BASE_*.txt +*_LOCAL_*.txt +*_REMOTE_*.txt + +### Hugo ### +# 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 + +### PowerShell ### +# Exclude packaged modules +*.zip + +# Exclude .NET assemblies from source +*.dll + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# End of https://www.toptal.com/developers/gitignore/api/hugo,powershell,visualstudiocode,git diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..9aa6663 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "themes/hermit-v2"] + path = themes/hermit-v2 + url = https://github.com/1bl4z3r/hermit-V2 + branch = main diff --git a/content/posts/.gitkeep b/content/posts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/hugo.toml b/hugo.toml index 7e568b8..c5b8a29 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,3 +1,140 @@ -baseURL = 'https://example.org/' -languageCode = 'en-us' -title = 'My New Hugo Site' +baseURL = "https://blog.radialbog9.uk" +defaultContentLanguage = "en" +defaultContentLanguageInSubdir = true +#theme = "hermit-v2" + +#[languages] +# [languages.en] +# title = 'CHANGE ME' +# [languages.en.params] +# homeSubtitle = "CHANGE ME" +# weight = 1 +# [languages.fr] +# title = 'CHANGE ME(FR)' +# [languages.fr.params] +# homeSubtitle = "CHANGE ME" +# weight = 2 +# [languages.it] +# title = 'CHANGE ME(IT)' +# [languages.it.params] +# homeSubtitle = "CHANGE ME" +# weight = 3 + +languageCode = "en-gb" + +# title = "CHANGE ME" +# enableGitInfo = true + +pygmentsCodefences = true +pygmentsUseClasses = true +#hasCJKLanguage = true + +rssLimit = 10 + +copyright = "2024 TheJoeCoder" +enableEmoji = true + +#[services] +# [services.disqus] +# shortname = '' +# [services.googleAnalytics] +# id = '' + +[frontmatter] +date = ["date", "publishDate", "lastmod"] +lastmod = ["lastmod", ":git", "date", "publishDate"] +publishDate = ["publishDate", "date"] +expiryDate = ["expiryDate"] + + +[params.author] + name = "Joe" + about = "programming and music and stuff i guess" + +[blackfriday] + # hrefTargetBlank = true + # noreferrerLinks = true + # nofollowLinks = true + +[taxonomies] + tag = "tags" + # Categories are disabled by default. + # category = "categories" + +# Enable to get proper Mathjax support +#[markup] +# [markup.goldmark] +# [markup.goldmark.extensions] +# [markup.goldmark.extensions.passthrough] +# enable = true +# [markup.goldmark.extensions.passthrough.delimiters] +# block = [['\[', '\]'], ['$$', '$$']] +# inline = [['\(', '\)']] + + +[params] + dateform = "Jan 2, 2006" + dateformShort = "Jan 2" + dateformNum = "2006-01-02" + dateformNumTime = "2006-01-02 15:04 -0700" + + # description = "CHANGE ME SITE DESCRIPTION" + # images = [""] + themeColor = "#494f5c" + + #homeSubtitle = "CHANGE ME HOME SUBTITLE" + footerCopyright = "2024 TheJoeCoder" + # footerHideThemeName = false + # bgImg = "" + # gitUrl = "https://github.com/1bl4z3r/hermit-V2/tree/staging" + + justifyContent = false + + relatedPosts = true + code_copy_button = true + + homeSubtitlePrinter = true + scrollToTop = true + global_mathjax = false + readTime = true + readTimeSeparator = " - " + # legacyLayout = false + shareSocial = true + # googleTagManager = "GTM-XXXXXXXX" + # tagSymbol = "#" + # categorySymbol = "⊲" + # pinned = "Pinned Posts" + # pinnedSVGname = "pin" + # descriptionInPosts= true + # initialPublish = "Initally Posted on: " + # human = ["single","posts"] + # noIndex = false + # denyRobots = "noindex, nofollow, noarchive" + # allowRobots = "index, follow" + # siteNoIndex = false + # noIndexPages = ["404 Page not found"] + # usesAnimation = true + + #[[params.socialLinks]] + # name = "mastodon" + # url = "https://chat.radialbog9.com/@Radialbog9" + + #[[params.socialLinks]] + # name = "x" + # url = "https://twitter.com/" + + #[[params.socialLinks]] + # name = "github" + # url = "https://github.com/1bl4z3r/hermit-V2/tree/staging" + +[menu] + + [[menu.main]] + name = "Posts" + url = "posts/" + weight = 10 + + #[[menu.main]] + # name = "About" + # url = "about-hugo/" + # weight = 20 diff --git a/themes/hermit-v2 b/themes/hermit-v2 new file mode 160000 index 0000000..8d77048 --- /dev/null +++ b/themes/hermit-v2 @@ -0,0 +1 @@ +Subproject commit 8d77048ef80ec48d8e2108c4363f10303701dd2a -- GitLab