mirror of
http://nostr-git-proxy.forgejo.svc.cluster.local/git/45387ca441053e230b2126802005eb03767ab59d84555e8bac86b6e7def14e27/bestdadjokes
synced 2026-11-03 07:26:59 +00:00
fix(build): add trailing newline to sitemap
All checks were successful
Build and Deploy / deploy (push) Successful in 16s
All checks were successful
Build and Deploy / deploy (push) Successful in 16s
This commit is contained in:
parent
c6c1a43ec2
commit
d48a570d8a
3 changed files with 3 additions and 3 deletions
2
build.py
2
build.py
|
|
@ -602,7 +602,7 @@ def build():
|
|||
sm.append('<url><loc>%s%s</loc><lastmod>%s</lastmod><changefreq>%s</changefreq><priority>%s</priority></url>'
|
||||
% (SITE_URL, p, today, 'weekly' if p == '/' else 'monthly', '1.0' if p == '/' else '0.8'))
|
||||
sm.append('</urlset>')
|
||||
write('sitemap.xml', '\n'.join(sm))
|
||||
write('sitemap.xml', '\n'.join(sm) + '\n')
|
||||
|
||||
# RSS: dad joke of the day feed, last 21 days
|
||||
from email.utils import formatdate
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"setup": "What do you call a mountain that's really funny?", "punchline": "Hill-arious.", "type": "qa", "category": "travel", "source": "https://bestdadjokes.lol/category/travel/#joke-171"}
|
||||
{"setup": "What happened to the man who put $20 into a vending machine?", "punchline": "Nothing — he's still waiting for his two cents.", "type": "qa", "category": "work", "source": "https://bestdadjokes.lol/category/work/#joke-297"}
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue