We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bing是全球第二大搜索引擎,他会语义化解读标签,期望页面只有唯一的h1元素
希望可以把列表页的h1改为h2,样式是没有改变,更符合搜索引擎的收录标准. hexo-theme-fluid\layout\index.ejs文件内
<h1 class="index-header"> <% if (theme.index.post_sticky && theme.index.post_sticky.enable && post.sticky > 0) { %> <i class="index-pin <%= theme.index.post_sticky && theme.index.post_sticky.icon %>" title="Pin on top"></i> <% } %> <a href="<%= post_url %>" target="<%- theme.index.post_url_target %>"> <%= post.title %> </a> </h1>
改为
<h2 class="index-header"> <% if (theme.index.post_sticky && theme.index.post_sticky.enable && post.sticky > 0) { %> <i class="index-pin <%= theme.index.post_sticky && theme.index.post_sticky.icon %>" title="Pin on top"></i> <% } %> <a href="<%= post_url %>" target="<%- theme.index.post_url_target %>"> <%= post.title %> </a> </h2>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如是功能需求,请确定符合以下情况
请描述该需求尝试解决的问题
bing是全球第二大搜索引擎,他会语义化解读标签,期望页面只有唯一的h1元素
![image](https://private-user-images.githubusercontent.com/38217058/249699831-8f9a6117-72d6-4551-b1ab-b983876e24ff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODQyMTAsIm5iZiI6MTczOTE4MzkxMCwicGF0aCI6Ii8zODIxNzA1OC8yNDk2OTk4MzEtOGY5YTYxMTctNzJkNi00NTUxLWIxYWItYjk4Mzg3NmUyNGZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEwMzgzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk2MmVjMzVkMDAxZjc3MGQ1ZWY2MGQxMDZiZmFjYTMyNDFlMGQ4YzBhNmU3MDYwOWE0NmIwMTQzMDliZTEzZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.zfFzXZ2HUiobSDiZtMoKDXIZU0wCTd6-AorMRdle3QM)
请描述您认为可行的解决方案
希望可以把列表页的h1改为h2,样式是没有改变,更符合搜索引擎的收录标准.
hexo-theme-fluid\layout\index.ejs文件内
改为
The text was updated successfully, but these errors were encountered: