site logo else show title

This commit is contained in:
Espen Antonsen 2009-08-10 16:30:49 +02:00
parent 4ab7efbf2a
commit 59beb8034b

View file

@ -22,8 +22,7 @@
<% end %>
</div>
<h1>
<%= APP_CONFIG[:site_name] %>
<%= (image_tag APP_CONFIG[:site_logo]) if APP_CONFIG[:site_logo] %>
<%= if APP_CONFIG[:site_logo] (image_tag APP_CONFIG[:site_logo]) else APP_CONFIG[:site_name] %>
</h1>
<form action="/albums" method="get" id="search">
<input type="text" name="q" class="textfie.d"/>