Skip to content

Commit

Permalink
Merge pull request #321 from SlateFoundation/fixes/SCHOOL-108-section…
Browse files Browse the repository at this point in the history
…-pages-have-blank-titles

Apply includeSummaryInBody flag from SLA overrides to all schools [SCHOOL-108]
  • Loading branch information
themightychris authored Feb 15, 2022
2 parents b9db7f0 + 318465a commit fb110ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions html-templates/blog/blogPost.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{extends designs/site.tpl}

{block "title"}{$data->Title|escape} — {$dwoo.parent}{/block}

{block "content"}
{load_templates "subtemplates/blog.tpl"}
{blogPost $data showComments=true showCommentsSummary=false includeSummaryInBody=true}
{/block}
2 changes: 1 addition & 1 deletion html-templates/sections/courseSection.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
{/if}

{foreach item=BlogPost from=$blogPosts}
{blogPost $BlogPost headingLevel="h3"}
{blogPost $BlogPost headingLevel="h3" includeSummaryInBody=true}
{foreachelse}
<p class="empty-text">This class has no posts in its public feed yet.</p>
{/foreach}
Expand Down

0 comments on commit fb110ba

Please sign in to comment.