diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-07-30 21:55:05 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-07-30 21:55:05 -0300 |
commit | cd35aa4215bec35ee5aee112288e2562b2d7237d (patch) | |
tree | fb96e133b643f878ae19e4a7ac57c94737ab312b /src/content/dependencies/image.js | |
parent | 34c486175735dd2f546683883cda2542b4533053 (diff) |
content: image, transformContent: support custom img links
Diffstat (limited to 'src/content/dependencies/image.js')
-rw-r--r-- | src/content/dependencies/image.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js index 2fbe1188..745dfe9e 100644 --- a/src/content/dependencies/image.js +++ b/src/content/dependencies/image.js @@ -33,8 +33,12 @@ export default { thumb: {type: 'string'}, + link: { + validate: v => v.oneOf(v.isBoolean, v.isString), + default: false, + }, + reveal: {type: 'boolean', default: true}, - link: {type: 'boolean', default: false}, lazy: {type: 'boolean', default: false}, square: {type: 'boolean', default: false}, |