Skip to content

Commit

Permalink
Fix legacy Fusion code
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlemke committed Feb 21, 2019
1 parent 7732b2d commit 7780d7e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Resources/Private/Templates/NodeTypes/Post.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ <h1 itemprop="name headline">
by
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person"><span itemprop="name">{author}</span></span>
on
<time datetime="{f:format.date(date: datePublished, format: 'c')}" itemprop="datePublished">
<f:format.date format="F jS, Y">{datePublished}</f:format.date>
<time datetime="{f:format.date(date: datePublished, format: 'c')}" itemprop="datePublished">{f:format.date(date: datePublished, format: 'F jS, Y')}
</time>
</div>
<br/>
</header>
<div itemprop="articleBody">
{main -> f:format.raw()}
<fusion:render path="main"/>
</div>
<hr/>
<div id="comments" class="comments">
Expand All @@ -45,7 +44,7 @@ <h3>
<f:translate package="RobertLemke.Plugin.Blog">Comments</f:translate>
</h3>
<ol class="commentlist">
{comments -> f:format.raw()}
<fusion:render path="comments"/>
</ol>
<div class="clear"></div>
</f:if>
Expand Down

0 comments on commit 7780d7e

Please sign in to comment.