|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
# -------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
description = "Notas personales sobre hardware y software libres"
|
|
|
|
|
# site keywords
|
|
|
|
@ -24,10 +24,39 @@ images = []
|
|
|
|
|
enablePWA = false
|
|
|
|
|
# FixIt 0.2.14 | NEW whether to add external Icon for external links automatically
|
|
|
|
|
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.
|
|
|
|
|
# You can turn it off, but we would really appreciate if you don’t, as this is a good way to watch FixIt's popularity on the rise.
|
|
|
|
|
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
|
|
|
|
|
[app]
|
|
|
|
|
# optional site title override for the app when added to an iOS home screen or Android launcher
|
|
|
|
@ -45,22 +74,22 @@ disableThemeInject = false
|
|
|
|
|
light = "#f8f8f8"
|
|
|
|
|
dark = "#252627"
|
|
|
|
|
|
|
|
|
|
# FixIt 0.2.0 | NEW Search config
|
|
|
|
|
# Search config
|
|
|
|
|
[search]
|
|
|
|
|
enable = true
|
|
|
|
|
# type of search engine ["lunr", "algolia", "fuse"]
|
|
|
|
|
type = "lunr"
|
|
|
|
|
# type of search engine ["algolia", "fuse"]
|
|
|
|
|
type = "fuse"
|
|
|
|
|
# max index length of the chunked content
|
|
|
|
|
contentLength = 4000
|
|
|
|
|
# placeholder of the search bar
|
|
|
|
|
placeholder = ""
|
|
|
|
|
# FixIt 0.2.1 | NEW max number of results length
|
|
|
|
|
# max number of results length
|
|
|
|
|
maxResultLength = 10
|
|
|
|
|
# FixIt 0.2.3 | NEW snippet length of the result
|
|
|
|
|
# snippet length of the result
|
|
|
|
|
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"
|
|
|
|
|
# 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
|
|
|
|
|
[search.algolia]
|
|
|
|
|
index = ""
|
|
|
|
@ -131,6 +160,11 @@ disableThemeInject = false
|
|
|
|
|
icp = ""
|
|
|
|
|
# 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>'
|
|
|
|
|
# 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
|
|
|
|
|
[footer.siteTime]
|
|
|
|
|
enable = false
|
|
|
|
@ -146,6 +180,13 @@ disableThemeInject = false
|
|
|
|
|
visitor = 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
|
|
|
|
|
[section]
|
|
|
|
|
# special amount of posts in each section page
|
|
|
|
@ -156,7 +197,7 @@ disableThemeInject = false
|
|
|
|
|
rss = 10
|
|
|
|
|
# FixIt 0.2.13 | NEW recently updated posts settings
|
|
|
|
|
[section.recentlyUpdated]
|
|
|
|
|
enable = false
|
|
|
|
|
enable = true
|
|
|
|
|
rss = false
|
|
|
|
|
days = 30
|
|
|
|
|
maxCount = 10
|
|
|
|
@ -314,6 +355,10 @@ disableThemeInject = false
|
|
|
|
|
hiddenFromHomePage = false
|
|
|
|
|
# FixIt 0.2.0 | NEW whether to hide a page from search results
|
|
|
|
|
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
|
|
|
|
|
twemoji = false
|
|
|
|
|
# whether to enable lightgallery
|
|
|
|
@ -329,6 +374,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>'
|
|
|
|
|
# whether to show link to Raw Markdown content of the content
|
|
|
|
|
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
|
|
|
|
|
rssFullText = false
|
|
|
|
|
# FixIt 0.2.13 | NEW Page style ["narrow", "normal", "wide", ...]
|
|
|
|
@ -344,6 +395,10 @@ disableThemeInject = false
|
|
|
|
|
endFlag = ""
|
|
|
|
|
# FixIt 0.2.18 | NEW whether to enable instant.page
|
|
|
|
|
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
|
|
|
|
|
[page.repost]
|
|
|
|
@ -368,6 +423,19 @@ disableThemeInject = false
|
|
|
|
|
warning = 180
|
|
|
|
|
# If the article expires, close the comment or not
|
|
|
|
|
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)
|
|
|
|
|
[page.math]
|
|
|
|
|
enable = true
|
|
|
|
@ -412,6 +480,15 @@ disableThemeInject = false
|
|
|
|
|
scale = true
|
|
|
|
|
# whether to add FullscreenControl
|
|
|
|
|
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
|
|
|
|
|
[page.reward]
|
|
|
|
|
enable = false
|
|
|
|
@ -428,7 +505,7 @@ disableThemeInject = false
|
|
|
|
|
# bitcoin = "/images/bitcoin.png"
|
|
|
|
|
# FixIt 0.2.0 | CHANGED social share links in post page
|
|
|
|
|
[page.share]
|
|
|
|
|
enable = true
|
|
|
|
|
enable = false
|
|
|
|
|
Twitter = true
|
|
|
|
|
Facebook = true
|
|
|
|
|
Linkedin = false
|
|
|
|
@ -462,7 +539,7 @@ disableThemeInject = false
|
|
|
|
|
# FixIt 0.2.13 | NEW Artalk comment config (https://artalk.js.org/)
|
|
|
|
|
[page.comment.artalk]
|
|
|
|
|
enable = false
|
|
|
|
|
server = "https://yourdomain/api/"
|
|
|
|
|
server = "https://yourdomain"
|
|
|
|
|
site = "默认站点"
|
|
|
|
|
placeholder = ""
|
|
|
|
|
noComment = ""
|
|
|
|
@ -483,12 +560,12 @@ disableThemeInject = false
|
|
|
|
|
imgUpload = true
|
|
|
|
|
preview = true
|
|
|
|
|
versionCheck = true
|
|
|
|
|
# FixIt 0.1.1 | NEW Disqus comment config (https://disqus.com)
|
|
|
|
|
# Disqus comment config (https://disqus.com)
|
|
|
|
|
[page.comment.disqus]
|
|
|
|
|
enable = false
|
|
|
|
|
# Disqus shortname to use Disqus in posts
|
|
|
|
|
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]
|
|
|
|
|
enable = false
|
|
|
|
|
owner = ""
|
|
|
|
@ -511,7 +588,7 @@ disableThemeInject = false
|
|
|
|
|
highlight = true
|
|
|
|
|
enableQQ = false
|
|
|
|
|
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"]
|
|
|
|
|
# located in "themes/FixIt/assets/lib/valine/emoji/" directory
|
|
|
|
|
# you can store your own data files in the same path under your project:
|
|
|
|
@ -543,7 +620,7 @@ disableThemeInject = false
|
|
|
|
|
numPosts = 10
|
|
|
|
|
appId = ""
|
|
|
|
|
languageCode = ""
|
|
|
|
|
# FixIt 0.2.0 | NEW Telegram comments config (https://comments.app)
|
|
|
|
|
# Telegram comments config (https://comments.app)
|
|
|
|
|
[page.comment.telegram]
|
|
|
|
|
enable = false
|
|
|
|
|
siteID = ""
|
|
|
|
@ -553,10 +630,10 @@ disableThemeInject = false
|
|
|
|
|
colorful = true
|
|
|
|
|
dislikes = false
|
|
|
|
|
outlined = false
|
|
|
|
|
# FixIt 0.2.0 | NEW Commento comment config (https://commento.io)
|
|
|
|
|
# Commento comment config (https://commento.io)
|
|
|
|
|
[page.comment.commento]
|
|
|
|
|
enable = false
|
|
|
|
|
# FixIt 0.2.5 | NEW Utterances comment config (https://utteranc.es)
|
|
|
|
|
# Utterances comment config (https://utteranc.es)
|
|
|
|
|
[page.comment.utterances]
|
|
|
|
|
enable = false
|
|
|
|
|
# owner/repo
|
|
|
|
@ -593,7 +670,7 @@ disableThemeInject = false
|
|
|
|
|
lightTheme = "light"
|
|
|
|
|
darkTheme = "dark"
|
|
|
|
|
lazyLoad = true
|
|
|
|
|
# FixIt 0.2.7 | NEW Third-party library config
|
|
|
|
|
# Third-party library config
|
|
|
|
|
[page.library]
|
|
|
|
|
[page.library.css]
|
|
|
|
|
# someCSS = "some.css"
|
|
|
|
@ -605,7 +682,7 @@ disableThemeInject = false
|
|
|
|
|
# located in "assets/"
|
|
|
|
|
# Or
|
|
|
|
|
# someJavascript = "https://cdn.example.com/some.js"
|
|
|
|
|
# FixIt 0.2.10 | CHANGED Page SEO config
|
|
|
|
|
# Page SEO config
|
|
|
|
|
[page.seo]
|
|
|
|
|
# image URL
|
|
|
|
|
images = []
|
|
|
|
@ -768,12 +845,6 @@ disableThemeInject = false
|
|
|
|
|
# "corner-indicator", "fill-left", "flash", "flat-top", "loading-bar", "mac-osx", "material", "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
|
|
|
|
|
# Create your custom files in site directory `layouts/partials/custom` and uncomment needed files below
|
|
|
|
|
[customFilePath]
|
|
|
|
|