Add static directory, useful for testing
This commit is contained in:
parent
795817f99d
commit
24e4dc42b1
@ -4,6 +4,13 @@ origin:
|
||||
store_dir_path: /tmp/domani_dev_env/origin
|
||||
domain:
|
||||
store_dir_path: /tmp/domani_dev_env/domain
|
||||
builtins:
|
||||
domani-test.localhost:
|
||||
kind: git
|
||||
url: https://code.betamike.com/micropelago/domani.git
|
||||
branch_name: main
|
||||
add_path_prefix: static
|
||||
public: true
|
||||
service:
|
||||
passphrase: foobar
|
||||
primary_domain: localhost
|
||||
|
3
static/foo.gmi
Normal file
3
static/foo.gmi
Normal file
@ -0,0 +1,3 @@
|
||||
# FOO
|
||||
|
||||
This is foo
|
7
static/foo.html
Normal file
7
static/foo.html
Normal 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
9
static/index.gmi
Normal 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
9
static/index.html
Normal 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/bar.html">bar</a>.</p>
|
||||
<img src="/penguin.jpg" />
|
||||
</body>
|
||||
</html>
|
BIN
static/penguin.jpg
Normal file
BIN
static/penguin.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
3
static/subdir/bar.gmi
Normal file
3
static/subdir/bar.gmi
Normal file
@ -0,0 +1,3 @@
|
||||
# BAR
|
||||
|
||||
This is bar
|
7
static/subdir/bar.html
Normal file
7
static/subdir/bar.html
Normal 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
3
static/subdir/index.gmi
Normal file
@ -0,0 +1,3 @@
|
||||
# INDEX
|
||||
|
||||
This is the gemini index of the subdir.
|
6
static/subdir/index.html
Normal file
6
static/subdir/index.html
Normal file
@ -0,0 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
<h1>INDEX</h1>
|
||||
<p>This is the index page of the subdir</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user