Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

菜单栏如何添加下拉子类?评论自己发送也显示游客标识 #80

Open
NAILIANGCHI opened this issue Jan 17, 2023 · 8 comments

Comments

@NAILIANGCHI
Copy link

image
像这种菜单按钮格式是什么样的,根据官方文档看了 没有介绍菜单的格式,使用其他主题格式试了不行。

还有就是评论 可以正常发送就是我自己发送也是显示游客头衔😭
image

@zkz098
Copy link

zkz098 commented Jan 17, 2023

下拉菜单配置格式如下:

posts:
    default: / || feather
    archives: /archives/ || list-alt
    categories: /categories/ || th
    tags: /tags/ || tags

posts为二级菜单名称
default即为菜单上显示的父容器
archives、categories、tags都是二级菜单

博主头衔需要设置minivaline的用户标识,在valine的tagMember下填入你的邮箱MD5即可

@NAILIANGCHI
Copy link
Author

NAILIANGCHI commented Jan 17, 2023 via email

@NAILIANGCHI
Copy link
Author

谢谢一会打算尝试,但是我又遇见个问题就是本地可以正常访问但是部署到github上则会一直转圈圈不会进入里面是什么原因该如何解决?
image

@zkz098
Copy link

zkz098 commented Jan 17, 2023

您是不是使用了cloudflareCDN,如果使用了需要关闭rocket-loader功能,这个功能会导致js无法正常加载,就会一直转圈

@NAILIANGCHI
Copy link
Author

感谢,一会去cf上面看看
新年快乐!🎉

@NAILIANGCHI
Copy link
Author

NAILIANGCHI commented Jan 17, 2023

下拉菜单配置格式如下:

posts:
    default: / || feather
    archives: /archives/ || list-alt
    categories: /categories/ || th
    tags: /tags/ || tags

posts为二级菜单名称 default即为菜单上显示的父容器 archives、categories、tags都是二级菜单

博主头衔需要设置minivaline的用户标识,在valine的tagMember下填入你的邮箱MD5即可

您好!是master 后面填写MD5吗?
image

@zkz098
Copy link

zkz098 commented Jan 17, 2023

对,MD5前需要有一个 -

@NAILIANGCHI
Copy link
Author

okok解决了,这个主题快倒腾一下午了图片什么的部署到GitHub上都挂了不显示哭了😥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants