Move cats and syndications back into the card, shrinking them down to avoid taking up too much vertical space
This commit is contained in:
parent
dee64f130e
commit
778a9c870d
2 changed files with 15 additions and 12 deletions
|
@ -20,18 +20,6 @@
|
||||||
{{i}}<i class="fas fa-link" aria-hidden="true"></i>
|
{{i}}<i class="fas fa-link" aria-hidden="true"></i>
|
||||||
{{i}}{{ entry.short_url | friendly_url }}
|
{{i}}{{ entry.short_url | friendly_url }}
|
||||||
{{i}}</a>
|
{{i}}</a>
|
||||||
{% for c in entry.cats.all() %}
|
|
||||||
{{i}}<a class="p-category" href="{{ c.url }}">
|
|
||||||
{{i}}<i class="fas fa-paw" aria-hidden="true"></i>
|
|
||||||
{{i}}{{ c.name }}
|
|
||||||
{{i}}</a>
|
|
||||||
{% endfor %}
|
|
||||||
{% for s in entry.syndications.all() %}
|
|
||||||
{{i}}<a class="u-syndication" href="{{ s.url }}">
|
|
||||||
{{i}}<i class="{{ s.profile.site.icon }}" aria-hidden="true"></i>
|
|
||||||
{{i}}{{ s.profile }}
|
|
||||||
{{i}}</a>
|
|
||||||
{% endfor %}
|
|
||||||
{{i}}</aside>
|
{{i}}</aside>
|
||||||
|
|
||||||
{{i}}<div class="card">
|
{{i}}<div class="card">
|
||||||
|
@ -46,6 +34,19 @@
|
||||||
{{i}}<div class="e-content">
|
{{i}}<div class="e-content">
|
||||||
{{i}}{{ entry.content | markdown }}
|
{{i}}{{ entry.content | markdown }}
|
||||||
{{i}}</div>
|
{{i}}</div>
|
||||||
|
|
||||||
|
{% for c in entry.cats.all() %}
|
||||||
|
{{i}}<a class="p-category card-link" href="{{ c.url }}">
|
||||||
|
{{i}}<i class="fas fa-paw" aria-hidden="true"></i>
|
||||||
|
{{i}}{{ c.name }}
|
||||||
|
{{i}}</a>
|
||||||
|
{% endfor %}
|
||||||
|
{% for s in entry.syndications.all() %}
|
||||||
|
{{i}}<a class="u-syndication card-link" href="{{ s.url }}">
|
||||||
|
{{i}}<i class="{{ s.profile.site.icon }}" aria-hidden="true"></i>
|
||||||
|
{{i}}{{ s.profile }}
|
||||||
|
{{i}}</a>
|
||||||
|
{% endfor %}
|
||||||
{{i}}</div>
|
{{i}}</div>
|
||||||
{{i}}</div>
|
{{i}}</div>
|
||||||
|
|
||||||
|
|
|
@ -42,3 +42,5 @@ ol.entries, div.entry
|
||||||
max-width 100%
|
max-width 100%
|
||||||
> :last-child
|
> :last-child
|
||||||
margin-bottom 0
|
margin-bottom 0
|
||||||
|
.card-link
|
||||||
|
font-size 0.8rem
|
||||||
|
|
Loading…
Reference in a new issue