From 60659b4743be127d1ed7c6cb510787907dde1d43 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sun, 11 Dec 2022 01:20:54 +0800 Subject: [PATCH] [opt] css --- scripts/tags/quot.js | 4 ++-- scripts/tags/toc.js | 4 ++-- source/css/_layout/partial/related.styl | 2 +- source/css/_layout/tag-plugins/common.styl | 2 +- source/css/_layout/tag-plugins/quot.styl | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/tags/quot.js b/scripts/tags/quot.js index bc8cc2c..3eae282 100644 --- a/scripts/tags/quot.js +++ b/scripts/tags/quot.js @@ -1,9 +1,9 @@ /** - * quot.js v1.1 | https://github.com/xaoxuu/hexo-theme-stellar/ + * quot.js v1.2 | https://github.com/xaoxuu/hexo-theme-stellar/ * 格式与官方标签插件一致使用空格分隔,中括号内的是可选参数(中括号不需要写出来) * * quot: - * {% quot [el:h1] [icon:default] text %} + * {% quot [el:h2] [icon:default] text %} * */ diff --git a/scripts/tags/toc.js b/scripts/tags/toc.js index 5eaa742..91a556f 100644 --- a/scripts/tags/toc.js +++ b/scripts/tags/toc.js @@ -2,7 +2,7 @@ * toc.js v1 | https://github.com/xaoxuu/hexo-theme-stellar/ * 格式与官方标签插件一致使用空格分隔,中括号内的是可选参数(中括号不需要写出来) * - * {% toc wiki:xxx [open:true] [display:mobile] title %} + * {% toc wiki:xxx [title] [open:true] [display:mobile] %} */ 'use strict'; @@ -33,7 +33,7 @@ hexo.extend.tag.register('toc', function(args) { el += '>'; el += '