Skip to content

Conversation

@simov
Copy link
Contributor

@simov simov commented Jan 17, 2013

No description provided.

@sam3k
Copy link

sam3k commented Feb 10, 2013

How can I specify relative path instead? After consolidate 6.0 my paths started coming absolute for partials and look like this:

/opt/haibu/apps/sam3k/sam3k/package/backend/views/layouts/basic/opt/haibu/apps/sam3k/sam3k/package/backend/views/partials/debug.html.html

I personally like to determine the location of my partials which is not in the same directory as the main template.

@simov
Copy link
Contributor Author

simov commented Feb 10, 2013

Right now consolidate.js supports only partials with path relative to their parent template (the one that's been rendered).
Use this code if you need absolute path for your partials. Only one line of code is added.

@sam3k
Copy link

sam3k commented Feb 10, 2013

Turns out my issue gets resolved using this patch: https://github.com/manuelbieh/consolidate.js/commit/3dc52e9a9cef47ca143831b85cfe5f0e595554a3

@simov simov closed this Nov 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants