Blog Post Summary Snippet
2 Nov 2015 5:19 PMLicensee PersonThis snippet is used to generate the layout for the blog post summary in the blog list page. Create a snippet with the file name: blogpost.summary.
Sample Code
<div> <span class="Script" contenteditable="false" enctype="text/html" expression="IIf(IsNothing(Image), "", GenerateHTMLA(RelativePath, "", "", "", "", "", "", "<div class=""image"" style=""background-image: url('/" & HTMLAttributeEncode(ImageBasePathAndFileName) & "')""><!-- --></div>"))">[Image]</span> </div> <p><span class="Script" contenteditable="false" enctype="text/html" expression="GenerateHTMLAForPublishedOn()">[Published On]</span></p> <p class="title"> <span class="Script" contenteditable="false" enctype="text/html" expression="GenerateHTMLAForArticle()">[Title]</span> </p> <div class="description"> <span class="Script" contenteditable="false" enctype="text/html" expression=""<p>" & Replace(HtmlEncode(Description), Chr(10) & Chr(13), "</p><p>") & "</p>"">[Description]</span> </div> <div> <span class="Script" contenteditable="false" enctype="text/html" expression="GenerateHTMLA(RelativePath, "", "read-more", "", "", "", "", "More")">[Read More]</span> </div>