Show More
@@ -86,6 +86,7 b' class hgwebdir(object):' | |||
|
86 | 86 | encoding.encoding = self.ui.config('web', 'encoding', |
|
87 | 87 | encoding.encoding) |
|
88 | 88 | self.style = self.ui.config('web', 'style', 'paper') |
|
89 | self.templatepath = self.ui.config('web', 'templates', None) | |
|
89 | 90 | self.stripecount = self.ui.config('web', 'stripes', 1) |
|
90 | 91 | if self.stripecount: |
|
91 | 92 | self.stripecount = int(self.stripecount) |
@@ -315,7 +316,7 b' class hgwebdir(object):' | |||
|
315 | 316 | config('web', 'style'), |
|
316 | 317 | 'paper' |
|
317 | 318 | ) |
|
318 | style, mapfile = templater.stylemap(styles) | |
|
319 | style, mapfile = templater.stylemap(styles, self.templatepath) | |
|
319 | 320 | if style == styles[0]: |
|
320 | 321 | vars['style'] = style |
|
321 | 322 |
General Comments 0
You need to be logged in to leave comments.
Login now