Skip to content

Commit 3a7a7ee

Browse files
Don't show person summary details in blog post byline
1 parent 749aa7e commit 3a7a7ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

html-templates/blog/blogPost.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<h1 class="header-title"><a href="{$Post->getURL()}">{$Post->Title|escape}</a></h1>
9191

9292
<div class="article-meta">
93-
by {personLink $Post->Author photo=yes photoSize=36 pixelRatio=2}
93+
by {personLink $Post->Author photo=yes photoSize=36 pixelRatio=2 summary=no}
9494
on <a href="{$Post->getURL()}">{timestamp $Post->Published}</a>
9595
</div>
9696

html-templates/subtemplates/people.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{/if}
1717
{/strip}{/template}
1818

19-
{template personLink Person photo=no photoSize=64 pixelRatio=2 linkCls=no imgCls=no nameCls=no}{strip}
19+
{template personLink Person photo=no photoSize=64 pixelRatio=2 linkCls=no imgCls=no nameCls=no summary=yes}{strip}
2020
<a href="{$Person->getURL()}" title="{personName $Person}" {if $linkCls}class="{$linkCls}"{/if}>
2121
{if $photo}
2222
{$pixels = $photoSize}
@@ -30,6 +30,6 @@
3030
{/if}
3131
<img src="{$src}" class="avatar {if $imgCls}{$imgCls}{/if}" width="{$photoSize}" height="{$photoSize}" />
3232
{/if}
33-
<span class="name {$imgCls}">{personName $Person}</span>
33+
<span class="name {$imgCls}">{personName $Person summary=$summary}</span>
3434
</a>
3535
{/strip}{/template}

0 commit comments

Comments
 (0)