- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我已经下载了这个模板:
http://btemplates.com/2009/blogger-template-mobipress/
xml 代码太长,无法在此处发布。
我现在遇到的问题是,当我放置内容时,页面没有出现。
这里的例子:
http://idaytradeforaliving.blogspot.be/p/routines.html
我不确定我可以在此处提供哪些其他信息来帮助解决问题
我找到了这个
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'><p><data:post.body/></p></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
<div class='clear'/>
<div class='singleinfo'>
<div class='more'> <b:if cond='data:blog.pageType != "static_page"'><b:if
cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'>Full Story</a>
</b:if></b:if></div>
</div>
</b:if> </b:if>
最佳答案
您的博客文章都显示正确。这缩小了问题的范围。如果您的所有静态页面都没有显示任何内容,那么所有静态页面上都有一个导致问题的条件。
要查找放置在所有静态页面上的 CSS 条件(假设所有页面均未显示内容):
<b:if cond='data:blog.pageType == "static_page"'>
<b:if cond='data:blog.pageType == "static_page"'>
<style>
CSS codes here
</style>
</b:if>
/b:skin
之上。 (如果风格相关)或
/head
(如果与脚本相关,与样式无关)。此外,您还会看到条件之间的 CSS 代码,而不是 HTML 代码。
<b:if cond='data:blog.pageType == "static_page"'>
<div expr:id='data:post.id'><p><data:post.body/></p></div>
</b:if>
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'><p><data:post.body/></p></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
</b:if>
<div class='clear'/>
<b:if cond='data:blog.pageType != "static_page"'>
<div class='singleinfo'>
<div class='more'><b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'>Full Story</a>
</b:if></div>
</div>
</b:if>
</b:if>
1.The problem could be that the comments are turned off on your settings page. To check:
2: Blogger is designed is such a way that if you are looking at the posts from the homepage and you have post summaries enabled (which with your template, you do) then you can't see the comments until you click "Full Story".
3.Make sure the comments is checked on the Layout page:
4.Changing the template on the "Template" page where you click "Edit HTML" could cause other problems or glitches. Did you change your template at all, besides the changes I know about? When I loaded the template as a test site on blogger (even after the changes from your first question), the comments appear on my end, so the problem you're experiencing is not related to the fresh upload of the template.
5.Inside each post, even if comments are turned on, you have a choice to make all comments hidden for that certain post. Check and make sure that the correct option is selected.
关于html - 页面在博客模板中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17635252/
今天有小伙伴给我留言问到,try{...}catch(){...}是什么意思?它用来干什么? 简单的说 他们是用来捕获异常的 下面我们通过一个例子来详细讲解下
我正在努力提高网站的可访问性,但我不知道如何在页脚中标记社交媒体链接列表。这些链接指向我在 facecook、twitter 等上的帐户。我不想用 role="navigation" 标记这些链接,因
说现在是 6 点,我有一个 Timer 并在 10 点安排了一个 TimerTask。之后,System DateTime 被其他服务(例如 ntp)调整为 9 点钟。我仍然希望我的 TimerTas
就目前而言,这个问题不适合我们的问答形式。我们希望答案得到事实、引用资料或专业知识的支持,但这个问题可能会引发辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visit the
我就废话不多说了,大家还是直接看代码吧~ ? 1
Maven系列1 1.什么是Maven? Maven是一个项目管理工具,它包含了一个对象模型。一组标准集合,一个依赖管理系统。和用来运行定义在生命周期阶段中插件目标和逻辑。 核心功能 Mav
我是一名优秀的程序员,十分优秀!