Skip to content

Commit 32ac399

Browse files
authored
Merge pull request #66 from de-soot/main
edit dark mode post and bump nokogiri dependency
2 parents ec30f5e + dcb1f9c commit 32ac399

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

Gemfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ GEM
235235
minitest (5.25.4)
236236
net-http (0.6.0)
237237
uri
238-
nokogiri (1.18.2-x64-mingw-ucrt)
238+
nokogiri (1.18.3-x64-mingw-ucrt)
239239
racc (~> 1.4)
240-
nokogiri (1.18.2-x86_64-linux-gnu)
240+
nokogiri (1.18.3-x86_64-linux-gnu)
241241
racc (~> 1.4)
242242
octokit (4.25.1)
243243
faraday (>= 1, < 3)

_posts/2024-09-07-dark-mode.md

-6
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,6 @@ To set `giscus` comments to match the website if you have done the CSS `@media`
126126
</script>
127127
```
128128

129-
# Why Not Use a Toggleable Button Instead
130-
131-
Most likely those who prefer only using one theme will set it in their browser settings, so it would be redundant to have them click another button to toggle the theme on a website.
132-
133-
Rather than defaulting to light or dark mode and having a separate button for the user to manually switch to their preferred theme, it might be better to automatically switch to their system default or preferred browser theme.
134-
135129
# Conclusion
136130

137131
If you found this blog post useful, leave a comment down below! Also check out how to add `giscus` comments to your own website on my [previous guide for it](/giscus-comments).

_site/dark-mode.html

-6
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,6 @@ <h1 id="configure-giscus-theme">Configure Giscus Theme</h1>
163163
<span class="nt">&lt;/script&gt;</span>
164164
</code></pre></div></div>
165165

166-
<h1 id="why-not-use-a-toggleable-button-instead">Why Not Use a Toggleable Button Instead</h1>
167-
168-
<p>Most likely those who prefer only using one theme will set it in their browser settings, so it would be redundant to have them click another button to toggle the theme on a website.</p>
169-
170-
<p>Rather than defaulting to light or dark mode and having a separate button for the user to manually switch to their preferred theme, it might be better to automatically switch to their system default or preferred browser theme.</p>
171-
172166
<h1 id="conclusion">Conclusion</h1>
173167

174168
<p>If you found this blog post useful, leave a comment down below! Also check out how to add <code class="language-plaintext highlighter-rouge">giscus</code> comments to your own website on my <a href="/giscus-comments">previous guide for it</a>.</p>

_site/feed.xml

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2025-02-10T12:57:35+08:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">de_soot</title><subtitle>Hosted on Github Pages</subtitle><entry><title type="html">Guide to APA with groff ms and refer</title><link href="http://localhost:4000/groff-apa" rel="alternate" type="text/html" title="Guide to APA with groff ms and refer" /><published>2025-02-07T00:00:00+08:00</published><updated>2025-02-07T00:00:00+08:00</updated><id>http://localhost:4000/groff-apa</id><content type="html" xml:base="http://localhost:4000/groff-apa"><![CDATA[<p>This guide explains why and how I used groff with the ms and refer macros to write my college essay in Neovim.</p>
1+
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2025-02-25T22:14:35+08:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">de_soot</title><subtitle>Hosted on Github Pages</subtitle><entry><title type="html">Guide to APA with groff ms and refer</title><link href="http://localhost:4000/groff-apa" rel="alternate" type="text/html" title="Guide to APA with groff ms and refer" /><published>2025-02-07T00:00:00+08:00</published><updated>2025-02-07T00:00:00+08:00</updated><id>http://localhost:4000/groff-apa</id><content type="html" xml:base="http://localhost:4000/groff-apa"><![CDATA[<p>This guide explains why and how I used groff with the ms and refer macros to write my college essay in Neovim.</p>
22
33
<h1 id="table-of-contents-">Table of Contents <a name="tableofcontents"></a></h1>
44
@@ -549,12 +549,6 @@ join-authors " &amp; " ", " " &amp; " # Change default "and" to ampersand (&amp;
549549
<span class="nt">&lt;/script&gt;</span>
550550
</code></pre></div></div>
551551
552-
<h1 id="why-not-use-a-toggleable-button-instead">Why Not Use a Toggleable Button Instead</h1>
553-
554-
<p>Most likely those who prefer only using one theme will set it in their browser settings, so it would be redundant to have them click another button to toggle the theme on a website.</p>
555-
556-
<p>Rather than defaulting to light or dark mode and having a separate button for the user to manually switch to their preferred theme, it might be better to automatically switch to their system default or preferred browser theme.</p>
557-
558552
<h1 id="conclusion">Conclusion</h1>
559553
560554
<p>If you found this blog post useful, leave a comment down below! Also check out how to add <code class="language-plaintext highlighter-rouge">giscus</code> comments to your own website on my <a href="/giscus-comments">previous guide for it</a>.</p>

0 commit comments

Comments
 (0)