move social and theme variables to data folder

This commit is contained in:
somrat sorkar
2023-07-08 10:12:11 +06:00
parent 78424c0065
commit e2374f93c3
9 changed files with 205 additions and 205 deletions

View File

@@ -1,44 +1,112 @@
# DON'T REMOVE THIS FILE.
# This file is for render site varibles and plugins
#
# The actual configuration files are stored in the `config/_default/` folder.
######################## default configuration ####################
baseURL = "https://hugoplate.netlify.app/site/"
title = "Hugoplate"
theme = "hugoplate"
# Default time zone for time stamps; use any valid tz database name: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
timeZone = "America/New_York"
# post pagination
paginate = 2 # see https://gohugo.io/extras/pagination/
# post excerpt
summaryLength = 10 # see https://gohugo.io/content-management/excerpts/
# google analytics
googleAnalytics = "UA-123456-78" # example: UA-123456-78, for more info, read the article https://support.google.com/analytics/answer/1008080?hl=en
# 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
######################### site variables ##############################
# customize your color and font from here.
[params.colors.default.theme_color]
primary = "#121212"
body = "#fff"
border = "#eaeaea"
theme_light = "#f6f6f6"
theme_dark = ""
########################## Permalinks ############################
[permalinks.page]
"pages" = "/:slugorfilename/"
[params.colors.default.text_color]
default = "#444444"
dark = "#040404"
light = "#717171"
[params.colors.darkmode.theme_color]
primary = "#fff"
body = "#1c1c1c"
border = "#3E3E3E"
theme_light = "#222222"
theme_dark = ""
############################# Modules ############################
[module]
[[module.mounts]]
source = "assets"
target = "assets"
[params.colors.darkmode.text_color]
default = "#B4AFB6"
dark = "#fff"
light = "#B4AFB6"
[[module.mounts]]
source = "hugo_stats.json"
target = "assets/watching/hugo_stats.json"
[params.fonts.font_family]
primary = "Heebo:wght@400;600"
primary_type = "sans-serif"
secondary = "Signika:wght@500;700"
secondary_type = "sans-serif"
[params.fonts.font_size]
base = "16" # default is 16px
scale = "1.25" # default is "majorThird": 1.25
############################# Build ##############################
[build]
noJSConfigInAssets = false
useResourceCacheWhen = 'fallback'
[build.buildStats]
enable = true
[[build.cachebusters]]
source = 'assets/.*\.(js|ts|jsx|tsx)'
target = '(js|scripts|javascript)'
[[build.cachebusters]]
source = 'assets/.*\.(css|sass|scss)$'
target = '(css|styles|scss|sass)'
[[build.cachebusters]]
source = '(postcss|tailwind)\.config\.js'
target = '(css|styles|scss|sass)'
[[build.cachebusters]]
source = 'assets/.*\.(.*)$'
target = '$1'
############################# Outputs ############################
[outputs]
home = ["HTML", "RSS", "WebAppManifest", "SearchIndex"]
############################# Imaging ############################
[imaging]
# See https://github.com/disintegration/imaging
# Default JPEG or WebP quality setting. Default is 75.
quality = 90
resampleFilter = "lanczos"
############################ Caches ##############################
[caches]
[caches.images]
dir = ":resourceDir/_gen"
maxAge = "720h"
[caches.assets]
dir = ":resourceDir/_gen"
maxAge = "720h"
############################ Markup ##############################
[markup]
[markup.goldmark.renderer]
unsafe = true
[markup.highlight]
style = 'monokai' # see https://xyproto.github.io/splash/docs/all.html
[markup.tableOfContents]
startLevel = 2
endLevel = 5
ordered = true
########################### Media types ###########################
[mediaTypes]
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]
########################### Output Format ##########################
[outputFormats]
[outputFormats.WebAppManifest]
mediaType = "application/manifest+json"
rel = "manifest"
[outputFormats.SearchIndex]
mediaType = "application/json"
baseName = "searchindex"
isPlainText = true
notAlternative = true
############################# Plugins ##############################
@@ -54,12 +122,8 @@ link = "plugins/font-awesome/v6/brands.css"
link = "plugins/font-awesome/v6/solid.css"
[[params.plugins.css]]
link = "plugins/font-awesome/v6/icons.css"
# [[params.plugins.css]]
# link = "plugins/themify-icons/icons.css"
# JS Plugins
# [[params.plugins.js]]
# link = "plugins/jquery/jquery.js"
[[params.plugins.js]]
link = "js/search.js"
[[params.plugins.js]]