From 634bba65a2df9e169e335d96e8f506c17b24486c Mon Sep 17 00:00:00 2001 From: Test Date: Wed, 23 Sep 2026 00:47:15 +0000 Subject: [PATCH] feat: replace category bar with dropdown menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace scrolling/wrapping catbar with a 'Categories โ–พ' dropdown - Desktop: hover or click to reveal category grid panel - Mobile: checkbox toggle within hamburger menu - Close dropdown on outside click or category selection - Cleaner header on all screen sizes --- build.py | 10 +++-- site/404.html | 16 ++++--- site/about/index.html | 16 ++++--- site/api/v1/random.json | 2 +- site/api/v1/today.json | 2 +- site/category/animals/index.html | 16 ++++--- site/category/christmas/index.html | 16 ++++--- site/category/family/index.html | 16 ++++--- site/category/food/index.html | 16 ++++--- site/category/halloween/index.html | 16 ++++--- site/category/knock-knock/index.html | 16 ++++--- site/category/one-liners/index.html | 16 ++++--- site/category/school/index.html | 16 ++++--- site/category/space/index.html | 16 ++++--- site/category/sports/index.html | 16 ++++--- site/category/tech/index.html | 16 ++++--- site/category/travel/index.html | 16 ++++--- site/category/weather/index.html | 16 ++++--- site/category/work/index.html | 16 ++++--- site/contact/index.html | 16 ++++--- site/dad-joke-generator/index.html | 16 ++++--- site/index.html | 24 ++++++----- site/joke-of-the-day/index.html | 22 ++++++---- site/privacy-policy/index.html | 18 ++++---- site/rss.xml | 41 +++++------------- site/search/index.html | 16 ++++--- site/sitemap.xml | 62 ++++++++++++++-------------- site/static/main.js | 10 +++++ site/static/style.css | 32 ++++++++++++-- site/terms/index.html | 18 ++++---- site/topic/birthday/index.html | 16 ++++--- site/topic/cats/index.html | 16 ++++--- site/topic/coffee/index.html | 16 ++++--- site/topic/cows/index.html | 16 ++++--- site/topic/dogs/index.html | 16 ++++--- site/topic/love/index.html | 16 ++++--- site/topic/money/index.html | 16 ++++--- site/topic/sleep/index.html | 16 ++++--- site/topic/winter/index.html | 16 ++++--- static/main.js | 10 +++++ static/style.css | 32 ++++++++++++-- 41 files changed, 455 insertions(+), 276 deletions(-) diff --git a/build.py b/build.py index 3eba2136..05f37de8 100644 --- a/build.py +++ b/build.py @@ -116,11 +116,15 @@ def layout(title, desc, body, path='/', extra_head=''): Joke of the Day Search About +
+ + +
+ {nav_cats} +
+
-
- {nav_cats} -
{body} diff --git a/site/404.html b/site/404.html index b7ae991c..7a848923 100644 --- a/site/404.html +++ b/site/404.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/about/index.html b/site/about/index.html index b78ce7d6..1c02299a 100644 --- a/site/about/index.html +++ b/site/about/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -82,7 +86,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/api/v1/random.json b/site/api/v1/random.json index 9ced15bc..23b47ba1 100644 --- a/site/api/v1/random.json +++ b/site/api/v1/random.json @@ -1 +1 @@ -{"setup": "What do you call 8 hobbits?", "punchline": "A hobbyte.", "type": "qa", "category": "tech", "source": "https://bestdadjokes.lol/category/tech/#joke-114"} \ No newline at end of file +{"setup": "Why did the dog cross the road?", "punchline": "To get to the barking lot.", "type": "qa", "category": "animals", "source": "https://bestdadjokes.lol/category/animals/#joke-287"} \ No newline at end of file diff --git a/site/api/v1/today.json b/site/api/v1/today.json index f5bc95a8..23aa482e 100644 --- a/site/api/v1/today.json +++ b/site/api/v1/today.json @@ -1 +1 @@ -{"setup": "I don't trust stairs.", "punchline": "They're always up to something.", "type": "line", "category": "one-liners", "source": "https://bestdadjokes.lol/category/one-liners/#joke-241"} \ No newline at end of file +{"setup": "What time did the man go to the dentist?", "punchline": "Tooth hurty.", "type": "line", "category": "one-liners", "source": "https://bestdadjokes.lol/category/one-liners/#joke-248"} \ No newline at end of file diff --git a/site/category/animals/index.html b/site/category/animals/index.html index 39d03fda..7fcbad2e 100644 --- a/site/category/animals/index.html +++ b/site/category/animals/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/christmas/index.html b/site/category/christmas/index.html index e24e4c99..95540123 100644 --- a/site/category/christmas/index.html +++ b/site/category/christmas/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/family/index.html b/site/category/family/index.html index d9999f46..a7725c91 100644 --- a/site/category/family/index.html +++ b/site/category/family/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/food/index.html b/site/category/food/index.html index d0c4ef16..f1ad0b51 100644 --- a/site/category/food/index.html +++ b/site/category/food/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/halloween/index.html b/site/category/halloween/index.html index 58828cc4..30077f10 100644 --- a/site/category/halloween/index.html +++ b/site/category/halloween/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/knock-knock/index.html b/site/category/knock-knock/index.html index 23526e38..acc5912c 100644 --- a/site/category/knock-knock/index.html +++ b/site/category/knock-knock/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/one-liners/index.html b/site/category/one-liners/index.html index 1442c593..fddb4bd5 100644 --- a/site/category/one-liners/index.html +++ b/site/category/one-liners/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/school/index.html b/site/category/school/index.html index 274aa516..d0999f77 100644 --- a/site/category/school/index.html +++ b/site/category/school/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/space/index.html b/site/category/space/index.html index 61275e06..c09eff78 100644 --- a/site/category/space/index.html +++ b/site/category/space/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/sports/index.html b/site/category/sports/index.html index b5b44156..ceadedf9 100644 --- a/site/category/sports/index.html +++ b/site/category/sports/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/tech/index.html b/site/category/tech/index.html index 541a4e23..33e29fde 100644 --- a/site/category/tech/index.html +++ b/site/category/tech/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/travel/index.html b/site/category/travel/index.html index dddf82e1..3583e512 100644 --- a/site/category/travel/index.html +++ b/site/category/travel/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/weather/index.html b/site/category/weather/index.html index 711cdc0f..e83c704d 100644 --- a/site/category/weather/index.html +++ b/site/category/weather/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/category/work/index.html b/site/category/work/index.html index d95fd162..a2a8e8d9 100644 --- a/site/category/work/index.html +++ b/site/category/work/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/contact/index.html b/site/contact/index.html index 08d7ae3c..e64dec10 100644 --- a/site/contact/index.html +++ b/site/contact/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -75,7 +79,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/dad-joke-generator/index.html b/site/dad-joke-generator/index.html index 7d49ed79..536498a4 100644 --- a/site/dad-joke-generator/index.html +++ b/site/dad-joke-generator/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -89,7 +93,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/index.html b/site/index.html index ee19d60a..95b403e0 100644 --- a/site/index.html +++ b/site/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -42,8 +46,8 @@

