Is it's possible to make modular pug template in vibed?
Suliman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Aug 8 05:38:33 PDT 2017
On Tuesday, 8 August 2017 at 11:59:38 UTC, Suliman wrote:
> On Tuesday, 8 August 2017 at 11:55:09 UTC, Suliman wrote:
>> For example I am making simple site with header and footer.
>> header and footer will be same for all pages. I do not want to
>> do copy-paste it in every page. I want write it's once and
>> than simpy import in every page. Is it's possible to do with
>> vibed?
>
> Oh, I founded answer in docs.
I can't fund way to `include` header and footer in the same docs.
I cam getting error: "Includes cannot have children"
More information about the Digitalmars-d-learn
mailing list