mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Proxy stylesheet hash in DefaultSR for front page stylin'.
Without a truthy stylesheet_hash property, the reddit.html template will not include the stylesheet.
This commit is contained in:
@@ -1151,6 +1151,10 @@ class DefaultSR(_DefaultSR):
|
||||
def stylesheet_contents(self):
|
||||
return self._base.stylesheet_contents if self._base else ""
|
||||
|
||||
@property
|
||||
def stylesheet_hash(self):
|
||||
return self._base.stylesheet_hash if self._base else ""
|
||||
|
||||
@property
|
||||
def sponsorship_url(self):
|
||||
return self._base.sponsorship_url if self._base else ""
|
||||
|
||||
Reference in New Issue
Block a user