Browse Source

Don't force logo image to be in images/

pull/307/head
Simon Conseil 8 years ago
parent
commit
a368a69672
  1. 10
      sigal/templates/sigal.conf.py
  2. 4
      sigal/themes/colorbox/templates/base.html

10
sigal/templates/sigal.conf.py

@ -222,11 +222,11 @@ ignore_files = []
# The default is 3 columns (176px).
# colorbox_column_size = 3
# Site Logo
# Use a logo file in the sidebar
# You must place the logo file into the theme's static images folder, which can be done using files_to_copy
# files_to_copy = (('extra/logo.png', 'static/images/logo.png'))
# Site Logo - Use a logo file in the sidebar
# Only for colorbox currently, it could be adapted for other themes
# You must place the logo file into the theme's static images folder, which
# can be done using 'files_to_copy':
# files_to_copy = (('extra/logo.png', 'static/logo.png'))
# site_logo = 'logo.png'
# --------

4
sigal/themes/colorbox/templates/base.html

@ -21,8 +21,8 @@
<div class="three columns">
<div class="sidebar">
<h1><a href="{{ album.index_url }}">
{% if settings.site_logo %}
<img src="{{ theme.url }}/images/{{ settings.site_logo }}" alt="{{ index_title }}">
{% if settings.site_logo %}
<img src="{{ theme.url }}/{{ settings.site_logo }}" alt="{{ index_title }}">
{% else %}
{{ index_title }}
{% endif %}

Loading…
Cancel
Save