Handle cats and syndications with better wrapping behaviour - doesn't work as well as I'd hoped
This commit is contained in:
parent
f7d7936499
commit
0adc7a0d5e
2 changed files with 5 additions and 2 deletions
|
@ -37,12 +37,14 @@
|
||||||
|
|
||||||
{% for c in entry.cats.all() %}
|
{% for c in entry.cats.all() %}
|
||||||
{{i}}<a class="p-category card-link" href="{{ c.url }}">
|
{{i}}<a class="p-category card-link" href="{{ c.url }}">
|
||||||
{{i}}<i class="fas fa-paw" aria-hidden="true"></i> {{ c.name }}
|
{{i}}<i class="fas fa-paw" aria-hidden="true"></i>
|
||||||
|
{{i}}{{ c.name }}
|
||||||
{{i}}</a>
|
{{i}}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for s in entry.syndications.all() %}
|
{% for s in entry.syndications.all() %}
|
||||||
{{i}}<a class="u-syndication card-link" href="{{ s.url }}">
|
{{i}}<a class="u-syndication card-link" href="{{ s.url }}">
|
||||||
{{i}}<i class="{{ s.profile.site.icon }}" aria-hidden="true"></i> {{ s.profile }}
|
{{i}}<i class="{{ s.profile.site.icon }}" aria-hidden="true"></i>
|
||||||
|
{{i}}{{ s.profile }}
|
||||||
{{i}}</a>
|
{{i}}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{{i}}</div>
|
{{i}}</div>
|
||||||
|
|
|
@ -51,4 +51,5 @@ ol.entries, div.entry
|
||||||
> :last-child
|
> :last-child
|
||||||
margin-bottom 0
|
margin-bottom 0
|
||||||
.card-link
|
.card-link
|
||||||
|
display inline-block
|
||||||
font-size 0.8rem
|
font-size 0.8rem
|
||||||
|
|
Loading…
Reference in a new issue