site logo else show title
This commit is contained in:
parent
59beb8034b
commit
a976754781
1 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,11 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<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>
|
||||
<form action="/albums" method="get" id="search">
|
||||
<input type="text" name="q" class="textfie.d"/>
|
||||
|
|
Loading…
Reference in a new issue