我可以隐藏Tumblr主博客的所有帖子,同时让他们从路由页面中隐藏吗? [英] Can I hide all posts from Tumblr's main blog while keeping them unhidden from their routed pages?
本文介绍了我可以隐藏Tumblr主博客的所有帖子,同时让他们从路由页面中隐藏吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图弄清楚如何将我的所有帖子都保留在我的主页中,而不会将其从我的辅助页面中隐藏起来......
I'm trying to figure out how I can keep my all of my posts off of my homepage without hiding them from my secondary pages......
以下是我正在处理的内容:
Here's what I'm working with:
推荐答案
我相信以下内容应该可行:
I believe the following should work:
{block:IndexPage}
{block:TagPage}
<p> This will be printed on any page `tagged/xxx`</p>
{block:Text}
<!-- Add your post type loops here -->
{/block:Text}
{/block:TagPage}
{/block:IndexPage}
总结。该模板不会为indexpage(主页)返回任何帖子,并返回您在标记页面上陈述的任何帖子类型。
To summarise. The template returns no posts for the indexpage (homepage) and returns what ever post types you state on the tagged pages.
这篇关于我可以隐藏Tumblr主博客的所有帖子,同时让他们从路由页面中隐藏吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文