kalamuna / metalsmith-jstransformer

Metalsmith JSTransformers Plugin
http://npm.im/metalsmith-jstransformer
MIT License
7 stars 9 forks source link

Broken images #11

Closed S1SYPHOS closed 7 years ago

S1SYPHOS commented 7 years ago

Hey there, quick question: could it be possible that jstransformers breaks images, so they can't be displayed anymore?

I told metalsmith-jstransformer this:

.use(jstransformer({
  layoutPattern: 'layouts/**',
  defaultLayout: 'layouts/post.swig'
}))

Pretty basic, everything is working fine, templating-wise - but images get beaten up?! Help much appreciated, if you need more information, please ask.

Thank you very much & good day to you, Sir!

RobLoach commented 7 years ago

Breaks images?

I don't believe it will act on any images. What are your images named?

S1SYPHOS commented 7 years ago

If you don't mind, have a look here. Last time I checked it garbled output of .htaccess, sitemap.xml and humans.txt too, but everything went back to normal when I excluded jstransformer from the build - leaving me with unprocessed files..

I just don't get metalsmith and swig to work :question:

S1SYPHOS commented 7 years ago

Deleted repo, problem didn't seem to be related to your plugin, although I was totally sure. My apologies, Sir.

RobLoach commented 7 years ago

problem didn't seem to be related to your plugin

What was the cause of the issue? I am curious.