Skip to content

Commit 7780d7e

Browse files
committed
Fix legacy Fusion code
1 parent 7732b2d commit 7780d7e

File tree

1 file changed

+3
-4
lines changed
  • Resources/Private/Templates/NodeTypes

1 file changed

+3
-4
lines changed

Resources/Private/Templates/NodeTypes/Post.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@ <h1 itemprop="name headline">
2929
by
3030
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person"><span itemprop="name">{author}</span></span>
3131
on
32-
<time datetime="{f:format.date(date: datePublished, format: 'c')}" itemprop="datePublished">
33-
<f:format.date format="F jS, Y">{datePublished}</f:format.date>
32+
<time datetime="{f:format.date(date: datePublished, format: 'c')}" itemprop="datePublished">{f:format.date(date: datePublished, format: 'F jS, Y')}
3433
</time>
3534
</div>
3635
<br/>
3736
</header>
3837
<div itemprop="articleBody">
39-
{main -> f:format.raw()}
38+
<fusion:render path="main"/>
4039
</div>
4140
<hr/>
4241
<div id="comments" class="comments">
@@ -45,7 +44,7 @@ <h3>
4544
<f:translate package="RobertLemke.Plugin.Blog">Comments</f:translate>
4645
</h3>
4746
<ol class="commentlist">
48-
{comments -> f:format.raw()}
47+
<fusion:render path="comments"/>
4948
</ol>
5049
<div class="clear"></div>
5150
</f:if>

0 commit comments

Comments
 (0)