Answers for "{getFeatured} $label={recent}"

0

{getFeatured} $label={recent}

<b:widget id='Blog2' locked='true' title='FeaturedBlog' type='Blog' >
  <b:includable id='main'>
    <div class='post-summary'>
      <b:with var="filteredData" value="data:posts filter (p => p.labels any ( l => l.name == "label0" ))">     
        <b:loop values='data:filteredData' var='post' index='index'>
          <b:if cond='data:index == "0"' > 
            <h3><a expr:href='data:post.url'><data:post.title/></a></h3>
            ...
          </b:if>  
        </b:loop>
      </b:with>
   </div>
  <b:include name='quickedit'/>
  </b:includable>
</b:widget>
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language