summary refs log tree commit diff stats
path: root/test/testsite
diff options
context:
space:
mode:
authorAlan Pearce2017-06-30 17:37:20 +0200
committerAlan Pearce2017-06-30 17:37:20 +0200
commit562b0533300ad5ad8cf4695aa7fc2b844b918169 (patch)
tree96ab4a7e838d4e7d8b06fc08eaa351ba58992721 /test/testsite
parent136ebe22452c0015770d9f0ac9d94d8941461816 (diff)
downloadhomestead-562b0533300ad5ad8cf4695aa7fc2b844b918169.tar.lz
homestead-562b0533300ad5ad8cf4695aa7fc2b844b918169.tar.zst
homestead-562b0533300ad5ad8cf4695aa7fc2b844b918169.zip
feat: load config from cwd and merge with defaults
Diffstat (limited to 'test/testsite')
-rw-r--r--test/testsite/config.toml2
-rw-r--r--test/testsite/posts/testfile.md6
2 files changed, 8 insertions, 0 deletions
diff --git a/test/testsite/config.toml b/test/testsite/config.toml
new file mode 100644
index 0000000..1fbbb82
--- /dev/null
+++ b/test/testsite/config.toml
@@ -0,0 +1,2 @@
+[posts]
+folder = "./posts"
\ No newline at end of file
diff --git a/test/testsite/posts/testfile.md b/test/testsite/posts/testfile.md
new file mode 100644
index 0000000..bafc456
--- /dev/null
+++ b/test/testsite/posts/testfile.md
@@ -0,0 +1,6 @@
++++
+Title = "This is a test"
+Description = "Test file"
+Tags = ["a", "b"]
++++
+# Lorem ipsum