0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/lib
Kevin Ansfield ce8bc9d4bf Added imageOptimization:srcsets config to allow disabling of srcset attrs in content
no issue

- pass `srcsets` value through to mobiledoc renderer
  - it will stop adding `srcset` attributes to images when explicitly set to `false`
- adds `reload()` method to `mobiledocLib` so that memoized instances of the renderer can be reset during tests that change config values
2020-06-15 16:45:36 +01:00
..
common Fixed import paths for errors and logging modules 2020-06-12 09:09:46 +01:00
fs Removed format-csv module in favor of papaparse 2020-06-09 15:23:15 +12:00
image Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
promise Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
security Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
constants.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
ghost-version.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
mobiledoc.js Added imageOptimization:srcsets config to allow disabling of srcset attrs in content 2020-06-15 16:45:36 +01:00
request-external.js Reverted to previous user-agent for bookmark and oembed requests 2020-06-15 16:02:04 +01:00
request.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00