Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Templates 如何在Blogger布局编辑器中显示我的部分?_Templates_Blogger - Fatal编程技术网

Templates 如何在Blogger布局编辑器中显示我的部分?

Templates 如何在Blogger布局编辑器中显示我的部分?,templates,blogger,Templates,Blogger,当我将自定义XML上传到Blogger时,代码会进行验证,但我的不会显示在用于添加小部件的布局编辑器中 <?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/gm

当我将自定义XML上传到Blogger时,代码会进行验证,但我的
不会显示在用于添加小部件的布局编辑器中

<?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中)后尝试清除缓存