Merge pull request #13 from alfredcc/Fix-dark-model
Fix dark model bug when user directly visit page.html & post.html
This commit is contained in:
@@ -7,7 +7,7 @@ layout: compress
|
|||||||
|
|
||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
|
|
||||||
<body>
|
<body data-theme="{{ site.mode }}">
|
||||||
{% include navbar.html %}
|
{% include navbar.html %}
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<header class="header">
|
<header class="header">
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ layout: compress
|
|||||||
|
|
||||||
{% include header.html %}
|
{% include header.html %}
|
||||||
|
|
||||||
<body>
|
<body data-theme="{{ site.mode }}">
|
||||||
{% include navbar.html %}
|
{% include navbar.html %}
|
||||||
<div class="wrapper post">
|
<div class="wrapper post">
|
||||||
<main class="page-content" aria-label="Content">
|
<main class="page-content" aria-label="Content">
|
||||||
|
|||||||
Reference in New Issue
Block a user