tDocument stupid bug - lsg - Lumidify Site Generator
HTML git clone git://lumidify.org/lsg.git (fast, but not encrypted)
HTML git clone https://lumidify.org/git/lsg.git (encrypted, but very slow)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 8c8f2b4278cc3b2a9575ab81eab0cc916b3933df
DIR parent 685b147a8f2c3e4b0a11475ba50a163cd4ba729d
HTML Author: lumidify <nobody@lumidify.org>
Date: Sun, 14 Mar 2021 13:59:22 +0100
Document stupid bug
Diffstat:
M lsg.pl | 6 ++++++
M sample/templates/base.html | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
---
DIR diff --git a/lsg.pl b/lsg.pl
t@@ -158,6 +158,12 @@ See the example site for details. This really isn't very polished,
but I'm just trying to document it somewhat reasonably since I
probably won't have time to properly rewrite it for a while.
+VERY IMPORTANT: There always needs to be a blank line between the
+metadata and the rest of the template, even when there is no
+metadata. A template with no metadata needs a blank line at the
+top. I could probably change that, but I don't feel like it at
+the moment. Fight me!
+
=head1 PAGES
The C<pages> directory contains the directory structure as it will
DIR diff --git a/sample/templates/base.html b/sample/templates/base.html
t@@ -1,3 +1,4 @@
+
<!DOCTYPE html>
<html>
<head>