fix(layout): remove incorrect <h1>

This commit is contained in:
Ming Di Leom 2021-02-26 09:13:21 +00:00
parent 284c0a985f
commit 2379cd6672
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
3 changed files with 13 additions and 3 deletions

View File

@ -26,7 +26,7 @@
</nav> </nav>
<%/* Nav menu for mobile */%> <%/* Nav menu for mobile */%>
<nav class="mobile-nav"> <nav class="mobile-nav">
<h1 class="site-title"><a href="<%- config.root %>"><%= config.title %></a></h1> <a class="site-title" href="<%- config.root %>"><%= config.title %></a>
<ul class="mobile-nav-menu"> <ul class="mobile-nav-menu">
<label for="mobile-menu-toggle"><a class="no-underline" id="menu-button">&#9776;</a></label> <label for="mobile-menu-toggle"><a class="no-underline" id="menu-button">&#9776;</a></label>
<input id="mobile-menu-toggle" type="checkbox"/> <input id="mobile-menu-toggle" type="checkbox"/>

View File

@ -57,7 +57,12 @@ h1 {
} }
/* Disable line break for site title */ /* Disable line break for site title */
h1.site-title { a.site-title {
font-family: serif;
font-size: 1.5em;
font-weight: bold;
line-height: 1.35;
margin: 0.5em 0;
white-space: nowrap; white-space: nowrap;
} }

View File

@ -524,7 +524,12 @@ h1 {
} }
/* Disable line break for site title */ /* Disable line break for site title */
h1.site-title { a.site-title {
font-family: serif;
font-size: 1.5em;
font-weight: bold;
line-height: 1.35;
margin: 0.5em 0;
white-space: nowrap; white-space: nowrap;
} }