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:
Max Goodman
2013-03-14 00:30:53 -07:00
parent cd46d13ef3
commit 4358b3c11c

View File

@@ -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 ""