From 8eafb89bd926a14e56e661a46d1ca6d5db15400a Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Fri, 28 Dec 2018 19:41:30 +0100 Subject: [PATCH] Add verslagen as a data source instead of a symlink --- Rules | 1 + content/about/verslagen | 1 - nanoc.yaml | 5 +++++ 3 files changed, 6 insertions(+), 1 deletion(-) delete mode 120000 content/about/verslagen diff --git a/Rules b/Rules index 73807be..22f34cc 100644 --- a/Rules +++ b/Rules @@ -134,6 +134,7 @@ end # REPORTS # +# Note drive/verslagen is 'linked' as a data source to /about/verslagen/ compile '/about/verslagen/*/*.md', rep: :pdf do filter :pandoc_pdf, args: { f: :markdown } if production? write ext: (production? ? 'pdf' : 'md') diff --git a/content/about/verslagen b/content/about/verslagen deleted file mode 120000 index cb84f24..0000000 --- a/content/about/verslagen +++ /dev/null @@ -1 +0,0 @@ -../../drive/verslagen/ \ No newline at end of file diff --git a/nanoc.yaml b/nanoc.yaml index ec3703d..a7b9250 100644 --- a/nanoc.yaml +++ b/nanoc.yaml @@ -84,6 +84,11 @@ data_sources: items_root: /node_modules content_dir: node_modules layouts_dir: null + - + type: filesystem + items_root: /about/verslagen/ + content_dir: drive/verslagen/ + layouts_dir: null # Configuration for the “check” command, which run unit tests on the site. checks: