Skip to content
Snippets Groups Projects
Commit 68729a26 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Merge branch 'new-image' into 'develop'

feat: added a place for addtional image

See merge request !51
parents 14daee0d 440e497a
No related branches found
No related tags found
No related merge requests found
...@@ -7,24 +7,27 @@ layout: default ...@@ -7,24 +7,27 @@ layout: default
<div id="left-column"> <div id="left-column">
<h2>{{ page.section }}</h2> <h2>{{ page.section }}</h2>
<ul> <ul>
{% for link in page.pages %} {%- for link in page.pages -%}
<li> <li>
<a href="{{ link.href | relative_url }}" <a href="{{ link.href | relative_url }}"
class="{% if link.active %}active {% endif %}{% if link.smaller %}smaller {% endif %}"> class="{% if link.active %}active {% endif %}{% if link.smaller %}smaller {% endif %}">
{{ link.title }} {{ link.title }}
</a> </a>
</li> </li>
{% endfor %} {%- endfor -%}
</ul> </ul>
</div> </div>
<div id="right-column" {%- if page.wider -%}class="right-column-wider"{%- endif -%}> <div id="right-column" {%- if page.wider -%}class="right-column-wider"{%- endif -%}>
<header> <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 }} {{ page.title | escape }}
{% if page.date %}<small>({{ page.date | date: '%F' }})</small>{% endif %} {%- if page.date -%}<small>({{ page.date | date: '%F' }})</small>{%- endif -%}
</h1> </h1>
</header> </header>
{%- if page.image -%}
<img class="event-small-image" src="{{ page.image | relative_url }}" />
{%- endif -%}
{{ content }} {{ content }}
</div> </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme" spec.name = "jekyll-elixir-theme"
spec.version = "0.9.28" spec.version = "0.9.29"
spec.authors = ["jacek.lebioda"] spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"] spec.email = ["jacek.lebioda@uni.lu"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment