Merge branch 'upd/config' into 'no-masters'

Actualización de la configuración

See merge request nutria/wiki-hackmeeting!3
This commit is contained in:
logout hacklab 2024-08-13 08:16:07 +00:00
commit 7db440c429
19 changed files with 439 additions and 258 deletions

View File

@ -16,7 +16,15 @@ Para correr la wiki en local, es necesario tener instalado Hugo, [sigue estas in
sudo apt install hugo sudo apt install hugo
``` ```
Para instalar el tema Blowfish hay que descargar el submodulo de git: Para **instalar el tema Blowfish** hay **dos opciones**: i) instalándolo como módulo de Hugo o ii) como submódulo de git.
i) Añadir el tema como módulo de hugo:
```bash
hugo mod get github.com/nunocoracao/blowfish/v2
```
ii) O descargando el submódulo de git:
```bash ```bash
git submodule update --init --recursive --progress git submodule update --init --recursive --progress

View File

@ -1,3 +0,0 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'

View File

@ -1,68 +0,0 @@
# -- Site Configuration --
# Refer to the theme docs for more details about each of these parameters.
# https://blowfish.page/docs/getting-started/
theme = "blowfish" # UNCOMMENT THIS LINE
#baseURL = "https://es.hackmeeting.org/latest/hugo"
defaultContentLanguage = "en"
title = 'Hackmeeting Iberico'
# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
enableRobotsTXT = true
paginate = 10
summaryLength = 0
buildDrafts = false
buildFuture = false
enableEmoji = true
# googleAnalytics = "G-XXXXXXXXX"
[imaging]
anchor = 'Center'
[taxonomies]
tag = "tags"
category = "categories"
author = "authors"
series = "series"
[sitemap]
changefreq = 'daily'
filename = 'sitemap.xml'
priority = 0.5
[outputs]
home = ["HTML", "RSS", "JSON"]
[related]
threshold = 0
toLower = false
[[related.indices]]
name = "tags"
weight = 100
[[related.indices]]
name = "categories"
weight = 100
[[related.indices]]
name = "series"
weight = 50
[[related.indices]]
name = "authors"
weight = 20
[[related.indices]]
name = "date"
weight = 10
[[related.indices]]
applyFilter = false
name = 'fragmentrefs'
type = 'fragments'
weight = 10

47
config/_default/hugo.yaml Normal file
View File

@ -0,0 +1,47 @@
baseurl: http://localhost:1312
title: Hackmeeting Iberico
module:
imports:
- path: github.com/nunocoracao/blowfish/v2
languageCode: es-es
defaultContentLanguage: es
enableRobotsTXT: true
paginate: 10
summaryLength: 0
buildDrafts: false
buildFuture: false
enableEmoji: true
imaging:
anchor: Center
taxonomies:
tag: tags
category: categories
author: authors
series: series
sitemap:
changefreq: daily
filename: sitemap.xml
priority: 0.5
outputs:
home:
- HTML
- RSS
- JSON
related:
threshold: 0
toLower: false
indices:
- name: tags
weight: 100
- name: categories
weight: 100
- name: series
weight: 50
- name: authors
weight: 20
- name: date
weight: 10
- applyFilter: false
name: fragmentrefs
type: fragments
weight: 10

View File

@ -1,18 +0,0 @@
languageCode = "en"
languageName = "English"
weight = 1
title = "Hackmeeting"
[params]
displayName = "EN"
isoCode = "en"
rtl = false
dateFormat = "2 January 2006"
logo = "img/logo_little.png"
description = "Encuentro anual de las contraculturas digitales"
[author]
name = "Hackmeeting"
headline = "Encuentro anual de las contraculturas digitales"
bio = "Hackmeeting es el encuentro anual de las contraculturas digitales de la peninsula Iberica, de aquellas comunidades que analizan de manera crítica los mecanismos de desarollo de las tecnologías en nuestra sociedad. Pero hackmeeting no es sólo esto, es mucho más. Te lo contamos al oído, no se lo digas a nadie, el hackmeeting es solamente para verdaderos hackers, para quienes quieran gestionarse la vida como quieran y luchan por eso, aunque no hayan visto un ordenador en su vida."
image = "img/penguin_hm.png"

View File

@ -0,0 +1,16 @@
languageCode: en
languageName: English
weight: 1
title: Hackmeeting
params:
displayName: EN
isoCode: en
rtl: false
dateFormat: 2 January 2006
logo: img/logo_little.png
description: Annual meeting of digital countercultures
author:
name: Hackmeeting
headline: Annual meeting of digital countercultures
bio: Hackmeeting is the annual meeting of the digital countercultures of the Iberian Peninsula, of those communities that critically analyze the mechanisms of development of technologies in our society. But hackmeeting is not only this, it is much more. We tell you in your ear, do not tell anyone, hackmeeting is only for real hackers, for those who want to manage their life as they want and fight for that, even if they have never seen a computer in their life.
image: img/penguin_hm.png

