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

关于使用 Front-matter 控制页面标题的问题 #261

Closed
parasolwaddledee opened this issue Feb 9, 2023 · 2 comments
Closed

关于使用 Front-matter 控制页面标题的问题 #261

parasolwaddledee opened this issue Feb 9, 2023 · 2 comments
Labels
bug Something isn't working fixed

Comments

@parasolwaddledee
Copy link

在内置的页面中,head 的 title 和 og:title 的对应关系如下所示:
image

在自建的页面中,head 的 title 和 og:title 的对应关系如下所示:
image

在我自己实际的测试中,如果在 Front-matter 只使用 title,则效果和图一 wiki 页面一样;
如果在 Front-matter 只使用 seo_title,如 seo_title: 朋友文章 - XAOXUU,则会呈现图二 rss 页面的状态;

我使用 seo_title 的目的是为了隐藏正文的标题,请问在这种情况下如何同时满足 og:title 的值是页面实际的标题而不是站点名称?

@xaoxuu xaoxuu added the bug Something isn't working label Feb 12, 2023
@xaoxuu
Copy link
Owner

xaoxuu commented Feb 7, 2024

现在通过 h1: '' 来隐藏显示标题

@xaoxuu xaoxuu added the fixed label Feb 7, 2024
Copy link

github-actions bot commented Feb 7, 2024

👋 Hello,
This bug has been fixed, please update your stellar.

👋 您好,
此 BUG 已经被修复,请更新您的 Stellar 版本。

@github-actions github-actions bot closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants