From 4d6b3e8967fbc99efc191df84156a9562f7eb35d Mon Sep 17 00:00:00 2001 From: joshpinto6 <91392083+joshpinto6@users.noreply.github.com> Date: Sat, 31 May 2025 23:04:55 +0000 Subject: [PATCH] :sparkles: dark mode toggle, dropdown, favicon --- _config.yml | 5 +++-- _includes/foot.html | 10 +++++----- _includes/head.html | 26 +++++++++++++++++++++++++- _includes/nav.html | 2 +- _layouts/default.html | 7 ++++--- about.md | 12 ++++++++---- assets/css/main.css | 2 +- assets/js/toggle-theme.js | 33 +++++++++++++++++++++++++++++++++ favicon.ico | Bin 0 -> 15406 bytes index.md | 2 ++ tailwind.config.js | 21 ++++++++++++++------- 11 files changed, 96 insertions(+), 24 deletions(-) create mode 100644 assets/js/toggle-theme.js create mode 100644 favicon.ico diff --git a/_config.yml b/_config.yml index b8c6dda..13afcc6 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ -title: 🎩 Doctored +title: Doctored description: "A blog theme prioritizing uniqueness, complexity, and minimalism." github: "https://github.com/joshpinto6/doctored" encoding: utf-8 @@ -29,4 +29,5 @@ postcss: keep_files: - assets/css/tailwind.css - - assets/css/tailwind.css.map + - assetss/css/tailwind.css.map + - assets/js diff --git a/_includes/foot.html b/_includes/foot.html index 807f64d..7327b88 100644 --- a/_includes/foot.html +++ b/_includes/foot.html @@ -1,10 +1,10 @@
-
-

{{ site.data.foot.title }} | {{ site.description }}

-
+
+

{{ site.data.foot.title }} | {{ site.description }}

+
- @@ -12,7 +12,7 @@

Site built on {{ site.git.last_commit.commit_date }} from {{ site.git.last_commit.short_sha }} + href="{{ site.github }}/commit/{{ site.git.last_commit.long_sha }}">{{ site.git.last_commit.short_sha }}

diff --git a/_includes/head.html b/_includes/head.html index 9c358c4..8ff07ff 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -1,8 +1,32 @@ {{ page.title }} | {{ site.title }} - + + \ No newline at end of file diff --git a/_includes/nav.html b/_includes/nav.html index 9ac769f..7f05952 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -7,6 +7,6 @@ {% for entry in site.data.nav.pages %}
  • /{{ entry.title }}
  • {% endfor %} -
  • ☀️
  • +
  • \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index eb90e15..eaf5c2f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,8 +1,8 @@ {% include head.html %} - -
    + +
    {% include nav.html %}
    @@ -10,11 +10,12 @@
    {{ content }}
    -