Comments (6)
以目前的搜索方式,暂时没法区分
from hexo-theme-tree.
好像可以用noindex
:https://blog.hubspot.com/marketing/how-to-unindex-pages-from-search-engines
里面有提到a portion of
:
There are a few occasions where you may want to exclude a webpage — or a portion of a webpage — from search engine crawling and indexing
这个也是讲怎么排除部分内容的,但是好像是只对谷歌有效:https://perishablepress.com/tell-google-to-not-index-certain-parts-of-your-page/
from hexo-theme-tree.
Meta tag放到body里好像是不符合标准的:https://stackoverflow.com/questions/1447842/what-happens-if-the-meta-tags-are-present-in-the-document-body
然后googleon和googleoff好像没有被google officially documented:https://digitalreadymarketing.com/googleon-googleoff-tags/
所以可以把sidebar之类的放到另一个html里,然后在那个html的head里打上noindex的meta tag,然后把这个html嵌套到总的博客的html里吗?
from hexo-theme-tree.
这个你可以先试试看,主要最近精力没在这一块
from hexo-theme-tree.
诶?这个问题解决了?
from hexo-theme-tree.
没有,刚刚浏览了一波,看比较久远,就关了
from hexo-theme-tree.
Related Issues (20)
- 不支持RSS吗? HOT 2
- 生成静态文件异常 HOT 1
- tag页面标签点击之后的页面可以自定义吗? HOT 2
- 主题访问首页会报错 HOT 3
- 做成一个npm包? HOT 3
- 添加许可证? HOT 1
- 这个Hexo主题很漂亮和实用,能增加以下两个功能吗? HOT 2
- 分类和标签页面问题 HOT 1
- 没有title的文件,生成时会出错。 HOT 5
- 通过链接打开博客之后侧边栏无法自动跳转到该博客 HOT 1
- 有几个优化建议~ HOT 3
- 这个主题真的很棒! HOT 2
- valine 评论系统失效 HOT 5
- 缺少 Meta Description 标记 HOT 6
- post.ejs报错slug问题 HOT 1
- 有没有可能在hexo根目录下的`_config.yml`进行主题的配置? HOT 15
- categories的写法 HOT 3
- 搜索配置 HOT 1
- 侧边栏目录树 HOT 3
- 不能加载css/main.css问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-theme-tree.