@nakedcreativity/cee-ms-node 0.3.22 → 0.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +7 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -198,6 +198,13 @@ function ceems(config) {
|
|
|
198
198
|
|
|
199
199
|
})
|
|
200
200
|
|
|
201
|
+
|
|
202
|
+
this.engine.registerFilter('url', (url) => {
|
|
203
|
+
|
|
204
|
+
return this.site.site.url+url
|
|
205
|
+
|
|
206
|
+
})
|
|
207
|
+
|
|
201
208
|
this.engine.registerTag('image', {
|
|
202
209
|
parse: function(tagToken, remainTokens) {
|
|
203
210
|
this.args = tagToken.args.split(' ');
|