Add static directory, useful for testing

This commit is contained in:
Brian Picciano 2023-07-27 16:16:48 +02:00
parent 795817f99d
commit 797c8fd7f2
9 changed files with 47 additions and 0 deletions

3
static/foo.gmi Normal file
View File

@ -0,0 +1,3 @@
# FOO
This is foo

7
static/foo.html Normal file
View File

@ -0,0 +1,7 @@
<html>
<body>
<h1>FOO</h1>
<p>This is the foo page</p>
</body>
</html>

9
static/index.gmi Normal file
View File

@ -0,0 +1,9 @@
# INDEX
This is the gemini index.
=> foo /foo.gmi
=> bar /subdir/bar.gmi
=> penguin /penguin.jpg

9
static/index.html Normal file
View File

@ -0,0 +1,9 @@
<html>
<body>
<h1>INDEX</h1>
<p>This is the index page.</p>
<p>Check out <a href="/foo.html">foo</a>.</p>
<p>Check out <a href="/subdir/foo.html">bar</a>.</p>
<img src="/penguin.jpg" />
</body>
</html>

BIN
static/penguin.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 KiB

3
static/subdir/bar.gmi Normal file
View File

@ -0,0 +1,3 @@
# BAR
This is bar

7
static/subdir/bar.html Normal file
View File

@ -0,0 +1,7 @@
<html>
<body>
<h1>BAR</h1>
<p>This is the bar page</p>
</body>
</html>

3
static/subdir/index.gmi Normal file
View File

@ -0,0 +1,3 @@
# INDEX
This is the gemini index of the subdir.

6
static/subdir/index.html Normal file
View File

@ -0,0 +1,6 @@
<html>
<body>
<h1>INDEX</h1>
<p>This is the index page of the subdir</p>
</body>
</html>