Post Detail Code Sample

Here is some example code and CSS to build a post detail page for the store. This is just an example and you have the flexibility to lay out the page to suit your own design.

Below is a screenshot of the layout that this code will build.  

HTML:

Below is the HTML / Branch code that would go in the Template field for the Post Detail content template. 

<div class="post">
  <h3>{#post.postTitle}</h3>
  <div class="author">
    {if #post.authorName}By <em>{#post.authorName}</em>, {#post.authorRole}<br />{/if}
    Published on {#post.publishedOnDate}
  </div>
  {#post.content}
  <a href="{#post.goBackUrl}" title="">Go back</a>
</div>