fix <h1>link</h1> appears in link page
This commit is contained in:
parent
bc128e1a8d
commit
bd7c4f9e1f
|
@ -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