Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to load Server Side Includes templates from the web #11

Open
NeoAlchemy opened this issue Jun 25, 2014 · 1 comment
Open

ability to load Server Side Includes templates from the web #11

NeoAlchemy opened this issue Jun 25, 2014 · 1 comment

Comments

@NeoAlchemy
Copy link

I'd like to be able to load SSI templates from the web instead of it being relative to my local files.

Here is a sample of what i was thinking but open to other ideas:

ssi: {
options: {
cache: 'all',
baseDir: 'http://sample.com'
},
myTarget: {
files: [{
expand: true,
src: '**/index.html',
ext: '.html'
}]
}
},

@anguspiv
Copy link
Collaborator

anguspiv commented Jul 9, 2014

I've discussed a similar issue, of where it would be nice to process some includes, locally, and then also have some includes be parsed from a remote source. I think that allowing an array of baseDir, similar, to grunt-connect, would be a good solution. Allowing the directories to be processed in order or priority.

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

No branches or pull requests

2 participants