about summary refs log tree commit diff
path: root/sample
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-12-05 09:59:19 -0600
committerStarfall <us@starfall.systems>2023-12-05 10:03:27 -0600
commit90058697439ee3f048f0f42b61ca5ea677e9b5cc (patch)
tree60b61ef629551112f2e78c6a25c814703dce72f7 /sample
parenta43a3e0c273e50d30561328f090d2fad249c7dd6 (diff)
strike: merge as subdir
Diffstat (limited to 'sample')
-rw-r--r--sample/blog/also-exclude.html1
-rw-r--r--sample/blog/empty.html0
-rw-r--r--sample/blog/exclude.html1
-rw-r--r--sample/blog/happy.html1
-rw-r--r--sample/blog/subdir/index.html1
-rw-r--r--sample/blog/with-frontmatter.html6
-rw-r--r--sample/html/empty.html14
-rw-r--r--sample/html/happy.html15
-rw-r--r--sample/html/subdir/index.html15
-rw-r--r--sample/html/with-frontmatter.html17
-rw-r--r--sample/strike.ini19
-rw-r--r--sample/template.html14
12 files changed, 0 insertions, 104 deletions
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
--- a/sample/blog/empty.html
+++ /dev/null
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 @@
-<!DOCTYPE html>
-<html lang=en-US dir=ltr>
-<title>empty</title>
-<meta charset=UTF-8>
-<meta name=robots content="noindex, nofollow">
-<meta name=viewport content="width=device-width, initial-scale=1">
-<meta http-equiv=last-modified content="Fri, 29 Oct 2021 04:55:33 GMT">
-
-<section>
-	
-</section>
-<footer>
-	<p>This page was generated by <a href=https://git.starfall.systems/strike>Strike</a>.  
-</footer>
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 @@
-<!DOCTYPE html>
-<html lang=en-US dir=ltr>
-<title>happy</title>
-<meta charset=UTF-8>
-<meta name=robots content="noindex, nofollow">
-<meta name=viewport content="width=device-width, initial-scale=1">
-<meta http-equiv=last-modified content="Fri, 29 Oct 2021 04:55:33 GMT">
-
-<section>
-	Hello, world!
-
-</section>
-<footer>
-	<p>This page was generated by <a href=https://git.starfall.systems/strike>Strike</a>.  
-</footer>
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 @@
-<!DOCTYPE html>
-<html lang=en-US dir=ltr>
-<title>index</title>
-<meta charset=UTF-8>
-<meta name=robots content="noindex, nofollow">
-<meta name=viewport content="width=device-width, initial-scale=1">
-<meta http-equiv=last-modified content="Fri, 29 Oct 2021 22:31:45 GMT">
-
-<section>
-	This file in a subdirectory of the input directory should also be processed.
-
-</section>
-<footer>
-	<p>This page was generated by <a href=https://git.starfall.systems/strike>Strike</a>.  
-</footer>
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 @@
-<!DOCTYPE html>
-<html lang=en-US dir=ltr>
-<title>Custom Title</title>
-<meta charset=UTF-8>
-<meta name=robots content="noindex, nofollow">
-<meta name=viewport content="width=device-width, initial-scale=1">
-<meta http-equiv=last-modified content="Fri, 29 Oct 2021 04:55:33 GMT">
-
-<section>
-	Things before this line should not appear in the output.
----
-Including the delimiter in body content shouldn't be an issue.
-
-</section>
-<footer>
-	<p>This page was generated by <a href=https://git.starfall.systems/strike>Strike</a>.  
-</footer>
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 @@
-<!DOCTYPE html>
-<html lang=en-US dir=ltr>
-<title>{meta[title]}</title>
-<meta charset=UTF-8>
-<meta name=robots content="noindex, nofollow">
-<meta name=viewport content="width=device-width, initial-scale=1">
-<meta http-equiv=last-modified content="{meta[date]}">
-
-<section>
-	{content}
-</section>
-<footer>
-	<p>This page was generated by <a href=https://git.starfall.systems/strike>Strike</a>.  
-</footer>