'super.main'在Blogger模板中是什么意思

问题描述 投票:0回答:1

主要包含在Blog1小部件中的这段代码-

 <b:includable id='main'>
      <!--<b:include name='noContentPlaceholder'/>-->

      <b:comment>Cap the total number of ads (widgets and inline ads).</b:comment>
      <b:with value='3' var='maxNumAds'>
      <b:with value='data:widgets.AdSense.size' var='numDesktopAds'>
      <b:with value='data:widgets.AdSense count (w =&gt; w.sectionId != &quot;ads&quot;)' var='numMobileAds'>
      <b:comment>Filter out the featured post, but only on the homepage.</b:comment>
      <b:with value='data:widgets.FeaturedPost filter (w =&gt; w.sectionId == &quot;page_body&quot;) map (w =&gt; w.postId)' var='featuredPostIds'>
      <b:with value='data:view.isHomepage  ? data:posts filter (post =&gt; post.id not in data:featuredPostIds)   : data:posts' var='posts'>
        <b:include name='super.main'/>
      </b:with>
      </b:with>
      </b:with>
      </b:with>
      </b:with>
    </b:includable>

我可以理解此代码段中使用的其他标签和表达式,但是我无法弄清楚“ super.main”是什么意思。当我在include标记周围放置一个父div时,我意识到它嵌套了帖子的提要。但是它叫哪一个令人难以置信?

blogger
1个回答
0
投票

每个includable标签的默认版本存储在Blogger服务器中。 super.main是Blogger的默认主标签。

© www.soinside.com 2019 - 2024. All rights reserved.