From a920ebe75bb7a23db65f39cebd7886de488bc5f2 Mon Sep 17 00:00:00 2001 From: Fundor333 Date: Fri, 26 Jul 2024 02:37:31 +0200 Subject: [PATCH] Fix config --- config/_default/config.yaml | 47 +++++++++++++++++ .../config => config}/_default/markup.yaml | 0 .../fugu/config => config}/_default/menu.yaml | 0 config/_default/params.yaml | 4 ++ config/_default/privacy.yaml | 10 ++++ themes/fugu/config/_default/config.yaml | 51 ------------------- themes/fugu/config/_default/maciaimage.yaml | 0 themes/fugu/config/_default/params.yaml | 4 -- themes/fugu/config/_default/privacy.yaml | 12 ----- themes/fugu/theme.toml | 15 ------ themes/fugu/theme.yaml | 11 ++++ 11 files changed, 72 insertions(+), 82 deletions(-) rename {themes/fugu/config => config}/_default/markup.yaml (100%) rename {themes/fugu/config => config}/_default/menu.yaml (100%) delete mode 100644 themes/fugu/config/_default/config.yaml delete mode 100644 themes/fugu/config/_default/maciaimage.yaml delete mode 100644 themes/fugu/config/_default/params.yaml delete mode 100644 themes/fugu/config/_default/privacy.yaml delete mode 100644 themes/fugu/theme.toml create mode 100644 themes/fugu/theme.yaml diff --git a/config/_default/config.yaml b/config/_default/config.yaml index b7a5b106..490b7576 100644 --- a/config/_default/config.yaml +++ b/config/_default/config.yaml @@ -18,3 +18,50 @@ author: disqusShortname: fundor333 gtm_id: GTM-NZQKPXS googleAnalytics: G-H22W7LRVGC + +disableRSS: false +enableRobotsTXT: true +Paginate: 8 +rssLimit: 10 +enableGitInfo: true +related: + includeNewer: true + threshold: 70 + toLower: false + indices: + - name: categories + weight: 40 + - name: title + weight: 30 + - name: description + weight: 30 + - name: tags + weight: 10 + - name: meta + weight: 10 + - name: date + weight: 10 + +outputFormats: + SearchIndex: + baseName: search + mediaType: application/json +outputs: + section: + - HTML + - RSS + home: + - HTML + - RSS + - SearchIndex + page: + - html + +sitemap: + changefreq: monthly + filename: sitemap.xml + priority: 0.5 +taxonomies: + category: categories + tag: tags + micropub: micropub diff --git a/themes/fugu/config/_default/markup.yaml b/config/_default/markup.yaml similarity index 100% rename from themes/fugu/config/_default/markup.yaml rename to config/_default/markup.yaml diff --git a/themes/fugu/config/_default/menu.yaml b/config/_default/menu.yaml similarity index 100% rename from themes/fugu/config/_default/menu.yaml rename to config/_default/menu.yaml diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 1a5bc0af..99ad568d 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -18,3 +18,7 @@ maciaindieweb: auth: twitter: https://twitter.com/fundor333 mastodon: https://mastodon.social/@fundor333 +ShowFullTextinRSS: false + +maciaimage: + imgclass: "img-fluid d-block mx-auto" diff --git a/config/_default/privacy.yaml b/config/_default/privacy.yaml index 3835f3ff..36e3cb6a 100644 --- a/config/_default/privacy.yaml +++ b/config/_default/privacy.yaml @@ -1,2 +1,12 @@ googleAnalytics: disable: false +disqus: + disable: true +instagram: + disable: true +twitter: + disableInlineCSS: true +vimeo: + disable: true +youtube: + disable: true diff --git a/themes/fugu/config/_default/config.yaml b/themes/fugu/config/_default/config.yaml deleted file mode 100644 index bffdc5b6..00000000 --- a/themes/fugu/config/_default/config.yaml +++ /dev/null @@ -1,51 +0,0 @@ -DefaultContentLanguage: en -languageCode: en - -#theme: ["github.com/fundor333/macia-indiweb", "github.com/fundor333/macia-image"] - -disableRSS: false -enableRobotsTXT: true -Paginate: 8 -rssLimit: 10 -enableGitInfo: true -related: - includeNewer: true - threshold: 70 - toLower: false - indices: - - name: categories - weight: 40 - - name: title - weight: 30 - - name: description - weight: 30 - - name: tags - weight: 10 - - name: meta - weight: 10 - - name: date - weight: 10 - -outputFormats: - SearchIndex: - baseName: search - mediaType: application/json -outputs: - section: - - HTML - - RSS - home: - - HTML - - RSS - - SearchIndex - page: - - html - -sitemap: - changefreq: monthly - filename: sitemap.xml - priority: 0.5 -taxonomies: - category: categories - tag: tags - micropub: micropub diff --git a/themes/fugu/config/_default/maciaimage.yaml b/themes/fugu/config/_default/maciaimage.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/themes/fugu/config/_default/params.yaml b/themes/fugu/config/_default/params.yaml deleted file mode 100644 index 071f0447..00000000 --- a/themes/fugu/config/_default/params.yaml +++ /dev/null @@ -1,4 +0,0 @@ -ShowFullTextinRSS: false - -maciaimage: - imgclass: "img-fluid d-block mx-auto" diff --git a/themes/fugu/config/_default/privacy.yaml b/themes/fugu/config/_default/privacy.yaml deleted file mode 100644 index 150e7597..00000000 --- a/themes/fugu/config/_default/privacy.yaml +++ /dev/null @@ -1,12 +0,0 @@ -disqus: - disable: true -googleAnalytics: - disable: true -instagram: - disable: true -twitter: - disableInlineCSS: true -vimeo: - disable: true -youtube: - disable: true diff --git a/themes/fugu/theme.toml b/themes/fugu/theme.toml deleted file mode 100644 index 4f388cd2..00000000 --- a/themes/fugu/theme.toml +++ /dev/null @@ -1,15 +0,0 @@ -# theme.toml template for a Hugo theme -# See https://github.com/gohugoio/hugoThemes#themetoml for an example - -name = "Fugu" -license = "MIT" -licenselink = "https://github.com/fundor333/fugu/blob/master/LICENSE" -description = "" -homepage = "http://fundor333.com/" -tags = [] -features = [] -min_version = "0.120.4" - -[author] -name = "Fundor333" -homepage = "http://fundor333.com/" diff --git a/themes/fugu/theme.yaml b/themes/fugu/theme.yaml new file mode 100644 index 00000000..b868b9ae --- /dev/null +++ b/themes/fugu/theme.yaml @@ -0,0 +1,11 @@ +name: Fugu +license: MIT +licenselink: "https://github.com/fundor333/fugu/blob/master/LICENSE" +description: "" +homepage: "http://fundor333.com/" +tags: [] +features: [] +min_version: 0.120.4 +author: + name: Fundor333 + homepage: "http://fundor333.com/"