Блоги #1

Merged
rndtrash merged 64 commits from feature-blogs into master 2025-10-22 08:44:56 +03:00
Showing only changes of commit 0a60d80167 - Show all commits

View file

@ -45,7 +45,7 @@ function getIconFromUrl(url: URL): string | undefined {
const href = url.href; const href = url.href;
if (href.startsWith('mailto:')) if (href.startsWith('mailto:'))
return 'email'; return 'email';
if (href.endsWith('/rss.xml') || href.endsWith('/atom.rss')) if (href.endsWith('/rss.xml') || href.endsWith('/atom.rss') || href.endsWith('.atom'))
return 'rss'; return 'rss';
const hostname = url.hostname; const hostname = url.hostname;