View File

@ -0,0 +1,24 @@
languageCode: es
languageName: Spanish
weight: 1
title: Hackmeeting
params:
displayName: ES
isoCode: es
rtl: false
dateFormat: 2 January 2006
logo: img/logo_little.png
description: Encuentro anual de las contraculturas digitales
showThemeAttribution: false
author:
name: Hackmeeting
headline: Encuentro anual de las contraculturas digitales
bio: Hackmeeting es el encuentro anual de las contraculturas digitales de la
peninsula Iberica, de aquellas comunidades que analizan de manera crítica
los mecanismos de desarollo de las tecnologías en nuestra sociedad. Pero
hackmeeting no es sólo esto, es mucho más. Te lo contamos al oído, no se lo
digas a nadie, el hackmeeting es solamente para verdaderos hackers, para
quienes quieran gestionarse la vida como quieran y luchan por eso, aunque no
hayan visto un ordenador en su vida.
image: img/penguin_hm.png

View File

@ -1,13 +0,0 @@
# -- Markup --
# These settings are required for the theme to function.
[goldmark]
[goldmark.renderer]
unsafe = true
[highlight]
noClasses = false
[tableOfContents]
startLevel = 2
endLevel = 4

View File

@ -0,0 +1,11 @@
# -- Markup --
# These settings are required for the theme to function.
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
tableOfContents:
startLevel: 2
endLevel: 4

View File

@ -0,0 +1,35 @@
main:
- name: About
weight: 20
pageRef: info
weight: 20
- name: "Información"
parent: About
pageRef: info
weight: 21
- name: "Sobre el Hackmeeting"
parent: About
pageRef: about
weight: 22
- name: "Inscripción"
parent: About
pageRef: inscripcion
weight: 23
- name: "Actividades"
parent: About
pageRef: actividades
weight: 24
- name: "Participa"
parent: About
pageRef: participa
weight: 25
- identifier: Call4Nodes
pre: wand-magic-sparkles
url: https://forms.komun.org/call4nodes-hackmeeting-2024
weight: 40
- identifier: inscripcion
pre: edit
url: https://forms.komun.org/inscripcion-hackmeeting-2024
weight: 50

View File

@ -0,0 +1,35 @@
main:
- name: Más Información
weight: 20
pageRef: info
weight: 20
- name: "Información"
parent: Más Información
pageRef: info
weight: 21
- name: "Sobre el Hackmeeting"
parent: Más Información
pageRef: about
weight: 22
- name: "Inscripción"
parent: Más Información
pageRef: inscripcion
weight: 23
- name: "Actividades"
parent: Más Información
pageRef: actividades
weight: 24
- name: "Participa"
parent: Más Información
pageRef: participa
weight: 25
- identifier: Call4Nodes
pre: wand-magic-sparkles
url: https://forms.komun.org/call4nodes-hackmeeting-2024
weight: 40
- identifier: inscripcion
pre: edit
url: https://forms.komun.org/inscripcion-hackmeeting-2024
weight: 50

View File

@ -1,3 +0,0 @@
[hugoVersion]
extended = false
min = "0.87.0"

View File

@ -0,0 +1,3 @@
hugoVersion:
extended: false
min: 0.87.0

View File

