Fixup lodgeit templates to use @global vars
Change-Id: I2948ef60f0de0c5d3b6288b915a44eb7c66c52fa
This commit is contained in:
parent
c66446aa33
commit
ed82b3fc13
@ -20,9 +20,9 @@
|
||||
<div id="header">
|
||||
<h1>
|
||||
<% if has_variable?("image") then %>
|
||||
<img src="/static/<%= image %>" style="padding-bottom: 10px; margin-left: 10px;" alt="<%= name.capitalize %> Pastebin" />
|
||||
<img src="/static/<%= @image %>" style="padding-bottom: 10px; margin-left: 10px;" alt="<%= @name.capitalize %> Pastebin" />
|
||||
<% else %>
|
||||
<%= name.capitalize %> Pastebin
|
||||
<%= @name.capitalize %> Pastebin
|
||||
<% end %>
|
||||
</h1>
|
||||
</div>
|
||||
|
@ -7,7 +7,7 @@ from lodgeit import local
|
||||
from lodgeit.application import make_app
|
||||
from lodgeit.database import session
|
||||
|
||||
dburi = 'drizzle://127.0.0.1:4427/<%= name %>'
|
||||
dburi = 'drizzle://127.0.0.1:4427/<%= @name %>'
|
||||
|
||||
SECRET_KEY = 'no secret key'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user