moving from nini to ni
This commit is contained in:
parent
e206937574
commit
1cfce06427
|
@ -1,4 +1,5 @@
|
||||||
/public/*.html
|
/public/*.html
|
||||||
|
/public/*.xml
|
||||||
|
|
||||||
# ---> macOS
|
# ---> macOS
|
||||||
# General
|
# General
|
||||||
|
|
|
@ -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.
|
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).
|
These docs are maintained using [ni](https://git.sr.ht/~m15o/ni).
|
||||||
|
|
||||||
|
To build,
|
||||||
|
|
||||||
|
```
|
||||||
|
$ ni src/ public/ template.html atom-template.xml smallandnearlysilent.com
|
||||||
|
```
|
|
@ -1,29 +1,9 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
<title>sans</title>
|
<title>small and nearly silent</title>
|
||||||
<link rel="alternate" href="https://smallandnearlysilent.com"/>
|
<link rel="alternate" href="https://smallandnearlysilent.com"/>
|
||||||
<author>
|
<author>
|
||||||
<name>sans folks</name>
|
<name>sans folks</name>
|
||||||
</author>
|
</author>
|
||||||
{{ template "content" . }}
|
{{ template "content" . }}
|
||||||
</feed>
|
|
||||||
|
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
||||||
<title>sans</title>
|
|
||||||
<link rel="alternate" href="https://smallandnearlysilent.com"/>
|
|
||||||
<author>
|
|
||||||
<name>sans folks</name>
|
|
||||||
</author>
|
|
||||||
<id>https://smallandnearlysilent.com</id>
|
|
||||||
<updated>{{ .TimeRFC3339 }}</updated>
|
|
||||||
<link rel="self" href="https://smallandnearlysilent.com/atom.xml"/>
|
|
||||||
{{ range .entries }}
|
|
||||||
<entry>
|
|
||||||
<title>{{ .DisplayName }}</title>
|
|
||||||
<link rel="alternate" href="https://smallandnearlysilent.com/{{ .Name }}.html"/>
|
|
||||||
<updated>{{ .TimeRFC3339 }}</updated>
|
|
||||||
<id>https://smallandnearlysilent.com/{{ .Name }}.html</id>
|
|
||||||
</entry>
|
|
||||||
{{ end }}
|
|
||||||
</feed>
|
</feed>
|
|
@ -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
|
|
@ -1,2 +0,0 @@
|
||||||
<h1>small and nearly silent</h1>
|
|
||||||
<p>Small and nearly silent, or "sans," is a <a href="https://tildeverse.org">pubnix</a> playground for exploring esolangs and other sorts of playful programs.</p>
|
|
26
template.htm
26
template.htm
|
@ -1,26 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>{{ .Title }}</title>
|
|
||||||
<link rel="stylesheet" href="sans.css">
|
|
||||||
<link rel="alternate" type="application/atom+xml" href="https://smallandnearlysilent.com/feed.xml" />
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
<nav>
|
|
||||||
<a href="sans.html">home</a>
|
|
||||||
<a href="index.html">changelog</a>
|
|
||||||
<a href="feed.atom">feed</a>
|
|
||||||
</nav>
|
|
||||||
<main>
|
|
||||||
{{ .Content }}
|
|
||||||
</main>
|
|
||||||
<footer>
|
|
||||||
{{ if .Backlinks }}
|
|
||||||
<p><b>backlinks</b>: {{ range .Backlinks }}<a href="{{ .Href }}">{{ .Name }}</a> {{ end }}</p>
|
|
||||||
{{ end }}
|
|
||||||
</footer>
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>small and nearly silent</title>
|
||||||
|
<link rel="stylesheet" href="sans.css">
|
||||||
|
<link rel="alternate" type="application/atom+xml" href="https://smallandnearlysilent.com/feed.xml" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<nav>
|
||||||
|
<a href="sans.html">home</a> /
|
||||||
|
<a href="changelog.html">changelog</a> /
|
||||||
|
<a href="atom.xml">feed</a>
|
||||||
|
</nav>
|
||||||
|
<main>
|
||||||
|
{{ template "content" . }}
|
||||||
|
</main>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue