Discussions
Layout extending layout with subfolders
8 years ago by Oliver Braun
Hi,
another question. The current code can be found at https://github.com/obcode/ob.cs.hm.edu/tree/spike
I want to generate some pages in a subfolder lectures. These files start with
extends(src='../withPortfolio.sgr')
withPortfolio.sgr starts with
extends(src='layout.sgr')
Without subdirs everything is working, but now I get:
ModuleBuildError: Module build failed: Error: ENOENT: no such file or directory, open '.../views/lectures/layout.sgr'
which is quite clear for me, but I am looking for a solution how I can generate pages top-level and inside a subfolder lectures with the same layouts.
