Compare commits

..

5 Commits

@ -1,8 +0,0 @@
# -------------------------------------------------------------------------------------
# Author Configuration
# -------------------------------------------------------------------------------------
name = "salvari"
email = "salvari@protonmail.com"
link = "https://comacero.com/"
avatar = ""

@ -39,5 +39,6 @@
# Table Of Contents settings # Table Of Contents settings
[tableOfContents] [tableOfContents]
ordered = false
startLevel = 2 startLevel = 2
endLevel = 6 endLevel = 6

@ -24,6 +24,28 @@
icon = "fa-solid fa-archive" icon = "fa-solid fa-archive"
# FixIt 0.2.16 | NEW set menu item type, optional values: ["mobile", "desktop"] # FixIt 0.2.16 | NEW set menu item type, optional values: ["mobile", "desktop"]
type = "" type = ""
[[main]]
identifier = "archives"
parent = ""
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
name = "Archives"
url = "/archives/"
# title will be shown when you hover on this menu link
title = ""
weight = 10
# FixIt 0.2.14 | NEW add user-defined content to menu items
[main.params]
# add css class to a specific menu item
class = ""
# whether set as a draft menu item whose function is similar to a draft post/page
draft = false
# FixIt 0.2.16 | NEW add fontawesome icon to a specific menu item
icon = "fa-solid fa-archive"
# FixIt 0.2.16 | NEW set menu item type, optional values: ["mobile", "desktop"]
type = ""
[[main]] [[main]]
identifier = "categories" identifier = "categories"
pre = "" pre = ""
@ -81,6 +103,6 @@
name = "Acerca de" name = "Acerca de"
url = "/about/" url = "/about/"
title = "" title = ""
weight = 10 weight = 11
[main.params] [main.params]
icon = "fa-solid fa-info-circle" icon = "fa-solid fa-info-circle"

@ -8,8 +8,30 @@
mediaType = "text/markdown" mediaType = "text/markdown"
isPlainText = true isPlainText = true
isHTML = false isHTML = false
# Options to make output baidu_urls.txt file # FixIt 0.3.0 | NEW Options to make output /archives/index.html file
[BaiduUrls] [archives]
path = "archives"
baseName = "index"
mediaType = "text/html"
isPlainText = false
isHTML = true
permalinkable = true
# FixIt 0.3.0 | NEW Options to make output /offline/index.html file
[offline]
path = "offline"
baseName = "index"
mediaType = "text/html"
isPlainText = false
isHTML = true
permalinkable = true
# FixIt 0.3.0 | NEW Options to make output readme.md file
[README]
baseName = "readme"
mediaType = "text/markdown"
isPlainText = true
isHTML = false
# FixIt 0.3.0 | CHANGED Options to make output baidu_urls.txt file
[baidu_urls]
baseName = "baidu_urls" baseName = "baidu_urls"
mediaType = "text/plain" mediaType = "text/plain"
isPlainText = true isPlainText = true

@ -3,9 +3,14 @@
# See: https://gohugo.io/templates/output-formats/#customizing-output-formats # See: https://gohugo.io/templates/output-formats/#customizing-output-formats
# ------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------
# Options to make hugo output files # Options to make hugo output files, the optional values are below:
home = ["HTML", "RSS", "JSON", "BaiduUrls"] # home: ["HTML", "RSS", "JSON", "archives", "offline", "README", "baidu_urls"]
# page: ["HTML", "MarkDown"]
# section: ["HTML", "RSS"]
# taxonomy: ["HTML", "RSS"]
# term: ["HTML", "RSS"]
home = ["HTML", "RSS", "JSON", "archives", "offline"]
page = ["HTML", "MarkDown"] page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"] section = ["HTML", "RSS"]
taxonomy = ["HTML"] taxonomy = ["HTML"]
Term = ["HTML", "RSS"] term = ["HTML", "RSS"]

@ -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,39 @@ 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 +74,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 = "lunr" 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 +160,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 +180,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
@ -156,7 +197,7 @@ disableThemeInject = false
rss = 10 rss = 10
# FixIt 0.2.13 | NEW recently updated posts settings # FixIt 0.2.13 | NEW recently updated posts settings
[section.recentlyUpdated] [section.recentlyUpdated]
enable = false enable = true
rss = false rss = false
days = 30 days = 30
maxCount = 10 maxCount = 10
@ -314,6 +355,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 +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>' 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 +395,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 +423,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 +480,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 +505,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 +539,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 +560,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 +588,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 +620,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 +630,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 +670,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 +682,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 +845,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]

@ -404,3 +404,13 @@ Editamos el fichero y lo dejamos con los cambios marcados en el listado a contin
[main.params] [main.params]
icon = "fa-solid fa-info-circle" icon = "fa-solid fa-info-circle"
``` ```
## Actualizaciones
### 2024-07-05
- Actualizado hugo a la versión v0.128.2
- Actualizado FixIt a la versión v0.3.8
- Busquedas con `lunr` dejan de funcionar, cambiamos a `fuse`
- Actualizados los ficheros de configuración copiando del template

Loading…
Cancel
Save