Commit Graph

9 Commits

Author SHA1 Message Date
Joseph Wynn 0d3f099057 Fix for using a custom `source` directory
Paths are still passed around as relative. Code which needs to read files
(images, templates) and code which needs to manipulate paths
(Jekyll::ResponsiveImage::Utils#image_hash) has to be aware of the site source
path.

This got a bit messy in the end, but I couldn't find a better way without doing
a big refactor of the entire plugin.
2016-10-11 23:25:43 +01:00
Joseph Wynn 83358e79b5 Resize handler tweaks 2016-10-11 23:25:43 +01:00
Joseph Wynn 354f693afc Another refactor to try and avoid `include` 2016-10-11 23:25:43 +01:00
Joseph Wynn c523b100cc Modify `dirname` to be relative to `base_path` 2015-12-27 22:41:04 +00:00
Joseph Wynn 64f86bd6da Add `dirname` to image hashes. Closes #5. 2015-12-27 21:14:24 +00:00
Joseph Wynn 1917b905ff Copy generated files to _site and add output directory to keep_files 2015-11-04 23:22:04 +00:00
Joseph Wynn 4112992565 include Utils rather than calling static methods 2014-12-07 22:03:26 +00:00
Joseph Wynn 6f9f13e62f Implement responsive_image_block tag 2014-12-07 13:06:28 +00:00
Joseph Wynn 2715d55520 Swap output_dir for more powerful output_path_format 2014-12-06 22:28:21 +00:00