dev: add new parameters on params.toml, also disable Social Shares

main
Sergio Alvariño 5 months ago
parent 1655536e5b
commit 569fc7812a

@ -4,7 +4,7 @@
# ------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------
# FixIt 0.2.15 | CHANGED FixIt theme version # FixIt 0.2.15 | CHANGED FixIt theme version
version = "0.2.X" # e.g. "0.2.X", "0.2.15", "v0.2.15" etc. version = "0.3.8" # e.g. "0.2.X", "0.2.15", "v0.2.15" etc.
# site description # site description
description = "Notas personales sobre hardware y software libres" description = "Notas personales sobre hardware y software libres"
# site keywords # site keywords
@ -24,10 +24,40 @@ images = []
enablePWA = false enablePWA = false
# FixIt 0.2.14 | NEW whether to add external Icon for external links automatically # FixIt 0.2.14 | NEW whether to add external Icon for external links automatically
externalIcon = false externalIcon = false
# FixIt 0.3.0 | NEW whether to reverse the order of the navigation menu
navigationReverse = false
# FixIt 0.3.0 | NEW whether to add site title to the title of every page
# remember to set up your site title in `hugo.toml` (e.g. title = "title")
withSiteTitle = true
# FixIt 0.3.0 | NEW title delimiter when the site title is be added to the title of every page
titleDelimiter = "-"
# FixIt 0.3.0 | NEW whether to add site subtitle to the title of index page
# remember to set up your site subtitle by `params.header.subtitle.name`
indexWithSubtitle = false
# FixIt 0.2.14 | NEW FixIt will, by default, inject a theme meta tag in the HTML head on the home page only. # FixIt 0.2.14 | NEW FixIt will, by default, inject a theme meta tag in the HTML head on the home page only.
# You can turn it off, but we would really appreciate if you dont, as this is a good way to watch FixIt's popularity on the rise. # You can turn it off, but we would really appreciate if you dont, as this is a good way to watch FixIt's popularity on the rise.
disableThemeInject = false disableThemeInject = false
# Author Configuration
[author]
name = "salvari"
email = "salvari@protonmail.com"
link = "https://comacero.com"
avatar = ""
# FixIt 0.3.0 | NEW public Git repository information only then enableGitInfo is true
[gitInfo]
# e.g. "https://github.com/hugo-fixit/docs"
repo = "https://git.comacero.com/salvari/comacero_apuntes.git"
branch = "main"
# the content directory path relative to the root of the repository
dir = "content"
# the issue template for reporting issue of the posts
# available template params: {title} {URL} {sourceURL}
issueTpl = "title=[BUG]%20{title}&body=|Field|Value|%0A|-|-|%0A|Title|{title}|%0A|URL|{URL}|%0A|Filename|{sourceURL}|"
# FixIt 0.2.0 | NEW App icon config # FixIt 0.2.0 | NEW App icon config
[app] [app]
# optional site title override for the app when added to an iOS home screen or Android launcher # optional site title override for the app when added to an iOS home screen or Android launcher
@ -45,22 +75,22 @@ disableThemeInject = false
light = "#f8f8f8" light = "#f8f8f8"
dark = "#252627" dark = "#252627"
# FixIt 0.2.0 | NEW Search config # Search config
[search] [search]
enable = true enable = true
# type of search engine ["lunr", "algolia", "fuse"] # type of search engine ["algolia", "fuse"]
type = "fuse" type = "fuse"
# max index length of the chunked content # max index length of the chunked content
contentLength = 4000 contentLength = 4000
# placeholder of the search bar # placeholder of the search bar
placeholder = "" placeholder = ""
# FixIt 0.2.1 | NEW max number of results length # max number of results length
maxResultLength = 10 maxResultLength = 10
# FixIt 0.2.3 | NEW snippet length of the result # snippet length of the result
snippetLength = 30 snippetLength = 30
# FixIt 0.2.1 | NEW HTML tag name of the highlight part in results # HTML tag name of the highlight part in results
highlightTag = "em" highlightTag = "em"
# FixIt 0.2.4 | NEW whether to use the absolute URL based on the baseURL in search index # whether to use the absolute URL based on the baseURL in search index
absoluteURL = false absoluteURL = false
[search.algolia] [search.algolia]
index = "" index = ""
@ -131,6 +161,11 @@ disableThemeInject = false
icp = "" icp = ""
# license info (HTML format is supported) # license info (HTML format is supported)
license = '<a rel="license external nofollow noopener noreferrer" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a>' license = '<a rel="license external nofollow noopener noreferrer" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a>'
# FixIt 0.3.0 | NEW whether to show Hugo and theme info
[footer.powered]
enable = true
hugoLogo = true
themeLogo = true
# FixIt 0.2.17 | CHANGED Site creation time # FixIt 0.2.17 | CHANGED Site creation time
[footer.siteTime] [footer.siteTime]
enable = false enable = false
@ -146,6 +181,13 @@ disableThemeInject = false
visitor = 0 visitor = 0
beian = 0 beian = 0
# FixIt 0.3.0 | NEW Archives page config (all pages of posts type)
[archives]
# special amount of posts in archives page
paginate = 20
# date format (month and day)
dateFormat = "01-02"
# FixIt 0.2.0 | NEW Section (all posts) page config # FixIt 0.2.0 | NEW Section (all posts) page config
[section] [section]
# special amount of posts in each section page # special amount of posts in each section page
@ -314,6 +356,10 @@ disableThemeInject = false
hiddenFromHomePage = false hiddenFromHomePage = false
# FixIt 0.2.0 | NEW whether to hide a page from search results # FixIt 0.2.0 | NEW whether to hide a page from search results
hiddenFromSearch = false hiddenFromSearch = false
# FixIt 0.3.0 | NEW whether to hide a page from RSS feed
hiddenFromRss = false
# FixIt 0.3.0 | NEW whether to hide a page from related posts
hiddenFromRelated = false
# FixIt 0.2.0 | NEW whether to enable twemoji # FixIt 0.2.0 | NEW whether to enable twemoji
twemoji = false twemoji = false
# whether to enable lightgallery # whether to enable lightgallery
@ -329,6 +375,12 @@ disableThemeInject = false
license = '<a rel="license external nofollow noopener noreferrer" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a>' license = '<a rel="license external nofollow noopener noreferrer" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a>'
# whether to show link to Raw Markdown content of the content # whether to show link to Raw Markdown content of the content
linkToMarkdown = true linkToMarkdown = true
# FixIt 0.3.0 | NEW whether to show link to view source code of the post
linkToSource = true
# FixIt 0.3.0 | NEW whether to show link to edit the post
linkToEdit = true
# FixIt 0.3.0 | NEW whether to show link to report issue for the post
linkToReport = true
# FixIt 0.2.4 | NEW whether to show the full text content in RSS # FixIt 0.2.4 | NEW whether to show the full text content in RSS
rssFullText = false rssFullText = false
# FixIt 0.2.13 | NEW Page style ["narrow", "normal", "wide", ...] # FixIt 0.2.13 | NEW Page style ["narrow", "normal", "wide", ...]
@ -344,6 +396,10 @@ disableThemeInject = false
endFlag = "" endFlag = ""
# FixIt 0.2.18 | NEW whether to enable instant.page # FixIt 0.2.18 | NEW whether to enable instant.page
instantPage = false instantPage = false
# FixIt 0.3.0 | NEW whether to enable collection list at the sidebar
collectionList = false
# FixIt 0.3.0 | NEW whether to enable collection navigation at the end of the post
collectionNavigation = false
# FixIt 0.2.15 | NEW Repost config # FixIt 0.2.15 | NEW Repost config
[page.repost] [page.repost]
@ -368,6 +424,19 @@ disableThemeInject = false
warning = 180 warning = 180
# If the article expires, close the comment or not # If the article expires, close the comment or not
closeComment = false closeComment = false
# FixIt 0.3.0 | NEW page heading config
[page.heading]
# used with `markup.tableOfContents.ordered` parameter
[page.heading.number]
# whether to enable auto heading numbering
enable = false
[page.heading.number.format]
h1 = "{title}"
h2 = "{h2} {title}"
h3 = "{h2}.{h3} {title}"
h4 = "{h2}.{h3}.{h4} {title}"
h5 = "{h2}.{h3}.{h4}.{h5} {title}"
h6 = "{h2}.{h3}.{h4}.{h5}.{h6} {title}"
# FixIt 0.2.16 | CHANGED KaTeX mathematical formulas (https://katex.org) # FixIt 0.2.16 | CHANGED KaTeX mathematical formulas (https://katex.org)
[page.math] [page.math]
enable = true enable = true
@ -412,6 +481,15 @@ disableThemeInject = false
scale = true scale = true
# whether to add FullscreenControl # whether to add FullscreenControl
fullscreen = true fullscreen = true
# FixIt 0.3.0 | NEW [Experimental] cache remote images locally, see: https://github.com/hugo-fixit/FixIt/pull/362
[page.cacheRemoteImages]
enable = false
# replace remote image url with local image url (place in public/images/remote/)
replace = false
# FixIt 0.3.0 | NEW Related content config (https://gohugo.io/content-management/related/)
[page.related]
enable = false
count = 5
# FixIt 0.2.17 | NEW Donate (Sponsor) settings # FixIt 0.2.17 | NEW Donate (Sponsor) settings
[page.reward] [page.reward]
enable = false enable = false
@ -428,7 +506,7 @@ disableThemeInject = false
# bitcoin = "/images/bitcoin.png" # bitcoin = "/images/bitcoin.png"
# FixIt 0.2.0 | CHANGED social share links in post page # FixIt 0.2.0 | CHANGED social share links in post page
[page.share] [page.share]
enable = true enable = false
Twitter = true Twitter = true
Facebook = true Facebook = true
Linkedin = false Linkedin = false
@ -462,7 +540,7 @@ disableThemeInject = false
# FixIt 0.2.13 | NEW Artalk comment config (https://artalk.js.org/) # FixIt 0.2.13 | NEW Artalk comment config (https://artalk.js.org/)
[page.comment.artalk] [page.comment.artalk]
enable = false enable = false
server = "https://yourdomain/api/" server = "https://yourdomain"
site = "默认站点" site = "默认站点"
placeholder = "" placeholder = ""
noComment = "" noComment = ""
@ -483,12 +561,12 @@ disableThemeInject = false
imgUpload = true imgUpload = true
preview = true preview = true
versionCheck = true versionCheck = true
# FixIt 0.1.1 | NEW Disqus comment config (https://disqus.com) # Disqus comment config (https://disqus.com)
[page.comment.disqus] [page.comment.disqus]
enable = false enable = false
# Disqus shortname to use Disqus in posts # Disqus shortname to use Disqus in posts
shortname = "" shortname = ""
# FixIt 0.1.1 | NEW Gitalk comment config (https://github.com/gitalk/gitalk) # Gitalk comment config (https://github.com/gitalk/gitalk)
[page.comment.gitalk] [page.comment.gitalk]
enable = false enable = false
owner = "" owner = ""
@ -511,7 +589,7 @@ disableThemeInject = false
highlight = true highlight = true
enableQQ = false enableQQ = false
serverURLs = "" serverURLs = ""
# FixIt 0.2.6 | NEW emoji data file name, default is "google.yml" # emoji data file name, default is "google.yml"
# ["apple.yml", "google.yml", "facebook.yml", "twitter.yml"] # ["apple.yml", "google.yml", "facebook.yml", "twitter.yml"]
# located in "themes/FixIt/assets/lib/valine/emoji/" directory # located in "themes/FixIt/assets/lib/valine/emoji/" directory
# you can store your own data files in the same path under your project: # you can store your own data files in the same path under your project:
@ -543,7 +621,7 @@ disableThemeInject = false
numPosts = 10 numPosts = 10
appId = "" appId = ""
languageCode = "" languageCode = ""
# FixIt 0.2.0 | NEW Telegram comments config (https://comments.app) # Telegram comments config (https://comments.app)
[page.comment.telegram] [page.comment.telegram]
enable = false enable = false
siteID = "" siteID = ""
@ -553,10 +631,10 @@ disableThemeInject = false
colorful = true colorful = true
dislikes = false dislikes = false
outlined = false outlined = false
# FixIt 0.2.0 | NEW Commento comment config (https://commento.io) # Commento comment config (https://commento.io)
[page.comment.commento] [page.comment.commento]
enable = false enable = false
# FixIt 0.2.5 | NEW Utterances comment config (https://utteranc.es) # Utterances comment config (https://utteranc.es)
[page.comment.utterances] [page.comment.utterances]
enable = false enable = false
# owner/repo # owner/repo
@ -593,7 +671,7 @@ disableThemeInject = false
lightTheme = "light" lightTheme = "light"
darkTheme = "dark" darkTheme = "dark"
lazyLoad = true lazyLoad = true
# FixIt 0.2.7 | NEW Third-party library config # Third-party library config
[page.library] [page.library]
[page.library.css] [page.library.css]
# someCSS = "some.css" # someCSS = "some.css"
@ -605,7 +683,7 @@ disableThemeInject = false
# located in "assets/" # located in "assets/"
# Or # Or
# someJavascript = "https://cdn.example.com/some.js" # someJavascript = "https://cdn.example.com/some.js"
# FixIt 0.2.10 | CHANGED Page SEO config # Page SEO config
[page.seo] [page.seo]
# image URL # image URL
images = [] images = []
@ -768,12 +846,6 @@ disableThemeInject = false
# "corner-indicator", "fill-left", "flash", "flat-top", "loading-bar", "mac-osx", "material", "minimal"] # "corner-indicator", "fill-left", "flash", "flat-top", "loading-bar", "mac-osx", "material", "minimal"]
theme = "minimal" theme = "minimal"
# FixIt 0.2.18-lts.3 | NEW [Experimental] cache remote images locally, see: https://github.com/hugo-fixit/FixIt/pull/362
[cacheRemoteImages]
enable = false
# replace remote image url with local image url
replace = false
# FixIt 0.2.17 | NEW Define custom file paths # FixIt 0.2.17 | NEW Define custom file paths
# Create your custom files in site directory `layouts/partials/custom` and uncomment needed files below # Create your custom files in site directory `layouts/partials/custom` and uncomment needed files below
[customFilePath] [customFilePath]

Loading…
Cancel
Save