about summary refs log tree commit diff
path: root/sample
diff options
context:
space:
mode:
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/strike.ini21
-rw-r--r--sample/template.html13
6 files changed, 37 insertions, 0 deletions
diff --git a/sample/blog/also-exclude.html b/sample/blog/also-exclude.html
new file mode 100644
index 0000000..6ce0fb1
--- /dev/null
+++ b/sample/blog/also-exclude.html
@@ -0,0 +1 @@
+This file shouldn't be processed by Strike either.
diff --git a/sample/blog/empty.html b/sample/blog/empty.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sample/blog/empty.html
diff --git a/sample/blog/exclude.html b/sample/blog/exclude.html
new file mode 100644
index 0000000..d881dce
--- /dev/null
+++ b/sample/blog/exclude.html
@@ -0,0 +1 @@
+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
new file mode 100644
index 0000000..af5626b
--- /dev/null
+++ b/sample/blog/happy.html
@@ -0,0 +1 @@
+Hello, world!
diff --git a/sample/strike.ini b/sample/strike.ini
new file mode 100644
index 0000000..4ccc027
--- /dev/null
+++ b/sample/strike.ini
@@ -0,0 +1,21 @@
+[Input]
+# Directory with all of the markup files that you want Strike to process.
+# Location should be relative to this config file.
+# For now, Strike will only process files in this directory and not in any subdirectories.
+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.
+# When Strike processes subdirectories, this will become the base directory - output will be placed into the same subdirectory relative to this as it was to the input directory.
+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
new file mode 100644
index 0000000..3e94683
--- /dev/null
+++ b/sample/template.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang=en-US dir=ltr>
+<title>aaaa need a title</title>
+<meta charset=UTF-8>
+<meta name=robots content="noindex, nofollow">
+<meta name=viewport content="width=device-width, initial-scale=1">
+
+<section>
+	${content}
+</section>
+<footer>
+	<p>This page was generated by <a href=https://git.starfall.systems/strike>Strike</a>.  
+</footer>