Quarantine: Remove page class from interstitials

This commit is contained in:
Florence Yeun
2015-08-07 14:47:12 -07:00
parent 57972a8718
commit abfa2b5911

View File

@@ -2476,6 +2476,12 @@ class InterstitialPage(BoringPage):
content=content,
)
def page_classes(self):
classes = super(BoringPage, self).page_classes()
if 'quarantine' in classes:
classes.remove('quarantine')
return classes
class Interstitial(Templated):
"""Generic template for rendering an interstitial page's content."""