correct config + base + services listed

This commit is contained in:
ren 2024-01-02 17:33:08 -06:00
parent e9216c81bc
commit b3c17a3e83
12 changed files with 222 additions and 3 deletions

View file

@ -1,3 +1,58 @@
baseURL: http://example.org/
languageCode: en-us
title: My New Hugo Site
baseURL: https://portal.novoa.nagoya/
languageCode: es-mx #en-us
title: Novoa.Index
# import hextra as module
module:
imports:
- path: github.com/imfing/hextra
markup:
# allow raw html
goldmark:
renderer:
unsafe: true
# enable hextra syntax highlight
highlight:
noClasses: false
menu:
main:
- name: Documentación
pageRef: /docs
weight: 1
- name: Acerca de
pageRef: /novoa
weight: 2
- name: Servicios ↗
pageRef: /servicios
#url: "https://portal.novoa.nagoya/"
weight: 3
- name: Búsqueda #Search
weight: 4
params:
type: search
- name: SourceCode
weight: 5
url: "https://git.froth.zone/ren/Novoa"
params:
icon: github
- name: Fediverso
weight: 6
url: "https://novoa.nagoya/"
params:
icon: mastodon
params:
navbar:
displayTitle: true
displayLogo: true
footer:
displayCopyright: false
displayPoweredBy: false
editURL:
enable: false
base: ""

19
content/_index.md Normal file
View file

@ -0,0 +1,19 @@
---
title: Novoa Index
toc: false
---
This is the landing page.
Y esta completamente en construcción pero la publicaré de todas formas.
## Explore
{{< cards >}}
{{< card link="docs" title="Docs" icon="book-open" >}}
{{< card link="about" title="About" icon="user" >}}
{{< /cards >}}
## Documentation
For more information, visit [Hextra](https://imfing.github.io/hextra).

6
content/about.md Normal file
View file

@ -0,0 +1,6 @@
---
title: About
type: about
---
This is the about page.

18
content/docs/_index.md Normal file
View file

@ -0,0 +1,18 @@
---
title: Documentation
next: first-page
---
This is a demo of the theme's documentation layout.
## Hello, World!
```go {filename="main.go"}
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
```

View file

@ -0,0 +1,9 @@
---
title: Demo Page
type: docs
prev: /
next: docs/folder/
---
A simple demo page.

View file

@ -0,0 +1,10 @@
---
title: Folder
type: docs
prev: docs/first-page
next: docs/folder/leaf
sidebar:
open: true
---
Pages can be organized into folders.

View file

@ -0,0 +1,7 @@
---
title: Leaf Page
type: docs
prev: docs/folder/
---
This page is under a folder.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="description" content="Los servicios del sitio.">
<meta name="author" content="Sarvo">
<meta property="og:title" content="Servicios en Novoa">
<meta property="og:type" content="website">
<meta property="og:url" content="https://novoa.nagoya">
<meta property="og:description" content="NovoaS">
<meta property="og:image" content="image.png">
<title>Novoa</title>
<link rel="stylesheet" href="./style.css">
<link rel="icon" href="./favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<style>
h1 {text-align: center;
color: green;
}
p {text-align: center;}
div {text-align: center;}
body {background-color: black;}
ul {
text-align: center;
border-left: 25px solid blue;
background-color: black;
list-style-type: cjk-ideographic;
list-style-image: url('abstract-shape-mini.png');
padding: 10px 3px;
color: white;
}
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: red;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: white;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
#handles {
color: white;
}
</style>
</head>
<body>
<main>
<h1>Lista de servicios</h1>
<ul>
<a href="https://novoa.nagoya/"><li>Misskey: Ventana al Fediverso</li></a>
<a href="https://xmpp.novoa.nagoya/"><li>Movim: Cliente XMPP</li></a>
<a href="https://novoa.nagoya:34371/register_web/"><li>Registro en el servidor XMPP</li></a>
<li>Mumble ↣ https://novoa.nagoya:64738</li>
<a href="https://arroyo.novoa.nagoya/"><li>Owncast - Contactame en XMPP</li></a>
<a href="https://kinema.novoa.nagoya/"><li>Kinoplex - Contactame en XMPP</li></a>
<li>Wireguard (VPN) - Contactame en XMPP</li>
<li>Unbound - Resolvedor DNS pero esta medio roto</li>
<a href="https://arca.novoa.nagoya/"><li>Servicio de almacenamiento persistente</li></a>
<a href="https://flux.novoa.nagoya/"><li>Servidor Miniflux para RSS</li></a>
<a href="https://gemini.novoa.nagoya/"><li>Blog en geminispace ahora aquí</a> - En construcción</li>
<li>Y dos más</li>
</ul>
<p id="handles">XMPP: <a href="xmpp:sarvo@novoa.nagoya">sarvo@novoa.nagoya</a></p>
<p id="handles">Fediverso: <a href="https://novoa.nagoya/@sarvo">@sarvo@novoa.nagoya</a></p>
</main>
<script src="index.js"></script>
</body>
</html>

2
go.mod
View file

@ -1,3 +1,5 @@
module git.froth.zone/ren/Novoa
go 1.19
require github.com/imfing/hextra v0.7.0 // indirect

2
go.sum
View file

@ -0,0 +1,2 @@
github.com/imfing/hextra v0.7.0 h1:4kK/R5Uks+LvZII4P4/bOGoTHxmM2MSRYLlRjhFCJDo=
github.com/imfing/hextra v0.7.0/go.mod h1:cEfel3lU/bSx7lTE/+uuR4GJaphyOyiwNR3PTqFTXpI=