const isLocalContentImage = function (url, siteUrl = '') {
const normalizedSiteUrl = siteUrl.replace(/\/$/, '');
const imagePath = url.replace(normalizedSiteUrl, '');
return /^(\/.*|__GHOST_URL__)\/?content\/images\//.test(imagePath);
};
module.exports = {
isLocalContentImage
};