Browse Source

Add SiteInfo for WordPress (wordpress.com)

merge-requests/85/head
Deimos 5 years ago
parent
commit
6bc388f3aa
  1. 3
      tildes/tildes/lib/site_info.py

3
tildes/tildes/lib/site_info.py

@ -44,6 +44,9 @@ SITE_INFO_BY_DOMAIN = {
"vimeo.com": SiteInfo(
"Vimeo", show_author=True, content_type=TopicContentType.VIDEO
),
"wordpress.com": SiteInfo(
"WordPress", show_author=True, content_type=TopicContentType.ARTICLE
),
"youtube.com": SiteInfo(
"YouTube", show_author=True, content_type=TopicContentType.VIDEO
),

Loading…
Cancel
Save