From 98f2902f6e880c756eff5046c0ee9bfaf889c102 Mon Sep 17 00:00:00 2001 From: Starfall Date: Thu, 21 Oct 2021 19:57:02 -0500 Subject: strike: simple example of fstring template --- README | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index b6f2c67..d6a2041 100644 --- a/README +++ b/README @@ -15,13 +15,18 @@ Strike has simple goals: 3. Add boilerplate (head, header, footer, etc) 4. Save to output folder -One slight gotcha: - * May need to fill out several different locations in the template (e.g. page title and page content) - And some stretch goals to turn it into a blog generator: * Create an extra page listing all generated pages in order of creation date (newest first) * Add links to next & previous generated pages * Turn the extra page into a flexible component that can be added into any other page -reStructuredText fulfills most of our desires for markup: https://docutils.sourceforge.io/rst.html +Markup: +reStructuredText fulfills most of our desires: https://docutils.sourceforge.io/rst.html It generates
s and has specific markup for page titles. + +Templating: +Complicated templating isn't necessary, just pre-content and post-content boilerplate for now. +The slight gotcha is that the page title may need updated as well, but we'll cross that bridge if we have to. + +Front matter: +None for now. -- cgit