AMP HTML Featured Post Widget/Gadget for Blogger Template

AMP HTML Featured Post Widget/Gadget for Blogger Template.

<b:widget id='FeaturedPost1' locked='false' title='AMP Featured post' type='FeaturedPost' version='1' visible='true'>
            <b:includable id='main'>
  <!-- Only display title if it's non-empty -->
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  <b:include name='content'/>
            <b:includable id='content'>
  <div class='post-summary'>
    <b:if cond='data:showPostTitle and data:postTitle != &quot;&quot;'>
      <h3><a expr:href='data:postUrl'><data:postTitle/></a></h3>
    <b:if cond='data:showSnippet and data:postSummary != &quot;&quot;'>
    <b:if cond='data:showFirstImage and data:postFirstImage != &quot;&quot;'>
      <amp-img expr:alt='data:postTitle' expr:src='data:postFirstImage' height='240' layout='responsive' width='320'/>

Related Posts
Disqus Comments
© Copyright 2017 CB AMP - All Rights Reserved | Template by CB Blogger