Commit cf4d5389 authored by kez's avatar kez
Browse files

create additional slide templates for image slides

parent 1d0cd749
......@@ -9,6 +9,22 @@
<h5>{{ this.author }}</h5>
{% endif %}
</section>
{% elif this.slide_layout == "image_left" %}
<section class="slide-image-left" {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
<h2>{{ this.title }}</h2>
{% if this.image %}
<div style="display: inline-block; vertical-align: top; width: 46%; text-align: center;"><img data-src="{{ this.image }}"></div>
{% endif %}
{{ this.description }}
</section>
{% elif this.slide_layout == "image_right" %}
<section class="slide-image-right" {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
<h2>{{ this.title }}</h2>
{{ this.description }}
{% if this.image %}
<div style="display: inline-block; vertical-align: top; width: 46%; text-align: center;"><img data-src="{{ this.image }}"></div>
{% endif %}
</section>
{% else %}
<section {% if this.background != "white" %} data-background-color="{{ this.background }}" {% else %} data-background-color="white" {% endif %} >
<h2>{{ this.title }}</h2>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment