From 1cfce064279a6a913303731dea895696da69c8e9 Mon Sep 17 00:00:00 2001 From: eli Date: Thu, 1 Sep 2022 21:34:12 -0400 Subject: [PATCH] moving from nini to ni --- .gitignore | 1 + README.md | 8 +++++++- atom-template.xml | 22 +--------------------- src/sans.gmi | 6 ++++++ src/sans.htm | 2 -- template.htm | 26 -------------------------- template.html | 21 +++++++++++++++++++++ 7 files changed, 36 insertions(+), 50 deletions(-) create mode 100644 src/sans.gmi delete mode 100644 src/sans.htm delete mode 100644 template.htm create mode 100644 template.html diff --git a/.gitignore b/.gitignore index 9ae8fd3..a3f4a3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /public/*.html +/public/*.xml # ---> macOS # General diff --git a/README.md b/README.md index e992b65..8285a0d 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,10 @@ Docs for [Small and Nearly Silent](https://smallandnearlysilent.com). Small and nearly silent, or "sans," is a pubnix playground for exploring esolangs and other sorts of playful programs. -These docs are maintained using [nini](https://git.sr.ht/~m15o/nini). \ No newline at end of file +These docs are maintained using [ni](https://git.sr.ht/~m15o/ni). + +To build, + +``` +$ ni src/ public/ template.html atom-template.xml smallandnearlysilent.com +``` \ No newline at end of file diff --git a/atom-template.xml b/atom-template.xml index 9594f91..8c5b0bc 100644 --- a/atom-template.xml +++ b/atom-template.xml @@ -1,29 +1,9 @@ - sans + small and nearly silent sans folks {{ template "content" . }} - - - - - sans - - - sans folks - - https://smallandnearlysilent.com - {{ .TimeRFC3339 }} - - {{ range .entries }} - - {{ .DisplayName }} - - {{ .TimeRFC3339 }} - https://smallandnearlysilent.com/{{ .Name }}.html - - {{ end }} \ No newline at end of file diff --git a/src/sans.gmi b/src/sans.gmi new file mode 100644 index 0000000..3712b64 --- /dev/null +++ b/src/sans.gmi @@ -0,0 +1,6 @@ +# small and nearly silent + +Small and nearly silent, or "sans," is a pubnix playground for exploring esolangs and other sorts of playful programs. + +=> https://tildeverse.org pubnix +=> https://esolangs.org/wiki/Main_Page esolangs \ No newline at end of file diff --git a/src/sans.htm b/src/sans.htm deleted file mode 100644 index ebf7a9f..0000000 --- a/src/sans.htm +++ /dev/null @@ -1,2 +0,0 @@ -

small and nearly silent

-

Small and nearly silent, or "sans," is a pubnix playground for exploring esolangs and other sorts of playful programs.

\ No newline at end of file diff --git a/template.htm b/template.htm deleted file mode 100644 index 0574066..0000000 --- a/template.htm +++ /dev/null @@ -1,26 +0,0 @@ - - - - - {{ .Title }} - - - - -
- -
- {{ .Content }} -
-
- {{ if .Backlinks }} -

backlinks: {{ range .Backlinks }}{{ .Name }} {{ end }}

- {{ end }} -
-
- - \ No newline at end of file diff --git a/template.html b/template.html new file mode 100644 index 0000000..a45a417 --- /dev/null +++ b/template.html @@ -0,0 +1,21 @@ + + + + + small and nearly silent + + + + +
+ +
+ {{ template "content" . }} +
+
+ + \ No newline at end of file