Allow config to define home page image URL
This commit is contained in:
parent
6156a80db0
commit
a3d0966139
2 changed files with 9 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue