mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
🐛 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:
parent
f622b31b1f
commit
956e34d009
1 changed files with 3 additions and 1 deletions
|
@ -14,6 +14,8 @@
|
||||||
{{inline-svg "arrow-down-small"}}
|
{{inline-svg "arrow-down-small"}}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
{{#if matchedSlugTemplate}}
|
||||||
<p>Post URL matches {{matchedSlugTemplate.filename}}</p>
|
<p>Post URL matches {{matchedSlugTemplate.filename}}</p>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue