Publish post 'Test nginx Configuration Directives' (#3)

Sitegen had some problems rendering `$host$request_uri` and `$$ct` so I had to make some changes to the Markdown renderer.

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2025-06-30 22:49:28 +00:00
parent 95e9be6e60
commit c0b54ad843
9 changed files with 657 additions and 9 deletions

View File

@@ -104,6 +104,10 @@ describe "https://miti.sh/posts/", ->
describe "https://miti.sh/posts", ->
it "sends /posts/index.html", ->
with require "sitegen.path"
assert .exists("html/posts/index.html"),
"missing html/posts/index.html (try `make build file=blog.html`)"
request = req "https://miti.sh/posts"
assert.same request\statusCode!, 200
assert.same request\statusMessage!, "OK"