Tumblr 页面'侧边栏
我正在设计一个带有右侧栏的 tumblr 博客,其中显示 facebook 和 twitter 按钮以及子页面的链接。为此,我定义了一个自定义布局,该布局在博客的首页中正确描述。问题在于子页面的布局已正确描述,但侧边栏为空。我想在子页面的侧栏中显示在我的博客的自定义布局中定义并在第一页中显示的相同内容。
I am designing a tumblr blog with a right side bar where the facebook and twitter buttons and links to subpages are shown. To this end i have defined a custom layout which is correctly depicted in the blog's first page. The problem is with sub-pages where the layout is correctly depicted but the side bar is empty. I would like instead to show, in the sub-pages' side bar, the same contents which are defined in my blog's custom layout and shown in the first page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对我来说,听起来您的侧边栏已被包裹在自定义的索引页块中。查找
{block:IndexPage}{/block:IndexPage}
。这些标签是否围绕侧栏自定义的任何部分?它们可能位于代码中的任何位置(HTML、CSS 或 JS)。如果是这样,如果您希望侧栏显示在所有页面上,则需要将其删除。否则,除非您提供一些示例代码,否则我不知道问题是什么。To me, it sounds like your side bar has been wrapped in the Index Page block in the customization. Look for
{block:IndexPage}{/block:IndexPage}
. Are those tags surrounding any part of your side bar customization? They could be anywhere in the code (HTML, CSS, or JS.) If so, you need to remove them if you want the side bar to show on all your pages. Otherwise, unless you provide some sample code, I have no idea what the problem could be.