gpt4 book ai didi

templates - 如何让我的版 block 显示在 Blogger 布局编辑器中?

转载 作者:行者123 更新时间:2023-12-05 07:59:53 26 4
gpt4 key购买 nike

当我将自定义 XML 上传到 Blogger 时,代码有效,但我的 <b:section> s 不会显示在用于添加小部件的布局编辑器中。

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>

<b:include data='blog' name='all-head-content'/>

<title>
<b:if cond='data:blog.pageType == &quot;index&quot;'>
<data:blog.pageTitle/>
<b:else/>
<b:if cond='data:blog.pageType != &quot;error_page&quot;'>
<data:blog.pageName/> | <data:blog.title/>
<b:else/>
Page Not Found | <data:blog.title/>
</b:if>
</b:if>
</title>

<b:skin>
<![CDATA[

]]>
</b:skin>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"/>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
</head>
<body>
<header role="banner">
<b:section class='header container' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title='' type='Header'></b:widget>
</b:section>
</header>
<nav>
<b:section class='tabs container' id='crosscol' maxwidgets='1' showaddelement='yes'>
<b:widget id='PageList1' locked='false' title='Pages' type='PageList'></b:widget>
</b:section>
</nav>

<div class='container'><div class='row'><!-- start container for page + advertiser -->

<section id="page" role="main" class='col-md-8'>
<b:section class='main' id='main' preferred='yes' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'></b:widget>
</b:section>
</section>

<section id="advertisement" role="complimentary" class='col-md-4'>
<b:section class='sidebar' id='sidebar-right-1' maxwidgets='' showaddelement='yes'>
<b:widget id='HTML-1' type='HTML'></b:widget>
</b:section>
<b:section class='sidebar' id='sidebar-right-2' maxwidgets='' showaddelement='yes'>
<b:widget id='HTML-2' type='HTML'></b:widget>
</b:section>
</section>

</div></div><!-- end container for page + advertiser -->

<footer role="contentinfo">
<b:section class='footer container' id='footer' maxwidgets='' showaddelement='yes'></b:section>
</footer>
</body>
</html>

最佳答案

布局页面被缓存。编辑 f.e 后尝试shift-F5(在 Chrome 中)清除缓存。

关于templates - 如何让我的版 block 显示在 Blogger 布局编辑器中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20441610/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com