The Best Dad Jokes on the Internet

Short. Clean. Painfully punny. 322+ jokes your kids don't want to hear but absolutely need to.

-

Who's the king of all school supplies?

-
The ruler.
+

What did the router say to the doctor?

+
It hurts when IP.
@@ -57,8 +61,8 @@

๐Ÿ˜„ Dad Joke of the Day

-

I don't trust stairs.

-
They're always up to something.
+

What time did the man go to the dentist?

+
Tooth hurty.

See the archive โ†’

@@ -188,7 +192,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/joke-of-the-day/index.html b/site/joke-of-the-day/index.html index 64437a08..3c7c6d2a 100644 --- a/site/joke-of-the-day/index.html +++ b/site/joke-of-the-day/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About +
-
@@ -42,9 +46,9 @@

๐Ÿ˜„ Dad Joke of the Day

A brand-new dad joke every single day. Doctors recommend exactly one per day. We won't tell if you don't.

-

September 16, 2026

-

I don't trust stairs.

-
They're always up to something.
+

September 23, 2026

+

What time did the man go to the dentist?

+
Tooth hurty.
@@ -85,7 +89,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/privacy-policy/index.html b/site/privacy-policy/index.html index d7c75fd1..10c9fb9e 100644 --- a/site/privacy-policy/index.html +++ b/site/privacy-policy/index.html @@ -14,7 +14,7 @@ - + @@ -30,17 +30,21 @@ Joke of the Day Search About +
-

Privacy Policy

-

Last updated: September 16, 2026

+

Last updated: September 23, 2026

BestDadJokes.lol respects your privacy, which is ironic because dads famously respect nothing more than a good interruption. Here's the deal in plain English:

What we collect

We keep standard web server logs (IP address, browser type, pages visited) for security and aggregate traffic statistics. We do not ask for your name, email, or your kids' report cards. There are no accounts on this site.

@@ -87,7 +91,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/rss.xml b/site/rss.xml index 2b6fc425..4bb2e5a3 100644 --- a/site/rss.xml +++ b/site/rss.xml @@ -1,49 +1,28 @@ -Best Dad Jokes โ€” Dad Joke of the Dayhttps://bestdadjokes.lol/joke-of-the-day/The best dad jokes on the internet โ€” short, clean, and groan-worthy.en-usDad Joke of the Day โ€” Sep 16https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-16bjd-daily-2026-09-16Wed, 16 Sep 2026 00:34:11 -0000I don't trust stairs. โ€” They're always up to something.Dad Joke of the Day โ€” Sep 15https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-15bjd-daily-2026-09-15Tue, 15 Sep 2026 00:34:11 -0000I told my wife she was drawing her eyebrows too high. โ€” She looked surprised.Dad Joke of the Day โ€” Sep 14https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-14bjd-daily-2026-09-14Mon, 14 Sep 2026 00:34:11 -0000What's brown and sticky? โ€” A stick.Dad Joke of the Day โ€” Sep 13https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-13bjd-daily-2026-09-13Sun, 13 Sep 2026 00:34:11 -0000I used to hate facial hair. โ€” Then it grew on me.Dad Joke of the Day โ€” Sep 12https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-12bjd-daily-2026-09-12Sat, 12 Sep 2026 00:34:11 -0000I'm reading a book about anti-gravity. โ€” I just can't put it down.Dad Joke of the Day โ€” Sep 11https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-11bjd-daily-2026-09-11Fri, 11 Sep 2026 00:34:11 -0000Knock knock. +Best Dad Jokes โ€” Dad Joke of the Dayhttps://bestdadjokes.lol/joke-of-the-day/The best dad jokes on the internet โ€” short, clean, and groan-worthy.en-usDad Joke of the Day โ€” Sep 23https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-23bjd-daily-2026-09-23Wed, 23 Sep 2026 00:46:53 -0000What time did the man go to the dentist? โ€” Tooth hurty.Dad Joke of the Day โ€” Sep 22https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-22bjd-daily-2026-09-22Tue, 22 Sep 2026 00:46:53 -0000I ordered a chicken and an egg from an online store. โ€” I'll let you know.Dad Joke of the Day โ€” Sep 21https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-21bjd-daily-2026-09-21Mon, 21 Sep 2026 00:46:53 -0000I know a lot of jokes about retired people. โ€” Sadly, none of them work.Dad Joke of the Day โ€” Sep 20https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-20bjd-daily-2026-09-20Sun, 20 Sep 2026 00:46:53 -0000I'd tell you a construction joke... โ€” ...but I'm still working on it.Dad Joke of the Day โ€” Sep 19https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-19bjd-daily-2026-09-19Sat, 19 Sep 2026 00:46:53 -0000I stayed up all night wondering where the sun went. โ€” Then it dawned on me.Dad Joke of the Day โ€” Sep 18https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-18bjd-daily-2026-09-18Fri, 18 Sep 2026 00:46:53 -0000What do you call a fish wearing a bowtie? โ€” Sofishticated.Dad Joke of the Day โ€” Sep 17https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-17bjd-daily-2026-09-17Thu, 17 Sep 2026 00:46:53 -0000I'm on a seafood diet. โ€” I see food and I eat it.Dad Joke of the Day โ€” Sep 16https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-16bjd-daily-2026-09-16Wed, 16 Sep 2026 00:46:53 -0000I don't trust stairs. โ€” They're always up to something.Dad Joke of the Day โ€” Sep 15https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-15bjd-daily-2026-09-15Tue, 15 Sep 2026 00:46:53 -0000I told my wife she was drawing her eyebrows too high. โ€” She looked surprised.Dad Joke of the Day โ€” Sep 14https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-14bjd-daily-2026-09-14Mon, 14 Sep 2026 00:46:53 -0000What's brown and sticky? โ€” A stick.Dad Joke of the Day โ€” Sep 13https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-13bjd-daily-2026-09-13Sun, 13 Sep 2026 00:46:53 -0000I used to hate facial hair. โ€” Then it grew on me.Dad Joke of the Day โ€” Sep 12https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-12bjd-daily-2026-09-12Sat, 12 Sep 2026 00:46:53 -0000I'm reading a book about anti-gravity. โ€” I just can't put it down.Dad Joke of the Day โ€” Sep 11https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-11bjd-daily-2026-09-11Fri, 11 Sep 2026 00:46:53 -0000Knock knock. Who's there? Aardvark. -Aardvark who? โ€” Aardvark a hundred miles for one of your smiles!Dad Joke of the Day โ€” Sep 10https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-10bjd-daily-2026-09-10Thu, 10 Sep 2026 00:34:11 -0000Knock knock. +Aardvark who? โ€” Aardvark a hundred miles for one of your smiles!Dad Joke of the Day โ€” Sep 10https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-10bjd-daily-2026-09-10Thu, 10 Sep 2026 00:46:53 -0000Knock knock. Who's there? Doris. -Doris who? โ€” Doris locked โ€” that's why I'm knocking!Dad Joke of the Day โ€” Sep 09https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-09bjd-daily-2026-09-09Wed, 09 Sep 2026 00:34:11 -0000Knock knock. +Doris who? โ€” Doris locked โ€” that's why I'm knocking!Dad Joke of the Day โ€” Sep 09https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-09bjd-daily-2026-09-09Wed, 09 Sep 2026 00:46:53 -0000Knock knock. Who's there? Nobel. -Nobel who? โ€” No bell โ€” that's why I knocked!Dad Joke of the Day โ€” Sep 08https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-08bjd-daily-2026-09-08Tue, 08 Sep 2026 00:34:11 -0000Knock knock. +Nobel who? โ€” No bell โ€” that's why I knocked!Dad Joke of the Day โ€” Sep 08https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-08bjd-daily-2026-09-08Tue, 08 Sep 2026 00:46:53 -0000Knock knock. Who's there? Gorilla. -Gorilla who? โ€” Gorilla cheese sandwich for me, I'm starving!Dad Joke of the Day โ€” Sep 07https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-07bjd-daily-2026-09-07Mon, 07 Sep 2026 00:34:11 -0000Knock knock. +Gorilla who? โ€” Gorilla cheese sandwich for me, I'm starving!Dad Joke of the Day โ€” Sep 07https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-07bjd-daily-2026-09-07Mon, 07 Sep 2026 00:46:53 -0000Knock knock. Who's there? Anita. -Anita who? โ€” Anita borrow your pencil!Dad Joke of the Day โ€” Sep 06https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-06bjd-daily-2026-09-06Sun, 06 Sep 2026 00:34:11 -0000Knock knock. +Anita who? โ€” Anita borrow your pencil!Dad Joke of the Day โ€” Sep 06https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-06bjd-daily-2026-09-06Sun, 06 Sep 2026 00:46:53 -0000Knock knock. Who's there? Alpaca. -Alpaca who? โ€” Alpaca the suitcase, you load up the car!Dad Joke of the Day โ€” Sep 05https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-05bjd-daily-2026-09-05Sat, 05 Sep 2026 00:34:11 -0000Knock knock. +Alpaca who? โ€” Alpaca the suitcase, you load up the car!Dad Joke of the Day โ€” Sep 05https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-05bjd-daily-2026-09-05Sat, 05 Sep 2026 00:46:53 -0000Knock knock. Who's there? Ken. -Ken who? โ€” Ken you open the door, please?Dad Joke of the Day โ€” Sep 04https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-04bjd-daily-2026-09-04Fri, 04 Sep 2026 00:34:11 -0000Knock knock. +Ken who? โ€” Ken you open the door, please?Dad Joke of the Day โ€” Sep 04https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-04bjd-daily-2026-09-04Fri, 04 Sep 2026 00:46:53 -0000Knock knock. Who's there? Dwayne. -Dwayne who? โ€” Dwayne the bathtub, I'm dwowning!Dad Joke of the Day โ€” Sep 03https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-03bjd-daily-2026-09-03Thu, 03 Sep 2026 00:34:11 -0000Knock knock. +Dwayne who? โ€” Dwayne the bathtub, I'm dwowning!Dad Joke of the Day โ€” Sep 03https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-03bjd-daily-2026-09-03Thu, 03 Sep 2026 00:46:53 -0000Knock knock. Who's there? Justin. -Justin who? โ€” Justin time for dinner!Dad Joke of the Day โ€” Sep 02https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-02bjd-daily-2026-09-02Wed, 02 Sep 2026 00:34:11 -0000Knock knock. -Who's there? -Europe. -Europe who? โ€” No, YOU'RE a poo!Dad Joke of the Day โ€” Sep 01https://bestdadjokes.lol/joke-of-the-day/?d=2026-09-01bjd-daily-2026-09-01Tue, 01 Sep 2026 00:34:11 -0000Knock knock. -Who's there? -Amish. -Amish who? โ€” Aww โ€” I miss you too!Dad Joke of the Day โ€” Aug 31https://bestdadjokes.lol/joke-of-the-day/?d=2026-08-31bjd-daily-2026-08-31Mon, 31 Aug 2026 00:34:11 -0000Knock knock. -Who's there? -Atch. -Atch who? โ€” Bless you!Dad Joke of the Day โ€” Aug 30https://bestdadjokes.lol/joke-of-the-day/?d=2026-08-30bjd-daily-2026-08-30Sun, 30 Aug 2026 00:34:11 -0000Knock knock. -Who's there? -Candice. -Candice who? โ€” Candice door open, or what?Dad Joke of the Day โ€” Aug 29https://bestdadjokes.lol/joke-of-the-day/?d=2026-08-29bjd-daily-2026-08-29Sat, 29 Aug 2026 00:34:11 -0000Knock knock. -Who's there? -Olive. -Olive who? โ€” Olive you and I miss you!Dad Joke of the Day โ€” Aug 28https://bestdadjokes.lol/joke-of-the-day/?d=2026-08-28bjd-daily-2026-08-28Fri, 28 Aug 2026 00:34:11 -0000Knock knock. -Who's there? -Harry. -Harry who? โ€” Harry up and open the door!Dad Joke of the Day โ€” Aug 27https://bestdadjokes.lol/joke-of-the-day/?d=2026-08-27bjd-daily-2026-08-27Thu, 27 Aug 2026 00:34:11 -0000Knock knock. -Who's there? -Interrupting cow. -Interrupting cโ€” โ€” MOO! \ No newline at end of file +Justin who? โ€” Justin time for dinner! \ No newline at end of file diff --git a/site/search/index.html b/site/search/index.html index 96a906bb..0fe80a98 100644 --- a/site/search/index.html +++ b/site/search/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -78,7 +82,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/sitemap.xml b/site/sitemap.xml index e0282758..c7c96c39 100644 --- a/site/sitemap.xml +++ b/site/sitemap.xml @@ -1,34 +1,34 @@ -https://bestdadjokes.lol/2026-09-16weekly1.0 -https://bestdadjokes.lol/dad-joke-generator/2026-09-16monthly0.8 -https://bestdadjokes.lol/joke-of-the-day/2026-09-16monthly0.8 -https://bestdadjokes.lol/search/2026-09-16monthly0.8 -https://bestdadjokes.lol/about/2026-09-16monthly0.8 -https://bestdadjokes.lol/contact/2026-09-16monthly0.8 -https://bestdadjokes.lol/privacy-policy/2026-09-16monthly0.8 -https://bestdadjokes.lol/terms/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/animals/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/food/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/work/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/school/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/sports/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/tech/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/family/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/weather/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/space/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/travel/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/halloween/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/christmas/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/knock-knock/2026-09-16monthly0.8 -https://bestdadjokes.lol/category/one-liners/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/coffee/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/cats/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/dogs/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/cows/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/money/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/sleep/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/love/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/birthday/2026-09-16monthly0.8 -https://bestdadjokes.lol/topic/winter/2026-09-16monthly0.8 +https://bestdadjokes.lol/2026-09-23weekly1.0 +https://bestdadjokes.lol/dad-joke-generator/2026-09-23monthly0.8 +https://bestdadjokes.lol/joke-of-the-day/2026-09-23monthly0.8 +https://bestdadjokes.lol/search/2026-09-23monthly0.8 +https://bestdadjokes.lol/about/2026-09-23monthly0.8 +https://bestdadjokes.lol/contact/2026-09-23monthly0.8 +https://bestdadjokes.lol/privacy-policy/2026-09-23monthly0.8 +https://bestdadjokes.lol/terms/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/animals/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/food/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/work/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/school/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/sports/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/tech/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/family/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/weather/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/space/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/travel/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/halloween/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/christmas/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/knock-knock/2026-09-23monthly0.8 +https://bestdadjokes.lol/category/one-liners/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/coffee/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/cats/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/dogs/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/cows/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/money/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/sleep/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/love/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/birthday/2026-09-23monthly0.8 +https://bestdadjokes.lol/topic/winter/2026-09-23monthly0.8 \ No newline at end of file diff --git a/site/static/main.js b/site/static/main.js index 63e0d5c3..9d12c97a 100644 --- a/site/static/main.js +++ b/site/static/main.js @@ -230,6 +230,16 @@ a.addEventListener('click', function () { var t = $('#navtoggle'); if (t) t.checked = false; + var ct = $('#cattoggle'); + if (ct) ct.checked = false; }); }); + + /* ---- close category dropdown on outside click ---- */ + document.addEventListener('click', function (e) { + var ct = $('#cattoggle'); + if (ct && ct.checked && !e.target.closest('.cat-dropdown')) { + ct.checked = false; + } + }); })(); diff --git a/site/static/style.css b/site/static/style.css index 86ce4f30..3e3445f5 100644 --- a/site/static/style.css +++ b/site/static/style.css @@ -38,9 +38,30 @@ p.page-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 46rem; margi .site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 7px 12px; border-radius: 999px; } .site-nav a:hover { background: var(--cream); } .site-nav a.on { background: var(--ink); color: var(--cream); } -.catbar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; } -.catbar a { flex: 0 0 auto; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .86rem; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 11px; white-space: nowrap; } -.catbar a:hover { background: var(--brand2); } +/* category dropdown */ +.cattoggle { display: none; } +.cat-dropdown { position: relative; } +.cat-trigger { + display: inline-block; text-decoration: none; color: var(--ink); font-weight: 600; + padding: 7px 12px; border-radius: 999px; cursor: pointer; user-select: none; +} +.cat-trigger:hover { background: var(--cream); } +.cat-panel { + display: none; position: absolute; right: 0; top: 100%; margin-top: 8px; + background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); + box-shadow: 5px 5px 0 var(--ink); padding: 16px 18px; z-index: 60; + width: max-content; max-width: min(520px, 90vw); + flex-wrap: wrap; gap: 8px; +} +.cat-panel a { + text-decoration: none; color: var(--ink); font-weight: 600; font-size: .86rem; + background: var(--cream); border: 1.5px solid var(--ink); border-radius: 999px; + padding: 4px 12px; white-space: nowrap; +} +.cat-panel a:hover { background: var(--brand2); } +.cat-dropdown:hover .cat-panel, +.cat-dropdown:focus-within .cat-panel, +.cattoggle:checked ~ .cat-panel { display: flex; } .navtoggle, .navburger { display: none; } /* hero */ @@ -165,5 +186,8 @@ body.js-ux .joke-punch:not(.revealed):hover { filter: blur(3px); } } .navtoggle:checked ~ .site-nav { display: flex; } .site-nav { display: none; flex-direction: column; width: 100%; padding-bottom: 12px; } - .catbar a:first-child { margin-left: 2px; } + .cat-dropdown { position: static; } + .cat-panel { position: static; margin-top: 8px; width: 100%; max-width: 100%; box-shadow: none; border: none; border-top: 1.5px solid var(--ink); border-radius: 0; padding: 10px 0; } + .cat-dropdown:hover .cat-panel { display: none; } + .cattoggle:checked ~ .cat-panel { display: flex; } } diff --git a/site/terms/index.html b/site/terms/index.html index 696c1acf..bb6052b6 100644 --- a/site/terms/index.html +++ b/site/terms/index.html @@ -14,7 +14,7 @@ - + @@ -30,17 +30,21 @@ Joke of the Day Search About + -

Terms of Use

-

Last updated: September 16, 2026

+

Last updated: September 23, 2026

By using BestDadJokes.lol you agree to the following terms. Reading them aloud in a dad voice is optional but encouraged.

Use of content

The jokes on this site are provided for personal, non-commercial enjoyment. Share them freely at dinner tables, offices, and group chats. If you want to republish jokes in bulk or use this site commercially, contact us first โ€” we're reasonable people.

@@ -83,7 +87,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/birthday/index.html b/site/topic/birthday/index.html index 1e13fe9f..dc298a0b 100644 --- a/site/topic/birthday/index.html +++ b/site/topic/birthday/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/cats/index.html b/site/topic/cats/index.html index 814c15b2..c6149f99 100644 --- a/site/topic/cats/index.html +++ b/site/topic/cats/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/coffee/index.html b/site/topic/coffee/index.html index eb52d436..52809e74 100644 --- a/site/topic/coffee/index.html +++ b/site/topic/coffee/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/cows/index.html b/site/topic/cows/index.html index 449f52de..a6830477 100644 --- a/site/topic/cows/index.html +++ b/site/topic/cows/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/dogs/index.html b/site/topic/dogs/index.html index 17db8950..8c60d46e 100644 --- a/site/topic/dogs/index.html +++ b/site/topic/dogs/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/love/index.html b/site/topic/love/index.html index 7e7ded02..40e37e7b 100644 --- a/site/topic/love/index.html +++ b/site/topic/love/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/money/index.html b/site/topic/money/index.html index c463372b..70539d7e 100644 --- a/site/topic/money/index.html +++ b/site/topic/money/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/sleep/index.html b/site/topic/sleep/index.html index b84ff686..5b7c8a70 100644 --- a/site/topic/sleep/index.html +++ b/site/topic/sleep/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/site/topic/winter/index.html b/site/topic/winter/index.html index f3cec767..901fcc53 100644 --- a/site/topic/winter/index.html +++ b/site/topic/winter/index.html @@ -14,7 +14,7 @@ - + @@ -30,11 +30,15 @@ Joke of the Day Search About + -
@@ -77,7 +81,7 @@

ยฉ 2026 Best Dad Jokes ยท Family-friendly jokes, dad-certified since the Big Dad Energy era.

- - + + \ No newline at end of file diff --git a/static/main.js b/static/main.js index 63e0d5c3..9d12c97a 100644 --- a/static/main.js +++ b/static/main.js @@ -230,6 +230,16 @@ a.addEventListener('click', function () { var t = $('#navtoggle'); if (t) t.checked = false; + var ct = $('#cattoggle'); + if (ct) ct.checked = false; }); }); + + /* ---- close category dropdown on outside click ---- */ + document.addEventListener('click', function (e) { + var ct = $('#cattoggle'); + if (ct && ct.checked && !e.target.closest('.cat-dropdown')) { + ct.checked = false; + } + }); })(); diff --git a/static/style.css b/static/style.css index 9afbd164..3e3445f5 100644 --- a/static/style.css +++ b/static/style.css @@ -38,9 +38,30 @@ p.page-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 46rem; margi .site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 7px 12px; border-radius: 999px; } .site-nav a:hover { background: var(--cream); } .site-nav a.on { background: var(--ink); color: var(--cream); } -.catbar { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; } -.catbar a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .86rem; background: var(--cream); border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 11px; white-space: nowrap; } -.catbar a:hover { background: var(--brand2); } +/* category dropdown */ +.cattoggle { display: none; } +.cat-dropdown { position: relative; } +.cat-trigger { + display: inline-block; text-decoration: none; color: var(--ink); font-weight: 600; + padding: 7px 12px; border-radius: 999px; cursor: pointer; user-select: none; +} +.cat-trigger:hover { background: var(--cream); } +.cat-panel { + display: none; position: absolute; right: 0; top: 100%; margin-top: 8px; + background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); + box-shadow: 5px 5px 0 var(--ink); padding: 16px 18px; z-index: 60; + width: max-content; max-width: min(520px, 90vw); + flex-wrap: wrap; gap: 8px; +} +.cat-panel a { + text-decoration: none; color: var(--ink); font-weight: 600; font-size: .86rem; + background: var(--cream); border: 1.5px solid var(--ink); border-radius: 999px; + padding: 4px 12px; white-space: nowrap; +} +.cat-panel a:hover { background: var(--brand2); } +.cat-dropdown:hover .cat-panel, +.cat-dropdown:focus-within .cat-panel, +.cattoggle:checked ~ .cat-panel { display: flex; } .navtoggle, .navburger { display: none; } /* hero */ @@ -165,5 +186,8 @@ body.js-ux .joke-punch:not(.revealed):hover { filter: blur(3px); } } .navtoggle:checked ~ .site-nav { display: flex; } .site-nav { display: none; flex-direction: column; width: 100%; padding-bottom: 12px; } - .catbar a:first-child { margin-left: 2px; } + .cat-dropdown { position: static; } + .cat-panel { position: static; margin-top: 8px; width: 100%; max-width: 100%; box-shadow: none; border: none; border-top: 1.5px solid var(--ink); border-radius: 0; padding: 10px 0; } + .cat-dropdown:hover .cat-panel { display: none; } + .cattoggle:checked ~ .cat-panel { display: flex; } }