From 415952ff691ddbf865d3189b5691d56f11f528ca Mon Sep 17 00:00:00 2001 From: curben Date: Sun, 26 May 2019 00:10:44 +0930 Subject: [PATCH] docs(open_graph): add comment --- themes/typing/scripts/open_graph_cloudinary.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/themes/typing/scripts/open_graph_cloudinary.js b/themes/typing/scripts/open_graph_cloudinary.js index fc23316..310c4b4 100644 --- a/themes/typing/scripts/open_graph_cloudinary.js +++ b/themes/typing/scripts/open_graph_cloudinary.js @@ -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 now use +* data-src attribute of , instead of src +*/ + 'use strict' const urlFn = require('url')