site logo else show title

This commit is contained in:
Espen Antonsen 2009-08-10 16:32:39 +02:00
parent 59beb8034b
commit a976754781

View file

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