@ -1,152 +0,0 @@
# -- Theme Options --
# These options control how the theme functions and allow you to
# customise the display of your website.
#
# Refer to the theme docs for more details about each of these parameters.
# https://blowfish.page/docs/configuration/#theme-parameters
colorScheme = "blowfish"
defaultAppearance = "dark" # valid options: light or dark
autoSwitchAppearance = true
enableSearch = true
enableCodeCopy = false
mainSections = ["docs"]
# robots = ""
disableImageOptimization = false
disableTextInHeader = false
defaultBackgroundImage = "img/corona_hm.png" # used as default for background images
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
# highlightCurrentMenuArea = true
# smartTOC = true
# smartTOCHideUnfocusedChildren = true
[header]
layout = "fixed-gradient" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
[footer]
showMenu = true
showCopyright = true
showThemeAttribution = true
showAppearanceSwitcher = true
showScrollToTop = true
[homepage]
layout = "custom" # valid options: page, profile, hero, card, background, custom
homepageImage = "img/corona_hm.png" # used in: hero, and card
showRecent = true
showRecentItems = 6
showMoreLink = true
showMoreLinkDest = "docs"
cardView = true
cardViewScreenWidth = true
layoutBackgroundBlur = true # only used when layout equals background
# showAuthor = true
[article]
showDate = false
showViews = false
showLikes = false
showDateOnlyInArticle = false
showDateUpdated = false
showAuthor = false
# showAuthorBottom = false
showHero = true
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
layoutBackgroundBlur = false # only used when heroStyle equals background or thumbAndBackground
layoutBackgroundHeaderSpace = false # only used when heroStyle equals background
showBreadcrumbs = true
showDraftLabel = true
showEdit = false
# editURL = "https://github.com/username/repo/"
editAppendPath = true
seriesOpened = false
showHeadingAnchors = true
showPagination = true
invertPagination = false
showReadingTime = false
showTableOfContents = true
# showRelatedContent = false
# relatedContentLimit = 3
showTaxonomies = true
showAuthorsBadges = false
showWordCount = false
#sharingLinks = [ "linkedin", "twitter", "bluesky", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
sharingLinks = ["email"]
showZenMode = true
[list]
showHero = false
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
showBreadcrumbs = false
showSummary = false
showViews = false
showLikes = false
showTableOfContents = false
showCards = true
orderByWeight = false
groupByYear = true
cardView = true
cardViewScreenWidth = false
constrainItemsWidth = false
[sitemap]
excludedKinds = ["taxonomy", "term"]
[taxonomy]
showTermCount = true
showHero = false
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
showBreadcrumbs = false
showViews = false
showLikes = false
showTableOfContents = true
cardView = false
[term]
showHero = false
# heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
showBreadcrumbs = false
showViews = false
showLikes = false
showTableOfContents = true
groupByYear = false
cardView = true
cardViewScreenWidth = false
[firebase]
# apiKey = "XXXXXX"
# authDomain = "XXXXXX"
# projectId = "XXXXXX"
# storageBucket = "XXXXXX"
# messagingSenderId = "XXXXXX"
# appId = "XXXXXX"
# measurementId = "XXXXXX"
[fathomAnalytics]
# site = "ABC12345"
# domain = "llama.yoursite.com"
[umamiAnalytics]
# websiteid = "ABC12345"
# domain = "llama.yoursite.com"
[buymeacoffee]
# identifier = ""
# globalWidget = true
# globalWidgetMessage = "Hello"
# globalWidgetColor = "#FFDD00"
# globalWidgetPosition = "Right"
[verification]
# google = ""
# bing = ""
# pinterest = ""
# yandex = ""

103
config/_default/params.yaml Normal file
View File

