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
|
* to remove title attribute and 'external' option
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
const { htmlTag } = require('hexo-util')
|
const { htmlTag } = require('hexo-util')
|
||||||
|
|
||||||
function linkHelper (path, text) {
|
function linkHelper (path, text) {
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
* http://microformats.org/wiki/rel-tag
|
* http://microformats.org/wiki/rel-tag
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
function listTagsHelper (tags, options) {
|
function listTagsHelper (tags, options) {
|
||||||
if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) {
|
if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) {
|
||||||
options = tags
|
options = tags
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
'use strict'
|
'use strict'
|
||||||
|
/* global hexo */
|
||||||
|
|
||||||
function metaGeneratorHelper () {
|
function metaGeneratorHelper () {
|
||||||
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)
|
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)
|
||||||
|
|
Loading…
Reference in New Issue