docs(open_graph): add comment

This commit is contained in:
curben 2019-05-26 00:10:44 +09:30
parent cab3baeaf8
commit 415952ff69
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,11 @@
/*
* Modified from the hexo version,
* https://github.com/hexojs/hexo/blob/master/lib/plugins/helper/open_graph.js
* for compatibility with cloudinary.js
* the <meta name="og:image"> now use
* data-src attribute of <img>, instead of src
*/
'use strict' 'use strict'
const urlFn = require('url') const urlFn = require('url')