This commit is contained in:
eli 2022-09-01 20:40:43 -04:00
parent dc0bd4fd5e
commit e206937574
6 changed files with 82 additions and 2 deletions

5
.gitignore vendored
View File

@ -1,3 +1,5 @@
/public/*.html
# ---> macOS
# General
.DS_Store
@ -5,7 +7,8 @@
.LSOverride
# Icon must end with two \r
Icon
Icon
# Thumbnails
._*

View File

@ -1,3 +1,7 @@
# sans-docs
Small and Nearly Silent docs
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).

29
atom-template.xml Normal file
View File

@ -0,0 +1,29 @@
<?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>
{{ 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>

16
public/sans.css Normal file
View File

@ -0,0 +1,16 @@
.container {
max-width: 40em;
display: block;
padding: 0.75em 1em;
}
html {
font-size: 125%;
}
body {
font-weight: 400;
line-height: 1.65;
color: #333;
font-family: sans-serif;
}

2
src/sans.htm Normal file
View File

@ -0,0 +1,2 @@
<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 Normal file
View File

@ -0,0 +1,26 @@
<!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>