From f456510d32bfb4014d75241e42b7d16c599697de Mon Sep 17 00:00:00 2001 From: Starfall Date: Thu, 28 Oct 2021 22:33:37 -0500 Subject: strike: implement basic key=value front matter --- sample/blog/with-frontmatter.html | 6 ++++++ sample/html/with-frontmatter.html | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 sample/blog/with-frontmatter.html create mode 100644 sample/html/with-frontmatter.html (limited to 'sample') diff --git a/sample/blog/with-frontmatter.html b/sample/blog/with-frontmatter.html new file mode 100644 index 0000000..5195292 --- /dev/null +++ b/sample/blog/with-frontmatter.html @@ -0,0 +1,6 @@ +--- +title=Custom Title +--- +Things before this line should not appear in the output. +--- +Including the delimiter in body content shouldn't be an issue. diff --git a/sample/html/with-frontmatter.html b/sample/html/with-frontmatter.html new file mode 100644 index 0000000..681c23d --- /dev/null +++ b/sample/html/with-frontmatter.html @@ -0,0 +1,17 @@ + + +Custom Title + + + + + +
+ Things before this line should not appear in the output. +--- +Including the delimiter in body content shouldn't be an issue. + +
+ -- cgit