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
[tableOfContents]
ordered = false
startLevel = 2
endLevel = 6

@ -24,6 +24,28 @@
icon = "fa-solid fa-archive"
# FixIt 0.2.16 | NEW set menu item type, optional values: ["mobile", "desktop"]
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]]
identifier = "categories"
pre = ""
@ -81,6 +103,6 @@
name = "Acerca de"
url = "/about/"
title = ""
weight = 10
weight = 11
[main.params]
icon = "fa-solid fa-info-circle"

@ -8,8 +8,30 @@
mediaType = "text/markdown"
isPlainText = true
isHTML = false
# Options to make output baidu_urls.txt file
[BaiduUrls]
# FixIt 0.3.0 | NEW Options to make output /archives/index.html file
[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"
mediaType = "text/plain"
isPlainText = true

@ -3,9 +3,14 @@
# See: https://gohugo.io/templates/output-formats/#customizing-output-formats
# -------------------------------------------------------------------------------------
# Options to make hugo output files
home = ["HTML", "RSS", "JSON", "BaiduUrls"]
# Options to make hugo output files, the optional values are below:
# 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"]
section = ["HTML", "RSS"]
taxonomy = ["HTML"]
Term = ["HTML", "RSS"]
term = ["HTML", "RSS"]

@ -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 dont, 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]

@ -404,3 +404,13 @@ Editamos el fichero y lo dejamos con los cambios marcados en el listado a contin
[main.params]
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