Add verslagen as a data source instead of a symlink

This commit is contained in:
Rien Maertens 2018-12-28 19:41:30 +01:00
parent 719059988d
commit 8eafb89bd9
No known key found for this signature in database
GPG key ID: 943CAB70C511D23C
3 changed files with 6 additions and 1 deletions

1
Rules
View file

@ -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')

View file

@ -1 +0,0 @@
../../drive/verslagen/

View file

@ -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: