【问题标题】:How can I make the tags on my tumblr theme appear?如何使我的 tumblr 主题上的标签出现?
【发布时间】:2017-10-10 14:38:51
【问题描述】:

当您不点击帖子时,我的 tumblr 主题会隐藏帖子中的标签。有没有办法让标签一直出现?

.

我试过写

{block:HasTags}
    <ul class="tags">
        {block:Tags}<li><a href="{TagURL}">{Tag}</a></li>{/block:Tags}
    </ul>
{/block:HasTags}

在 {block: Posts} 内部,甚至在它之后,但它不起作用。这是我主题的 html 代码的链接:pastebin.com/awQUSraA

【问题讨论】:

  • 你能提供你博客的链接吗?这将在 css 中。

标签: themes tumblr tumblr-themes


【解决方案1】:

标签似乎隐藏在索引页面上:

.tags {
    margin-top:5px;
    font-style:italic;
    {block:indexpage}display:none;{/block:indexpage}
}

删除{block:indexpage}display:none;{/block:indexpage},它们应该是可见的。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-10-09
    • 1970-01-01
    • 2013-08-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多