diff --git a/config.yaml b/config.yaml index d53b44c..760ee47 100644 --- a/config.yaml +++ b/config.yaml @@ -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: "" diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..b89cea3 --- /dev/null +++ b/content/_index.md @@ -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). diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..289d9c7 --- /dev/null +++ b/content/about.md @@ -0,0 +1,6 @@ +--- +title: About +type: about +--- + +This is the about page. diff --git a/content/docs/_index.md b/content/docs/_index.md new file mode 100644 index 0000000..73dfb20 --- /dev/null +++ b/content/docs/_index.md @@ -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!") +} +``` diff --git a/content/docs/first-page.md b/content/docs/first-page.md new file mode 100644 index 0000000..4af40a1 --- /dev/null +++ b/content/docs/first-page.md @@ -0,0 +1,9 @@ +--- +title: Demo Page +type: docs +prev: / +next: docs/folder/ +--- + +A simple demo page. + diff --git a/content/docs/folder/_index.md b/content/docs/folder/_index.md new file mode 100644 index 0000000..5050ade --- /dev/null +++ b/content/docs/folder/_index.md @@ -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. diff --git a/content/docs/folder/leaf.md b/content/docs/folder/leaf.md new file mode 100644 index 0000000..7c9ee2a --- /dev/null +++ b/content/docs/folder/leaf.md @@ -0,0 +1,7 @@ +--- +title: Leaf Page +type: docs +prev: docs/folder/ +--- + +This page is under a folder. diff --git a/content/servicios/abstract-shape-mini.png b/content/servicios/abstract-shape-mini.png new file mode 100644 index 0000000..9f53ec5 Binary files /dev/null and b/content/servicios/abstract-shape-mini.png differ diff --git a/content/servicios/abstract-shape.png b/content/servicios/abstract-shape.png new file mode 100644 index 0000000..75850fe Binary files /dev/null and b/content/servicios/abstract-shape.png differ diff --git a/content/servicios/index.html b/content/servicios/index.html new file mode 100644 index 0000000..e8725cb --- /dev/null +++ b/content/servicios/index.html @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + Novoa + + + + + + + + + + +
+

Lista de servicios

+ +

XMPP: sarvo@novoa.nagoya

+

Fediverso: @sarvo@novoa.nagoya

+
+ + + diff --git a/go.mod b/go.mod index 19974df..ca9bda2 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,5 @@ module git.froth.zone/ren/Novoa go 1.19 + +require github.com/imfing/hextra v0.7.0 // indirect diff --git a/go.sum b/go.sum index e69de29..77c1b52 100644 --- a/go.sum +++ b/go.sum @@ -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=