diff --git a/_layouts/left_col.html b/_layouts/left_col.html index 1a2dcad973f8e05f449c95dded6cb4bc095b3316..1eb7ca5d115a12a451c6becc3c4dd9de559d74d8 100644 --- a/_layouts/left_col.html +++ b/_layouts/left_col.html @@ -7,24 +7,27 @@ layout: default <div id="left-column"> <h2>{{ page.section }}</h2> <ul> - {% for link in page.pages %} + {%- for link in page.pages -%} <li> <a href="{{ link.href | relative_url }}" class="{% if link.active %}active {% endif %}{% if link.smaller %}smaller {% endif %}"> {{ link.title }} </a> </li> - {% endfor %} + {%- endfor -%} </ul> </div> <div id="right-column" {%- if page.wider -%}class="right-column-wider"{%- endif -%}> <header> - <h1 {% if page.section contains "Events" %}class="no-caps"{% endif %} data-section="{{ page.section }}"> + <h1 {%- if page.section contains "Events" -%}class="no-caps"{%- endif -%} data-section="{{ page.section }}"> {{ page.title | escape }} - {% if page.date %}<small>({{ page.date | date: '%F' }})</small>{% endif %} + {%- if page.date -%}<small>({{ page.date | date: '%F' }})</small>{%- endif -%} </h1> </header> + {%- if page.image -%} + <img class="event-small-image" src="{{ page.image | relative_url }}" /> + {%- endif -%} {{ content }} </div> diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index 978b5c9a7cc11824f244dd48731764875f95f2a2..c3ba7a7b1038b516ca44722cc8cbdf0493f33d10 100644 --- a/elixir-theme.gemspec +++ b/elixir-theme.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "jekyll-elixir-theme" - spec.version = "0.9.28" + spec.version = "0.9.29" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"]