fix <h1>link</h1> appears in link page

This commit is contained in:
Miranquil 2021-01-23 09:34:48 +08:00
parent bc128e1a8d
commit bd7c4f9e1f
No known key found for this signature in database
GPG Key ID: F7AD72C904129DCB
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<div class="empty-page-content markdown-body">
<% if (page.content) { %>
<%- page.content %>
<% } else { %>
<% } else if (page.title !== 'link' && page.title !== 'links') { %>
<h1><%- page.title %></h1>
<% } %>
</div>