Full config

This commit is contained in:
ren 2024-01-02 17:58:20 -06:00
parent b3c17a3e83
commit 5eef83b2ac
4 changed files with 104 additions and 3 deletions

View file

@ -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

View file

@ -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.

View file

@ -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"

View file

@ -8,3 +8,5 @@ sidebar:
---
Pages can be organized into folders.
lol