Skip to content

Commit

Permalink
Site updated: 2024-07-22 22:01:41
Browse files Browse the repository at this point in the history
  • Loading branch information
gi-b716 committed Jul 22, 2024
1 parent 9d38b2e commit 74624a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2024/07/21/hello-world/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ <h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerl
<div id="giscus" class="giscus"></div>
<script type="text/javascript">
Fluid.utils.loadComments('#giscus', function() {
var options = {"repo":"gi-b716/gi-b716.github.io","repo-id":"R_kgDOMZNsUQ","category":"Giscus","category-id":"DIC_kwDOMZNsUc4ChFEy","theme-light":"light","theme-dark":"dark","mapping":"pathname","reactions-enabled":1,"emit-metadata":0,"input-position":"top","lang":"zh-CN"};
var options = {"repo":"gi-b716/gi-b716.github.io","repo-id":"R_kgDOMZNsUQ","category":"Giscus","category-id":"DIC_kwDOMZNsUc4ChFEy","theme-light":"light","theme-dark":"dark_dimmed","mapping":"pathname","reactions-enabled":1,"emit-metadata":0,"input-position":"top","lang":"zh-CN"};
var attributes = {};
for (let option in options) {
if (!option.startsWith('theme-')) {
Expand All @@ -395,7 +395,7 @@ <h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerl
}
}
var light = 'light';
var dark = 'dark';
var dark = 'dark_dimmed';
window.GiscusThemeLight = light;
window.GiscusThemeDark = dark;
attributes['data-theme'] = document.documentElement.getAttribute('data-user-color-scheme') === 'dark' ? dark : light;
Expand Down

0 comments on commit 74624a6

Please sign in to comment.