From 90058697439ee3f048f0f42b61ca5ea677e9b5cc Mon Sep 17 00:00:00 2001 From: Starfall Date: Tue, 5 Dec 2023 09:59:19 -0600 Subject: strike: merge as subdir --- sample/blog/also-exclude.html | 1 - sample/blog/empty.html | 0 sample/blog/exclude.html | 1 - sample/blog/happy.html | 1 - sample/blog/subdir/index.html | 1 - sample/blog/with-frontmatter.html | 6 ------ sample/html/empty.html | 14 -------------- sample/html/happy.html | 15 --------------- sample/html/subdir/index.html | 15 --------------- sample/html/with-frontmatter.html | 17 ----------------- sample/strike.ini | 19 ------------------- sample/template.html | 14 -------------- 12 files changed, 104 deletions(-) delete mode 100644 sample/blog/also-exclude.html delete mode 100644 sample/blog/empty.html delete mode 100644 sample/blog/exclude.html delete mode 100644 sample/blog/happy.html delete mode 100644 sample/blog/subdir/index.html delete mode 100644 sample/blog/with-frontmatter.html delete mode 100644 sample/html/empty.html delete mode 100644 sample/html/happy.html delete mode 100644 sample/html/subdir/index.html delete mode 100644 sample/html/with-frontmatter.html delete mode 100644 sample/strike.ini delete mode 100644 sample/template.html (limited to 'sample') diff --git a/sample/blog/also-exclude.html b/sample/blog/also-exclude.html deleted file mode 100644 index 6ce0fb1..0000000 --- a/sample/blog/also-exclude.html +++ /dev/null @@ -1 +0,0 @@ -This file shouldn't be processed by Strike either. diff --git a/sample/blog/empty.html b/sample/blog/empty.html deleted file mode 100644 index e69de29..0000000 diff --git a/sample/blog/exclude.html b/sample/blog/exclude.html deleted file mode 100644 index d881dce..0000000 --- a/sample/blog/exclude.html +++ /dev/null @@ -1 +0,0 @@ -This file should be excluded from processing when Strike is processed using strike.ini diff --git a/sample/blog/happy.html b/sample/blog/happy.html deleted file mode 100644 index af5626b..0000000 --- a/sample/blog/happy.html +++ /dev/null @@ -1 +0,0 @@ -Hello, world! diff --git a/sample/blog/subdir/index.html b/sample/blog/subdir/index.html deleted file mode 100644 index b66efd5..0000000 --- a/sample/blog/subdir/index.html +++ /dev/null @@ -1 +0,0 @@ -This file in a subdirectory of the input directory should also be processed. diff --git a/sample/blog/with-frontmatter.html b/sample/blog/with-frontmatter.html deleted file mode 100644 index 5195292..0000000 --- a/sample/blog/with-frontmatter.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -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/empty.html b/sample/html/empty.html deleted file mode 100644 index b1a01ea..0000000 --- a/sample/html/empty.html +++ /dev/null @@ -1,14 +0,0 @@ - - -empty - - - - - -
- -
- diff --git a/sample/html/happy.html b/sample/html/happy.html deleted file mode 100644 index 9f4b32f..0000000 --- a/sample/html/happy.html +++ /dev/null @@ -1,15 +0,0 @@ - - -happy - - - - - -
- Hello, world! - -
- diff --git a/sample/html/subdir/index.html b/sample/html/subdir/index.html deleted file mode 100644 index bdeaad0..0000000 --- a/sample/html/subdir/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - -index - - - - - -
- This file in a subdirectory of the input directory should also be processed. - -
- diff --git a/sample/html/with-frontmatter.html b/sample/html/with-frontmatter.html deleted file mode 100644 index 99627a1..0000000 --- a/sample/html/with-frontmatter.html +++ /dev/null @@ -1,17 +0,0 @@ - - -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/strike.ini b/sample/strike.ini deleted file mode 100644 index 86bc8c3..0000000 --- a/sample/strike.ini +++ /dev/null @@ -1,19 +0,0 @@ -[Input] -# Directory with all of the markup files that you want Strike to process. -# Location should be relative to this config file. -directory = blog -# Files in the input directory to exclude. -# Location should be relative to the default input directory. -excludes = exclude.html - also-exclude.html - -[Templates] -# For now, Strike only supports using a single template, named default. -default = template.html - -[Output] -# Directory to put the output into. -directory = html - -# That's all for now. In the future, we hope to allow the use of multiple templates, -# letting you choose individual directories and files for each template. diff --git a/sample/template.html b/sample/template.html deleted file mode 100644 index 2552906..0000000 --- a/sample/template.html +++ /dev/null @@ -1,14 +0,0 @@ - - -{meta[title]} - - - - - -
- {content} -
- -- cgit