summaryrefslogtreecommitdiff
path: root/_includes/pic-left-text-right.html
blob: 0f4d6100253c229d1780d08a4a705a7ab67cd264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- You can call this include file with:
     {% include pic-left-text-right.html
        title="title"
	image_path="/path/to/pic.extension"
	width="50%"
	description="Description"
%}
  -->
<div style="clear: both;">
  <div style="float: left; margin-right -1em;">
    <img src="{{ include.image_path }}"
	 alt="{{ include.title }}"
	 style="max-width: {{ include.width }}"

	 align="left">
    <div style="text-right">
      {{ include.description | markdownify }}
    </div>
  </div>
</div>