From 6476982874fec8a7e0e77b0f0484c7c8c0c56ea9 Mon Sep 17 00:00:00 2001 From: Starfall Date: Fri, 22 Oct 2021 23:13:45 -0500 Subject: strike: read and process from config file --- sample/html/empty.html | 13 +++++++++++++ sample/html/happy.html | 14 ++++++++++++++ sample/template.html | 2 +- strike.py | 39 ++++++++++++++++++++++++++++++--------- 4 files changed, 58 insertions(+), 10 deletions(-) create mode 100644 sample/html/empty.html create mode 100644 sample/html/happy.html diff --git a/sample/html/empty.html b/sample/html/empty.html new file mode 100644 index 0000000..da72fca --- /dev/null +++ b/sample/html/empty.html @@ -0,0 +1,13 @@ + + +aaaa need a title + + + + +
+ +
+ diff --git a/sample/html/happy.html b/sample/html/happy.html new file mode 100644 index 0000000..734a9b7 --- /dev/null +++ b/sample/html/happy.html @@ -0,0 +1,14 @@ + + +aaaa need a title + + + + +
+ Hello, world! + +
+ diff --git a/sample/template.html b/sample/template.html index 3e94683..c8e401a 100644 --- a/sample/template.html +++ b/sample/template.html @@ -6,7 +6,7 @@
- ${content} + {content}