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

[BUG] loveit 页面网页title渲染无效 #866

Open
hzp2333 opened this issue Feb 22, 2024 · 2 comments
Open

[BUG] loveit 页面网页title渲染无效 #866

hzp2333 opened this issue Feb 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hzp2333
Copy link

hzp2333 commented Feb 22, 2024

在使用loveit主题时,title渲染似乎无效。

网站blog.huaxiangshan.com

设置的标题为huaxiangsha's blog,标签页也成功应用了这个名称。

但是网页左上角依旧是“my cool sites”
b80f29cb6f40213f540552b90b75959

title = "滑翔闪'S BLOG" description = "滑翔闪'S BLOG" defaultContentLanguage = "zh-cn" defaultContentLanguageInSubdir = true

@hzp2333 hzp2333 added the bug Something isn't working label Feb 22, 2024
@nano-oss
Copy link

我刚开始也遇到你的问题,在hugo.toml添加以下配置文件即可
[params.header]
# 桌面端导航栏模式 ["fixed", "normal", "auto"]
desktopMode = "fixed"
# 移动端导航栏模式 ["fixed", "normal", "auto"]
mobileMode = "auto"
# LoveIt 新增 | 0.2.0 页面头部导航栏标题配置
[params.header.title]
# LOGO 的 URL
logo = ""
# 标题名称
name = " Bin's Blog"
# 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标
pre = ""
# 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标
post = ""
# LoveIt 新增 | 0.2.5 是否为标题显示打字机动画
typeit = false

@hzp2333
Copy link
Author

hzp2333 commented Mar 5, 2024

我刚开始也遇到你的问题,在hugo.toml添加以下配置文件即可 [params.header] # 桌面端导航栏模式 ["fixed", "normal", "auto"] desktopMode = "fixed" # 移动端导航栏模式 ["fixed", "normal", "auto"] mobileMode = "auto" # LoveIt 新增 | 0.2.0 页面头部导航栏标题配置 [params.header.title] # LOGO 的 URL logo = "" # 标题名称 name = " Bin's Blog" # 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标 pre = "" # 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标 post = "" # LoveIt 新增 | 0.2.5 是否为标题显示打字机动画 typeit = false

非常感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants