Tests and more renderer logic

This commit is contained in:
2025-08-31 00:55:31 -05:00
parent 0aca4c36cb
commit 4ffd647377
10 changed files with 130 additions and 25 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>blog - $title</title>
<title>$title</title>
</head>
<body>
$content
+1
View File
@@ -0,0 +1 @@
This file should be skipped entirely because it begins with an underscore
View File
+6
View File
@@ -0,0 +1,6 @@
+++
layout = "_layouts/post.html"
published = false
+++
This file should render to hidden because it's unpublished
+2 -1
View File
@@ -1,6 +1,7 @@
+++
layout = "layouts/post.html"
layout = "_layouts/post.html"
title = "Pest Toast"
published = true
+++
Test
===
+5
View File
@@ -0,0 +1,5 @@
+++
published = true
+++
This file has no layout, so it'll be rendered but nothing around it.
+1
View File
@@ -0,0 +1 @@
This should be echoed back raw because of the extension