diff options
author | Karl Hallsby <karl@hallsby.com> | 2020-09-25 16:40:11 -0500 |
---|---|---|
committer | Karl Hallsby <karl@hallsby.com> | 2020-09-25 16:40:11 -0500 |
commit | 237dd21a62b0b4528d9b104c9aac67c0dfae5ca9 (patch) | |
tree | b256199fe56fdad2148c0c092c759477fecd5e36 /_includes | |
parent | af6d81ac2d7f0afd33d8b153507064a28e5e5969 (diff) |
Add an html "snippet" to format pics to the left with text to right
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/pic-left-text-right.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/_includes/pic-left-text-right.html b/_includes/pic-left-text-right.html new file mode 100644 index 0000000..3d75740 --- /dev/null +++ b/_includes/pic-left-text-right.html @@ -0,0 +1,12 @@ +<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> |