Added dynamic pages

This commit is contained in:
Nate Choe
2022-01-31 22:35:46 -06:00
parent 1086edf6d0
commit 7c7460d37f
12 changed files with 1428 additions and 46 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
#!/bin/sh
echo "<p>By the way today's date is $(date)</p>"

View File

@@ -2,4 +2,5 @@
<h3>It's not very polished but it's certainly a website</h3>
<a href="blog/2021-1-25.html">2021-1-25</a>
<a href="blog/2022-1-25.html">2021-1-25</a>
<a href="blog/2022-1-31">2021-1-31</a>

View File

@@ -6,8 +6,10 @@ define timeout 2000
set host localhost:8000
read / site/index.html
read /hello site/hello.html
exec /blog/2022-1-31 site/blog/blog/2022-1-31.sh
read /blog/.* site/blog/
#/blog/2021-1-25.html turns into site/blog//blog/2021-1-25.html
exec /dynamic site/build-page.sh
set host 127.0.0.1:8000
read / site/easteregg.html
read /egg.png site/egg.png