🐛 Fixed "Post URL matches" text displaying when no template match is found (#896)

no issue

- adding missing conditional so we only display `Post URL matches post-slug-name.hbs` when a match is found
This commit is contained in:
Kevin Ansfield 2017-10-13 12:25:52 +01:00 committed by Katharina Irrgang
parent f622b31b1f
commit 956e34d009

View File

@ -14,6 +14,8 @@
{{inline-svg "arrow-down-small"}}
</span>
</span>
<p>Post URL matches {{matchedSlugTemplate.filename}}</p>
{{#if matchedSlugTemplate}}
<p>Post URL matches {{matchedSlugTemplate.filename}}</p>
{{/if}}
</div>
{{/if}}