From 8df5feb51769c58cd948ba56297de5b5ceb979e5 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 11 Sep 2024 20:21:08 +0200 Subject: [PATCH] Rename assets, combine configuration files --- ...eodymAdminApartment.png => background.png} | Bin assets/{Base.png => logo.png} | Bin config/_default/hugo.toml | 33 ------------ config/_default/languages.en.toml | 18 ------- config/_default/params.toml | 2 +- hugo.toml | 47 ++++++++++++++++-- 6 files changed, 45 insertions(+), 55 deletions(-) rename assets/{NeodymAdminApartment.png => background.png} (100%) rename assets/{Base.png => logo.png} (100%) delete mode 100644 config/_default/hugo.toml delete mode 100644 config/_default/languages.en.toml diff --git a/assets/NeodymAdminApartment.png b/assets/background.png similarity index 100% rename from assets/NeodymAdminApartment.png rename to assets/background.png diff --git a/assets/Base.png b/assets/logo.png similarity index 100% rename from assets/Base.png rename to assets/logo.png diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml deleted file mode 100644 index 8fd6fd4..0000000 --- a/config/_default/hugo.toml +++ /dev/null @@ -1,33 +0,0 @@ -theme = "blowfish" -defaultContentLanguage = "en" -enableRobotsTXT = true -summaryLength = 0 -buildDrafts = false -buildFuture = false -googleAnalytics = "" -baseURL = "/" - -[pagination] -pagerSize = 10 - -[imaging] -anchor = "Center" - -[taxonomies] -tag = "tags" -category = "categories" -author = "authors" -series = "series" - -[sitemap] -changefreq = "daily" -filename = "sitemap.xml" -priority = 0.5 - -[outputs] -home = [ "HTML", "RSS", "JSON" ] - -[related] -threshold = 0 -toLower = false -indices = [ { name = "tags", weight = 100 }, { name = "categories", weight = 100 }, { name = "series", weight = 50 }, { name = "authors", weight = 20 }, { name = "date", weight = 10 }, { applyFilter = false, name = "fragmentrefs", type = "fragments", weight = 10 } ] diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml deleted file mode 100644 index f5d5fc8..0000000 --- a/config/_default/languages.en.toml +++ /dev/null @@ -1,18 +0,0 @@ -languageCode = "en" -languageName = "English" -weight = 1 -title = "JeremyStar™" - -[params] -displayName = "EN" -isoCode = "en" -rtl = false -dateFormat = "2 January 2006" -description = "JeremyStar™'s persönliche Webseite" -logo = "Base.png" -secondaryLogo = "Base.png" - -[author] -name = "JeremyStar™" -image = "foxxo.jpg" -headline = "" diff --git a/config/_default/params.toml b/config/_default/params.toml index 7beacb7..8b61d9e 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -27,7 +27,7 @@ showMoreLinkDest = "/posts" cardView = false cardViewScreenWidth = false layoutBackgroundBlur = false -homepageImage = "NeodymAdminApartment.png" +homepageImage = "background.png" [article] showDate = true diff --git a/hugo.toml b/hugo.toml index 49bceea..cfded84 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,3 +1,44 @@ -baseURL = 'https://jstm.staropensource.de/' -languageCode = 'en-us' -title = 'JeremyStar™' +# Site +title = "JeremyStar™" +baseURL = "/" +languageName = "English" +languageCode = "en" +defaultContentLanguage = "en" +enableRobotsTXT = true +summaryLength = 0 +weight = 1 +theme = "blowfish" + +# Regional stuff +[params] +copyright = "🄯 2024 JeremyStar™, licensed under the [Creative Commons BY-NC-SA 4.0 license](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode)" +displayName = "EN" +isoCode = "en" +rtl = false +dateFormat = "2 January 2006" +description = "JeremyStar™'s personal website" +logo = "logo.png" +secondaryLogo = "logo.png" + +# Author info (never shown tho) +[author] +name = "JeremyStar™" +image = "foxxo.jpg" +headline = "" + +# Layout +[pagination] +pagerSize = 10 + +[imaging] +anchor = "Center" + +# Sitemap +[sitemap] +changefreq = "daily" +filename = "sitemap.xml" +priority = 0.5 + +# Output +[outputs] +home = [ "HTML", "RSS", "JSON" ]