@ -0,0 +1,103 @@
colorScheme: blowfish
defaultAppearance: dark
autoSwitchAppearance: true
enableSearch: true
enableCodeCopy: false
mainSections:
- docs
disableImageOptimization: false
disableTextInHeader: false
defaultBackgroundImage: "img/corona_hm.png"
copyright: El contenido está disponible bajo la licencia [GNU Free Documentation License 1.3 or later](https://www.gnu.org/copyleft/fdl.html) a menos que se indique lo contrario.
header:
layout: fixed-gradient
footer:
showMenu: true
showCopyright: true
showThemeAttribution: false
showAppearanceSwitcher: true
showScrollToTop: true
homepage:
layout: background
homepageImage: "img/corona_hm.png"
showRecent: true
showRecentItems: 6
showMoreLink: true
showMoreLinkDest: docs
cardView: true
cardViewScreenWidth: true
layoutBackgroundBlur: true
article:
showDate: false
showViews: false
showLikes: false
showDateOnlyInArticle: false
showDateUpdated: false
showAuthor: false
showHero: true
heroStyle: background
layoutBackgroundBlur: false
layoutBackgroundHeaderSpace: false
showBreadcrumbs: true
showDraftLabel: true
showEdit: false
editAppendPath: true
seriesOpened: false
showHeadingAnchors: true
showPagination: true
invertPagination: false
showReadingTime: false
showTableOfContents: true
showTaxonomies: true
showAuthorsBadges: false
showWordCount: false
sharingLinks:
- email
- telegram
- twitter
- whatsapp
- facebook
- linkedin
- reddit
showZenMode: true
list:
showHero: false
layoutBackgroundBlur: true
layoutBackgroundHeaderSpace: true
showBreadcrumbs: false
showSummary: false
showViews: false
showLikes: false
showTableOfContents: false
showCards: true
orderByWeight: false
groupByYear: true
cardView: true
cardViewScreenWidth: false
constrainItemsWidth: false
sitemap:
excludedKinds:
- taxonomy
- term
taxonomy:
showTermCount: true
showHero: false
showBreadcrumbs: false
showViews: false
showLikes: false
showTableOfContents: true
cardView: false
term:
showHero: false
showBreadcrumbs: false
showViews: false
showLikes: false
showTableOfContents: true
groupByYear: false
cardView: true
cardViewScreenWidth: false
firebase: {}
fathomAnalytics: {}
umamiAnalytics: {}
buymeacoffee: {}
verification: {}

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
module 0xacab.org/nutria/wiki-hackmeeting
go 1.22.2
require github.com/nunocoracao/blowfish/v2 v2.74.0 // indirect

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/nunocoracao/blowfish/v2 v2.74.0 h1:1AMcqKWEytSELTI97WyKBRfnoa5k/cmvXTwgp/uiTK4=
github.com/nunocoracao/blowfish/v2 v2.74.0/go.mod h1:4SkMc+Ht8gpQCwArqiHMBDP3soxi2OWuAhVney+cuyk=

75
i18n/en.yaml Normal file
View File

@ -0,0 +1,75 @@
global:
language: "EN"
article:
anchor_label: "Anchor"
date: "{{ .Date }}"
date_updated: "Updated: {{ .Date }}"
draft: "Draft"
edit_title: "Edit content"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} mins"
reading_time_title: "Reading time"
table_of_contents: "Table of Contents"
word_count:
one: "{{ .Count }} word"
other: "{{ .Count }} words"
views:
one: "{{ .Count }} view"
other: "{{ .Count }} views"
likes:
one: "{{ .Count }} like"
other: "{{ .Count }} likes"
part_of_series: "This page is part of a series."
part: "Part"
this_article: "This Page"
related_articles: "Related"
zen_mode_title:
enable: "Enable zen mode"
disable: "Disable zen mode"
author:
byline_title: "Community"
code:
copy: "Copy"
copied: "Copied"
error:
404_title: "Page Not Found :confused:"
404_error: "Error 404"
404_description: "It seems that the page you've requested does not exist."
footer:
dark_appearance: "Switch to dark appearance"
light_appearance: "Switch to light appearance"
powered_by: "Hackmeeting"
list:
externalurl_title: "Link to external site"
no_articles: "There are no articles to list here yet."
nav:
scroll_to_top_title: "Scroll to top"
skip_to_main: "Skip to main content"
search:
open_button_title: "Search (/)"
close_button_title: "Close (Esc)"
input_placeholder: "Search"
sharing:
email: "Send via email"
facebook: "Share on Facebook"
linkedin: "Share on LinkedIn"
pinterest: "Pin on Pinterest"
reddit: "Submit to Reddit"
twitter: "Tweet on Twitter"
bluesky: "Post on Bluesky"
shortcode:
recent_articles: "More information"
recent:
show_more: "Show More"

74
i18n/es.yml Normal file
View File

@ -0,0 +1,74 @@
global:
language: "ES"
article:
anchor_label: "Ancla"
date: "{{ .Date }}"
date_updated: "Actualizado: {{ .Date }}"
draft: "Borrador"
edit_title: "Editar contenido"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} mins"
reading_time_title: "Tiempo de lectura"
table_of_contents: "Tabla de contenido"
word_count:
one: "{{ .Count }} palabra"
other: "{{ .Count }} palabras"
views:
one: "{{ .Count }} visualización"
other: "{{ .Count }} visualizaciones"
likes:
one: "{{ .Count }} me gusta"
other: "{{ .Count }} me gusta"
part_of_series: "Esta página es parte de una serie."
part: "Parte"
this_article: "Esta página"
related_articles: "Relacionados"
zen_mode_title:
enable: "Activar modo zen"
disable: "Desactivar modo zen"
author:
byline_title: "Comunidad"
code:
copy: "Copiar"
copied: "Copiado"
error:
404_title: "Página no encontrada :confused:"
404_error: "Error 404"
404_description: "Parece que la página que solicitaste no existe."
footer:
dark_appearance: "Cambiar a modo oscuro"
light_appearance: "Cambiar a modo claro"
powered_by: "Hackmeeting"
list:
externalurl_title: "Enlace a página externa"
no_articles: "Aún no hay artículos para listar aquí."
nav:
scroll_to_top_title: "Ir arriba"
skip_to_main: "Ir al contenido"
search:
open_button_title: "Buscar (/)"
close_button_title: "Cerrar (Esc)"
input_placeholder: "Buscar"
sharing:
email: "Enviar vía email"
facebook: "Compartir en Facebook"
linkedin: "Compartir en LinkedIn"
pinterest: "Pinear en Pinterest"
reddit: "Publicar en Reddit"
twitter: "Tuitear en Twitter"
shortcode:
recent_articles: "Más información"
recent:
show_more: "Mostrar más"