Add drawings

This commit is contained in:
Jeremy Thomas
2018-04-11 12:54:56 +01:00
parent 421ec20b7a
commit 77c3aa5c98
22 changed files with 158 additions and 26 deletions

View File

@@ -1,6 +1,6 @@
{% assign twUrl = "https://twitter.com/" | append: include.tweet.username | append: "/status/" | append: include.tweet.id %}
<article class="bd-tw {{ include.modifier }}">
<article class="bd-tw {{ include.modifier }} {% if include.drawing_id %}bd-has-drawing{% endif %}">
<header class="bd-tw-header">
<a class="bd-tw-author" href="{{ twUrl }}" target="_blank">
<figure class="bd-tw-avatar">
@@ -54,4 +54,12 @@
</a>
</li>
</ul>
{% if include.drawing_id %}
{% include elements/drawing.html
id=include.drawing_id
width=include.drawing_width
height=include.drawing_height
%}
{% endif %}
</article>