remove gitalk valine mermaid

This commit is contained in:
tangly1024
2023-06-04 15:41:04 +08:00
parent cd1b38a8ac
commit 9246c8d7f8
9 changed files with 110 additions and 64 deletions

View File

@@ -5,6 +5,7 @@ import CONFIG_HEXO from '../config_hexo'
import NavButtonGroup from './NavButtonGroup'
import throttle from 'lodash.throttle'
import { useGlobal } from '@/lib/global'
import BLOG from '@/blog.config'
let wrapperTop = 0
let windowTop = 0
@@ -25,7 +26,7 @@ const Header = props => {
if (!typed && window && document.getElementById('typed')) {
changeType(
new Typed('#typed', {
strings: CONFIG_HEXO.HOME_BANNER_GREETINGS,
strings: BLOG.GREETING_WORDS.split(','),
typeSpeed: 200,
backSpeed: 100,
backDelay: 400,

View File

@@ -1,5 +1,6 @@
const CONFIG_HEXO = {
HOME_BANNER_ENABLE: true,
// 3.14.1以后的版本中欢迎语在blog.config.js中配置用英文逗号','隔开多个。
HOME_BANNER_GREETINGS: ['Hi我是一个程序员', 'Hi我是一个打工人', 'Hi我是一个干饭人', '欢迎来到我的博客🎉'], // 首页大图标语文字
HOME_NAV_BUTTONS: true, // 首页是否显示分类大图标按钮