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

How are you meant to configure the location of article assets in builds? #203

Closed
necolas opened this issue Dec 20, 2013 · 2 comments
Closed

Comments

@necolas
Copy link

necolas commented Dec 20, 2013

If you have a structure like this:

contents/
  articles/
    my-article-name/
      index.md
      image.jpg

And index.md contains:

![](image.jpg)

Then any attempt to modify the built location of the article (e.g., via filenameTemplate) results in the image path being wrong, because only the index.md is moved into the configured location in the build.

How are you supposed to couple the article and its assets so that the asset paths are correct in builds? What I really want is for the assets in the article directory to always remain siblings of the generated HTML file.

@necolas
Copy link
Author

necolas commented Dec 23, 2013

Furthermore, I need Wintersmith to process all files in an article directory, so that static HTML demos (accompanying articles) can be included in the build and make use of templating includes.

@necolas
Copy link
Author

necolas commented Dec 28, 2013

nvm, using some basic bash commands to post-fix the build output now.

@necolas necolas closed this as completed Dec 28, 2013
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

1 participant