hugo/resource
Bjørn Erik Pedersen 6b02f5c0f4 Make resources fetched via resources.Get and similar language agnostic
With the newly released Hugo Pipes, resources fetched and processed via `resources.Get` and similar was published to the relevant language sub folder when in multilingual mode.

The thought behind that was maximum flexibility with support for `assetDir` per language.

In practice this was a bad idea:

* You get duplication of identical content, with added processing time
* You end up with path issues that seem to be hard to find a way around (`@fa-font-path` is one example)

This commit changes that. Now there is only one `assetDir` and if you, as one example, need to generate a CSS per langugage, you need to set the paths yourself.

Fixes #5017
2018-07-31 23:33:04 +02:00
..
bundler resource/bundler: Improve error message 2018-07-16 10:42:07 +02:00
create resource: Clean up the in-memory Resource reader usage 2018-07-12 21:32:52 +02:00
integrity resource/integrity: Remove unused code 2018-07-14 11:17:48 +02:00
minifiers media: Allow multiple file suffixes per media type 2018-07-10 22:13:52 +02:00
postcss resource/postcss: Try node_modules/postcss-cli/bin/postcss first 2018-07-18 10:00:50 +02:00
templates Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
testdata resource: Fix path duplication/flattening in processed images 2018-03-14 17:04:14 +01:00
tocss/scss tocss/scss: Improve _ prefix handling in SCSS imports 2018-07-31 16:53:03 +02:00
image.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
image_cache.go Fix file paths for uncached transformed images 2018-07-31 13:31:35 +02:00
image_test.go Fix file paths for uncached transformed images 2018-07-31 13:31:35 +02:00
readers.go resource: Clean up the in-memory Resource reader usage 2018-07-12 21:32:52 +02:00
resource.go Make resources fetched via resources.Get and similar language agnostic 2018-07-31 23:33:04 +02:00
resource_cache.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
resource_metadata.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
resource_metadata_test.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
resource_test.go media: Allow multiple file suffixes per media type 2018-07-10 22:13:52 +02:00
smartcrop.go resource: Add smart cropping 2018-02-05 13:59:15 +01:00
testhelpers_test.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00
transform.go resource: Clean up the in-memory Resource reader usage 2018-07-12 21:32:52 +02:00
transform_test.go Add Hugo Piper with SCSS support and much more 2018-07-06 11:46:12 +02:00