From 5eef83b2aceb365f23e65fdc541add8e7ff1d9f3 Mon Sep 17 00:00:00 2001 From: ren Date: Tue, 2 Jan 2024 17:58:20 -0600 Subject: [PATCH] Full config --- config.yaml | 97 ++++++++++++++++++++++++++++++++++- content/about.md | 4 +- content/docs/_index.md | 4 +- content/docs/folder/_index.md | 2 + 4 files changed, 104 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index 760ee47..80df18f 100644 --- a/config.yaml +++ b/config.yaml @@ -2,6 +2,35 @@ baseURL: https://portal.novoa.nagoya/ languageCode: es-mx #en-us title: Novoa.Index +enableRobotsTXT: true +enableGitInfo: true +enableEmoji: true +hasCJKLanguage: true + +# services: +# googleAnalytics: +# ID: G-MEASUREMENT_ID + +outputs: + home: [HTML] + page: [HTML] + section: [HTML, RSS] + +# Multiple language support + +defaultContentLanguage: es +languages: + es: + languageName: Español + languageCode: es-MX + weight: 1 + title: Novoa en español + en: + languageName: English + languageCode: en-US + weight: 2 + title: Novoa in english + # import hextra as module module: imports: @@ -17,6 +46,8 @@ markup: highlight: noClasses: false +enableInlineShortcodes: true + menu: main: - name: Documentación @@ -43,16 +74,80 @@ menu: url: "https://novoa.nagoya/" params: icon: mastodon + sidebar: + - identifier: more + name: More + params: + type: separator + weight: 1 + - identifier: about + name: "About" + pageRef: "/about" + weight: 2 + - identifier: hugoDocs + name: "Hugo Docs ↗" + url: "https://gohugo.io/documentation/" + weight: 3 params: + description: Portal de toda la documentación y servicios de Novoa. navbar: displayTitle: true displayLogo: true + logo: + path: images/logo.svg + dark: images/logo-dark.svg + # width: 40 + # height: 20 + # link: / + width: wide + + theme: + # light | dark | system + default: system + displayToggle: true footer: + enable: true + # full (100%), wide (90rem), normal (1280px) + width: normal displayCopyright: false displayPoweredBy: false + displayUpdatedDate: true + dateFormat: "02 Enero, 2024" #"January 2, 2006" #May not work at all + + # Search + # flexsearch is enabled by default + search: + enable: true + type: flexsearch + + flexsearch: + # index page by: content | summary | heading | title + index: content + editURL: + enable: false # It breaks everything, do not enable + base: "https://git.froth.zone/ren/Novoa/_new/intro/" + + blog: + list: + displayTags: true + + comments: enable: false - base: "" + type: giscus + + # https://giscus.app/ + giscus: + repo: someone/something + repoId: randomID + category: General + categoryId: RandomShit + # mapping: pathname + # strict: 0 + # reactionsEnabled: 1 + # emitMetadata: 0 + # inputPosition: top + # lang: en diff --git a/content/about.md b/content/about.md index 289d9c7..a39ae23 100644 --- a/content/about.md +++ b/content/about.md @@ -1,6 +1,8 @@ --- -title: About +title: Acerca de type: about --- This is the about page. + +Aquí no hay nada aún pero haré un copy paste supongo. diff --git a/content/docs/_index.md b/content/docs/_index.md index 73dfb20..7dfcc4c 100644 --- a/content/docs/_index.md +++ b/content/docs/_index.md @@ -5,9 +5,11 @@ next: first-page This is a demo of the theme's documentation layout. +Y aquí iré avanzando muy lentamente sobre la documentación de mi instancia y sobre la administración de fedi en general. + ## Hello, World! -```go {filename="main.go"} +```go package main import "fmt" diff --git a/content/docs/folder/_index.md b/content/docs/folder/_index.md index 5050ade..c4d3c6c 100644 --- a/content/docs/folder/_index.md +++ b/content/docs/folder/_index.md @@ -8,3 +8,5 @@ sidebar: --- Pages can be organized into folders. + +lol