update hugo config services and added theme-update script

This commit is contained in:
somrat sorkar
2024-01-08 11:42:36 +06:00
parent aa00fbb343
commit c0d75b264b
12 changed files with 54 additions and 21 deletions

View File

@@ -25,5 +25,5 @@ require (
github.com/gethugothemes/hugo-modules/tab v0.0.0-20231227015948-b2308653c9e2 // indirect
github.com/gethugothemes/hugo-modules/table-of-contents v0.0.0-20231227015948-b2308653c9e2 // indirect
github.com/gethugothemes/hugo-modules/videos v0.0.0-20231227015948-b2308653c9e2 // indirect
github.com/zeon-studio/hugoplate v0.0.0-20231231021647-f2f9095d1de4 // indirect
github.com/zeon-studio/hugoplate v0.0.0-20240101043423-aa00fbb34355 // indirect
)

View File

@@ -11,16 +11,20 @@ timeZone = "America/New_York"
paginate = 2 # see https://gohugo.io/extras/pagination/
# post excerpt
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
# google analytics
googleAnalytics = "G-MEASUREMENT_ID" # see https://gohugo.io/templates/internal/#configure-google-analytics
# disqus short name
disqusShortname = "themefisher-template" # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
# disable language
disableLanguages = [
] # example: ["fr"] for disable french language. see https://gohugo.io/content-management/multilingual/
hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage
########################### Services #############################
[services]
[services.googleAnalytics]
ID = 'G-MEASUREMENT_ID' # see https://gohugo.io/templates/internal/#configure-google-analytics
[services.disqus]
shortname = 'themefisher-template' # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
########################## Permalinks ############################
[permalinks.page]
"pages" = "/:slugorfilename/"