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

关于“页面” 的Element优化 #220

Open
AH-dark opened this issue Dec 16, 2021 · 3 comments
Open

关于“页面” 的Element优化 #220

AH-dark opened this issue Dec 16, 2021 · 3 comments

Comments

@AH-dark
Copy link
Contributor

AH-dark commented Dec 16, 2021

建议将各页面的头部标题改为<h1>标签,以优化SEO

@AH-dark
Copy link
Contributor Author

AH-dark commented Dec 16, 2021

详细可见 https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Heading_Elements
同一页面多个<h1>或没有<h1>会影响SEO质量
1639651299(1)
1639651147(1)
另外,文章列表中没有特色图片而使用纯文字显示的Card也应避免使用<h1>作为文章标题,这也会影响SEO质量
1639651263(1)

@AH-dark
Copy link
Contributor Author

AH-dark commented Dec 16, 2021

另外,我在 #197 中有提到,文章目录最好以<h2>标签为(1)而不是以<h1>标签为(1),一个页面只能出现1个<h1>标签,而这个标签已被用在了页面标题,文章中再使用会影响SEO
所以,目录中以<h1>为(1)是没有意义的,而且有点影响体验
1639651532(1)
而且文章中出现<h1>标签也是不那么标准化的

@AH-dark
Copy link
Contributor Author

AH-dark commented Dec 16, 2021

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

1 participant