comparison mercurial/hgweb/hgweb_mod.py @ 34587:b50c036494dc

configitems: register the 'web.motd' config
author Boris Feld <boris.feld@octobus.net>
date Wed, 11 Oct 2017 03:36:44 +0200
parents c364f3f73634
children 0d9928a67254
comparison
equal deleted inserted replaced
34586:c364f3f73634 34587:b50c036494dc
175 staticurl += '/' 175 staticurl += '/'
176 176
177 # some functions for the templater 177 # some functions for the templater
178 178
179 def motd(**map): 179 def motd(**map):
180 yield self.config('web', 'motd', '') 180 yield self.config('web', 'motd')
181 181
182 # figure out which style to use 182 # figure out which style to use
183 183
184 vars = {} 184 vars = {}
185 styles, (style, mapfile) = getstyle(req, self.config, 185 styles, (style, mapfile) = getstyle(req, self.config,