Skip to content

Commit

Permalink
config: initial setup for blowfish theme
Browse files Browse the repository at this point in the history
- Add Umami for analytics
- Set sitemap change frequency to 'always'
- Enable robots.txt to allow search engine indexing
- Adjust summary length for better content views
- Include RSS in outputs
  • Loading branch information
UmmItC committed Jan 2, 2025
1 parent 004ff9e commit 9b0eae5
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 12 deletions.
19 changes: 11 additions & 8 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@ defaultContentLanguage = "en"

# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles

enableRobotsTXT = false

#disableKinds = ["sitemap", "RSS", "robotsTXT"]

paginate = 10
summaryLength = 0
enableRobotsTXT = true
summaryLength = 30

buildDrafts = false
buildFuture = false

enableEmoji = true

#googleAnalytics = "G-PEDMYR1V0K"

[pagination]
pagerSize = 15

[imaging]
anchor = 'Center'

Expand All @@ -28,12 +31,12 @@ buildFuture = false
series = "series"

[sitemap]
changefreq = 'daily'
changefreq = 'always'
filename = 'sitemap.xml'
priority = 0.5

[outputs]
home = ["HTML", "JSON"]
home = ["HTML", "RSS", "JSON"]

[related]
threshold = 0
Expand Down
36 changes: 32 additions & 4 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ defaultFeaturedImage = "img/推しの子/1313221.png" # used as default for feat
cardViewScreenWidth = false
constrainItemsWidth = false

#[sitemap]
# excludedKinds = ["taxonomy", "term"]
[sitemap]
excludedKinds = []

[taxonomy]
showTermCount = true
Expand All @@ -112,10 +112,34 @@ defaultFeaturedImage = "img/推しの子/1313221.png" # used as default for feat
cardView = true
cardViewScreenWidth = false

[firebase]
#apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY"
#authDomain = "blowfish-21fff.firebaseapp.com"
#projectId = "blowfish-21fff"
#storageBucket = "blowfish-21fff.appspot.com"
#messagingSenderId = "60108104191"
#appId = "1:60108104191:web:039842ebe1370698b487ca"
#measurementId = "G-PEDMYR1V0K"

[fathomAnalytics]
# site = "ABC12345"
# domain = "llama.yoursite.com"

[umamiAnalytics]
websiteid = "37554541-6f3e-48a5-b609-65383997b4ff"
domain = "blog.ummit.dev"
# dataDomains = "yoursite.com,yoursite2.com"
# scriptName = ""
enableTrackEvent = true

[selineAnalytics]
# token = "XXXXXX"
# enableTrackEvent = false

[buymeacoffee]
# identifier = ""
# identifier = "nunocoracao"
# globalWidget = true
# globalWidgetMessage = "Hello"
# globalWidgetMessage = ""
# globalWidgetColor = "#FFDD00"
# globalWidgetPosition = "Right"

Expand All @@ -124,3 +148,7 @@ defaultFeaturedImage = "img/推しの子/1313221.png" # used as default for feat
# bing = ""
# pinterest = ""
# yandex = ""

[rssnext]
# feedId = ""
# userId = ""

0 comments on commit 9b0eae5

Please sign in to comment.