Add a bit more to the default set of files

This commit is contained in:
James Mills 2024-12-26 07:56:46 +10:00
parent 1e84d9a585
commit e28fdad29b
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
8 changed files with 27 additions and 41 deletions

View File

@ -1,7 +1,7 @@
---
title: Twtxt Docs
description: Twtxt documentation for developers
keywords: docs, twtxt, markdown, text, format, documentation
title: my.zs.site
description: ZS starter template
keywords: zs, starter, template
extensions:
- anchor

View File

@ -1,9 +0,0 @@
#!/bin/sh
GITEA_BASE_URL="https://git.mills.io"
REPO="yarnsocial/twtxt.dev"
BRANCH="main"
url="${GITEA_BASE_URL}/${REPO}/_edit/${BRANCH}/${ZS_FILE}"
printf "<a href=\"%s\" rel=\"nofollow\" target=\"_blank\">✍️ Edit Page on Gitea</a>" "$url"

View File

@ -28,9 +28,7 @@
<button id="menu-toggle" aria-label="Toggle Navigation">&#9776;</button>
</div>
<nav id="main-nav">
<ul>
{{ nav }}
</ul>
<ul>{{ nav }}</ul>
</nav>
</div>
</header>
@ -43,9 +41,6 @@
<!-- Footer -->
<footer>
<div class="container">
<span class="edit-page-link">
{{ editthispage }}
</span>
<p>
Last modified <time datetime="{{ date -u +%Y-%m-%dT%H:%M:%SZ }}">{{ date -u }}</time>
Built with <a href="https://git.mills.io/prologic/zs">zs</a>

View File

@ -1,9 +0,0 @@
#!/bin/sh
set -e
{
echo "**On this page**"
echo
toc -d 2 -s 1 "$ZS_FILE"
} | zs gen

View File

@ -1,13 +0,0 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -1,7 +1,7 @@
.PHONY: deps dev build image clean
GOCMD=go
IMAGE := r.mills.io/prologic/twtxt.dev
IMAGE := my.zs.site
TAG := latest
all: build

View File

@ -3,3 +3,18 @@ title: my.zs.site
---
👋 Hello World! 👋j
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- Item 1
- Item 2
```golang
package main
import "fmt"
func main() {
fmt.Println("Hello World!")
}
```

7
default/other.md Normal file
View File

@ -0,0 +1,7 @@
---
tite: Other Page
---
👋 Welcome! 👋
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.