mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-04-26 22:34:52 +02:00
Adds sunflower theme detection (#215)
This commit is contained in:
parent
abb6fa5460
commit
e59b05fc6c
|
@ -76,6 +76,9 @@ class Checker(AbstractChecker):
|
||||||
'/themes/urwahl3000' in page_content['content']):
|
'/themes/urwahl3000' in page_content['content']):
|
||||||
generator = 'wordpress-urwahl'
|
generator = 'wordpress-urwahl'
|
||||||
|
|
||||||
|
elif ('/themes/sunflower' in page_content['content']):
|
||||||
|
generator = 'wordpress-sunflower'
|
||||||
|
|
||||||
elif ('josephknowsbest' in page_content['content'] or
|
elif ('josephknowsbest' in page_content['content'] or
|
||||||
'Joseph-knows-best' in page_content['content']):
|
'Joseph-knows-best' in page_content['content']):
|
||||||
generator = 'wordpress-josephknowsbest'
|
generator = 'wordpress-josephknowsbest'
|
||||||
|
|
Loading…
Reference in a new issue