Allow config to define home page image URL

This commit is contained in:
Lance Edgar 2017-03-30 22:19:44 -05:00
parent 6156a80db0
commit a3d0966139
2 changed files with 9 additions and 6 deletions

View file

@ -1,4 +1,4 @@
## -*- coding: utf-8 -*-
## -*- coding: utf-8; -*-
<%inherit file="/base.mako" />
<%def name="title()">Home</%def>
@ -16,6 +16,6 @@
</%def>
<div class="logo">
${h.image(request.static_url('tailbone:static/img/home_logo.png'), "Rattail Logo")}
<h1>Welcome to Tailbone</h1>
${h.image(image_url, "{} logo".format(capture(self.app_title)), id='logo', width=500)}
<h1>Welcome to ${self.app_title()}</h1>
</div>