'super.main' 在 Blogger 模板中是什么意思
What does 'super.main' mean in Blogger template
包含的主要内容包含来自 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 => w.sectionId != "ads")' var='numMobileAds'>
<b:comment>Filter out the featured post, but only on the homepage.</b:comment>
<b:with value='data:widgets.FeaturedPost filter (w => w.sectionId == "page_body") map (w => w.postId)' var='featuredPostIds'>
<b:with value='data:view.isHomepage ? data:posts filter (post => 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 时,我意识到它嵌套了帖子提要。但是它调用的是哪个includable呢?
每个 includable
标签都有一个默认版本存储在 Blogger 端。 super.main
是 Blogger 的默认主标签。
包含的主要内容包含来自 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 => w.sectionId != "ads")' var='numMobileAds'>
<b:comment>Filter out the featured post, but only on the homepage.</b:comment>
<b:with value='data:widgets.FeaturedPost filter (w => w.sectionId == "page_body") map (w => w.postId)' var='featuredPostIds'>
<b:with value='data:view.isHomepage ? data:posts filter (post => 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 时,我意识到它嵌套了帖子提要。但是它调用的是哪个includable呢?
每个 includable
标签都有一个默认版本存储在 Blogger 端。 super.main
是 Blogger 的默认主标签。