/** * note.js * transplant from hexo-theme-next * Modify by Jerry */ 'use strict' const postNote = (args, content) => { const styleConfig = hexo.theme.config.note.style const noteTag = ['flat', 'modern', 'simple', 'disabled'] if (!noteTag.includes(args[args.length - 1])) { args.push(styleConfig) } let icon = '' const iconArray = args[args.length - 2] if (iconArray && iconArray.startsWith('fa')) { icon = `` args[args.length - 2] = 'icon-padding' } return `