ect icon indicating copy to clipboard operation
ect copied to clipboard

includes

Open szinya opened this issue 12 years ago • 1 comments

Hi,

I have a file structure like this:

.
├── index.html
└── layouts
    ├── default.html
    └── partials
        └── metas.html

Template root is set to the folder containing index.html and ext is set to .html.

index.html extends layouts/default.html and layouts/default.html includes partials/metas.html.

Is it by design, that I have to write all my includes and extends relative to the template root folder? Like <% include 'layouts/partials/metas' %> in layouts/default.html. At first I thought it should be just <% include 'partials/metas' %> because default.html is already in the layouts folder. It would be cool to use relative include paths.

szinya avatar Jan 15 '13 21:01 szinya

I found this issue that is opened three years ago, it depresses me, I reply this issue so that it might be a chance @baryshev could take a look at this issue.

Can't use relative include paths is definitely a huge lost.

hendiko avatar Jun 20 '16 08:06 hendiko