~acdw/tssg

b48dd6ba95d9f3cb423dc92de5dd4af3d6758f3b — Case Duckworth 5 years ago c481b6a
Unignore most things
5 files changed, 31 insertions(+), 5 deletions(-)

M .gitignore
A 1page.html
A ft.txt
A hd.txt
A index.html
M .gitignore => .gitignore +2 -5
@@ 1,5 1,2 @@
# ignore everything
*
# unignore ttsg.sh
!tssg.sh
!.gitignore
# ignore generated stuff
out/

A 1page.html => 1page.html +10 -0
@@ 0,0 1,10 @@
<title>a test page!</title>

<p>
this is a test page that is using
<abbr title="toot static site generator">tssg</abbr>.
there are a few hiccups,
for example when an add-on changes the title
it's changed on the page, as well.
this is mildy annoying.
</p>

A ft.txt => ft.txt +3 -0
@@ 0,0 1,3 @@
<footer>
&copy; 2019 Case Duckworth
</footer>

A hd.txt => hd.txt +10 -0
@@ 0,0 1,10 @@
<!DOCTYPE html>
<meta charset=utf-8>
<style>
*{display:block;max-width:6in;margin:2%;}
title{font-size:2em;}
style{display:none;}
p:before{content:"\b6";}
a[href='index.html']{display:none;}
footer{position:fixed;bottom:0;right:0;color:darkgray;}
</style>

A index.html => index.html +6 -0
@@ 0,0 1,6 @@
<title>An experiment in minimalism</title>

<p>
I'm testing out a static site generator that can fit in a toot.
It's called tssg, for <i>toot (or tiny) static site generator</i>.
I can come up with a better name later.