mirror of https://gitlab.com/curben/blog
style(js): standard
This commit is contained in:
parent
82e79cf4c7
commit
56d77c0ac5
|
@ -7,8 +7,6 @@
|
|||
* to remove title attribute and 'external' option
|
||||
*/
|
||||
|
||||
'use strict'
|
||||
|
||||
const { htmlTag } = require('hexo-util')
|
||||
|
||||
function linkHelper (path, text) {
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
* http://microformats.org/wiki/rel-tag
|
||||
*/
|
||||
|
||||
'use strict'
|
||||
|
||||
function listTagsHelper (tags, options) {
|
||||
if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) {
|
||||
options = tags
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
'use strict'
|
||||
/* global hexo */
|
||||
|
||||
function metaGeneratorHelper () {
|
||||
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)
|
||||
|
|
Loading…
Reference in New Issue