2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-22 13:26:14 +01:00

Mess around with card formatting some more

This commit is contained in:
Jason McBrayer 2019-03-28 07:58:31 -04:00
parent 7e1ade6d70
commit e0bc0eba26

View File

@ -54,27 +54,27 @@
{% if toot.card %}
<div class="card">
<div class="card-header">
<div class="card-header-title">
<a href="{{ toot.card.url }}"> {{ toot.card.title }} </a>
</div>
</div>
{% if toot.card.description %}
<div class="card-content columns">
{% if toot.card.image %}
<div class="column is-one-third">
<a href="{{ toot.card.url }}">
<img alt="{{ toot.card.title }}"
src="{{ toot.card.image }}"
class="is-max-256">
class="is-max-128">
</a>
</div>
{% endif %}
<div class="column is-two-thirds">
<p>
<strong>
<a href="{{ toot.card.url }}">
{{ toot.card.title }}
</a>
</strong>
<p>{{ toot.card.description }}</p>
</div>
</div>
{% endif %}
</div>
{% endif %}