diff --git a/layout/includes/third-party/subtitle.pug b/layout/includes/third-party/subtitle.pug index 8dbb534..4e04e54 100644 --- a/layout/includes/third-party/subtitle.pug +++ b/layout/includes/third-party/subtitle.pug @@ -1,5 +1,5 @@ - const { effect, source, sub, typed_option } = theme.subtitle -- let subContent = sub || new Array() +- let subContent = typeof sub === 'string' ? [sub] : (sub || new Array()) script. window.typedJSFn = { diff --git a/package.json b/package.json index ad45920..d35cb31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-butterfly", - "version": "5.5.4", + "version": "5.5.5-b1", "description": "A Simple and Card UI Design theme for Hexo", "main": "package.json", "scripts": { diff --git a/source/css/_layout/third-party.styl b/source/css/_layout/third-party.styl index 8e85e6c..54ab8c7 100644 --- a/source/css/_layout/third-party.styl +++ b/source/css/_layout/third-party.styl @@ -226,5 +226,6 @@ if hexo-config('math.use') opacity: 1 +maxWidth768() - .fancybox__toolbar__column.is-middle - display: none + .fancybox__toolbar__column.is-middle, + .f-carousel__toolbar__column.is-middle + visibility: hidden