hexo-theme-next
Advanced tools
Comparing version 8.16.0 to 8.17.0
{ | ||
"name": "hexo-theme-next", | ||
"version": "8.16.0", | ||
"version": "8.17.0", | ||
"description": "Elegant and powerful theme for Hexo.", | ||
@@ -36,5 +36,5 @@ "main": "package.json", | ||
"@next-theme/eslint-config": "0.0.3", | ||
"c8": "7.13.0", | ||
"c8": "7.14.0", | ||
"chai": "4.3.7", | ||
"eslint": "8.40.0", | ||
"eslint": "8.42.0", | ||
"hexo": "6.3.0", | ||
@@ -41,0 +41,0 @@ "hexo-renderer-marked": "6.0.0", |
@@ -5,3 +5,8 @@ 'use strict'; | ||
const path = require('path'); | ||
const css = require('css'); | ||
let css; | ||
try { | ||
css = require('@adobe/css-tools'); | ||
} catch (error) { | ||
css = require('css'); | ||
} | ||
@@ -8,0 +13,0 @@ function resolve(name, file = '') { |
@@ -140,2 +140,6 @@ /* global hexo */ | ||
if (!theme.wavedrom.enable) { | ||
hexo.route.remove('js/third-party/tags/wavedrom.js'); | ||
} | ||
// Others | ||
@@ -142,0 +146,0 @@ if (!theme.fancybox) { |
@@ -38,2 +38,6 @@ /* global hexo */ | ||
const wavedrom = require('./wavedrom'); | ||
hexo.extend.tag.register('wavedrom', wavedrom, true); | ||
const postNote = require('./note')(hexo); | ||
@@ -40,0 +44,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
471671
286
3085