awestruct / web-editor

A web based editor for awestruct projects
8 stars 6 forks source link

Use relative links for image drag-n-drop #80

Closed pmuir closed 11 years ago

wesbos commented 11 years ago

I'm adding this so it uses:

/images/image-name.jpg

What should we do if the site is installed in a folder? Say mysite.com/website vs just mysite.com

LightGuard commented 11 years ago

That's exactly the problem with the preview, and any automated preview build based a pull request. For the automated pull request builds they'll be something like www-stg.jboss.org/build_or_pull/number/.

If you wanted to do ${site.context_url}/images/image-name.jpg that should work

wesbos commented 11 years ago

you mean #{site.context_url}? Then awestruct should replace all those?

LightGuard commented 11 years ago

Yes

On Tue, Oct 29, 2013 at 2:37 PM, Wes Bos notifications@github.com wrote:

you mean #{site.context_url}? Then awestruct should replace all those?

— Reply to this email directly or view it on GitHubhttps://github.com/awestruct/web-editor/issues/80#issuecomment-27341055 .

Jason Porter http://en.gravatar.com/lightguardjp