From 562b0533300ad5ad8cf4695aa7fc2b844b918169 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 30 Jun 2017 17:37:20 +0200 Subject: feat: load config from cwd and merge with defaults --- test/testsite/config.toml | 2 ++ test/testsite/posts/testfile.md | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 test/testsite/config.toml create mode 100644 test/testsite/posts/testfile.md (limited to 'test/testsite') 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 -- cgit 1.4.1