Merge pull request #49 from miranquil/master
fix: fixed <h1>link</h1> appears in link page
This commit is contained in:
commit
bba9048845
|
@ -10,7 +10,7 @@
|
||||||
<div class="empty-page-content markdown-body">
|
<div class="empty-page-content markdown-body">
|
||||||
<% if (page.content) { %>
|
<% if (page.content) { %>
|
||||||
<%- page.content %>
|
<%- page.content %>
|
||||||
<% } else { %>
|
<% } else if (page.title !== 'link' && page.title !== 'links') { %>
|
||||||
<h1><%- page.title %></h1>
|
<h1><%- page.title %></h1>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue