diff --git a/build.py b/build.py
index 6816b8e0..6b6c168b 100644
--- a/build.py
+++ b/build.py
@@ -106,6 +106,13 @@ TOPICS = [
{"slug": "work-dad-jokes", "name": "Work Dad Jokes", "emoji": "🏢",
"intro": "Break the ice at your next meeting with clean office dad jokes. Workplace-safe humor, corporate puns, and harmless water cooler groaners.",
"keywords": r"\b(work|office|job|boss|meeting|employee|coworker|business|company|career)\b"},
+
+ {"slug": "software-engineers", "name": "Dad Jokes About Software Engineers", "emoji": "💻",
+ "intro": "Did you hear about the programmer who got locked out of their house? They lost their keys! These software engineer dad jokes are fully debugged and ready to compile into instant groans.",
+ "keywords": r"\b(software|engineer|code|coding|programmer|dev|developer|bug|python|java|html|internet|wifi|tech)\b"},
+ {"slug": "clean-dad-jokes-for-5-year-olds", "name": "Clean Dad Jokes for 5 Year Olds", "emoji": "👧",
+ "intro": "Why did the toddler cross the playground? To get to the other slide! These clean dad jokes for 5-year-olds are kindergarten-approved and perfectly tailored for the juice-box crowd.",
+ "keywords": r"\b(kid|child|children|kindergarten|toddler|play|preschool|toy|five|5)\b"},
{"slug": "eyes", "name": "Dad Jokes About Eyes", "emoji": "👀",
"intro": "Eye see what you did there! These dad jokes about eyes are a sight for sore... well, you know.",
"keywords": r"\b(eyes?|see|sight|glasses|vision)\b"}
@@ -547,10 +554,10 @@ def page_category(slug):
"""
title = '%s - Funny Dad Joke' % esc(j['setup'])
if len(title) > 60:
@@ -977,8 +986,10 @@ Best Dad Jokes provides over 430 hand-curated, school-safe dad jokes, puns, and
sm = ['',
'']
for p in pages:
+ freq = 'weekly' if p == '/' or '/topic/' in p or '/category/' in p else 'monthly'
+ pri = '1.0' if p == '/' else '0.9' if '/topic/' in p or '/category/' in p else '0.7'
sm.append('%s%s%s%s%s'
- % (SITE_URL, p, today, 'weekly' if p == '/' else 'monthly', '1.0' if p == '/' else '0.8'))
+ % (SITE_URL, p, today, freq, pri))
sm.append('')
write('sitemap.xml', '\n'.join(sm) + '\n')