##// END OF EJS Templates
hgweb: Change default style to paper
Matt Mackall -
r7337:feb0b76b default
parent child Browse files
Show More
@@ -242,7 +242,7 b' class hgweb(object):'
242
242
243 # figure out which style to use
243 # figure out which style to use
244
244
245 style = self.config("web", "style", "")
245 style = self.config("web", "style", "paper")
246 if 'style' in req.form:
246 if 'style' in req.form:
247 style = req.form['style'][0]
247 style = req.form['style'][0]
248 mapfile = style_map(self.templatepath, style)
248 mapfile = style_map(self.templatepath, style)
@@ -25,7 +25,7 b' class hgwebdir(object):'
25 self.parentui = parentui or ui.ui(report_untrusted=False,
25 self.parentui = parentui or ui.ui(report_untrusted=False,
26 interactive = False)
26 interactive = False)
27 self.motd = None
27 self.motd = None
28 self.style = None
28 self.style = 'paper'
29 self.stripecount = None
29 self.stripecount = None
30 self.repos_sorted = ('name', False)
30 self.repos_sorted = ('name', False)
31 self._baseurl = None
31 self._baseurl = None
General Comments 0
You need to be logged in to leave comments. Login now