Merge pull request #49 from miranquil/master

fix: fixed <h1>link</h1> appears in link page
This commit is contained in:
指间的诗意 2021-01-23 10:10:37 +08:00 committed by GitHub
commit bba9048845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>