Initial commit

This commit is contained in:
2024-11-21 17:12:00 +00:00
commit b04ee6b0fc
16 changed files with 359 additions and 0 deletions

17
content/_index.md Normal file
View File

@@ -0,0 +1,17 @@
---
title: My Site
toc: false
---
This is the landing page.
## 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.