Handle cats and syndications with better wrapping behaviour -   doesn't work as well as I'd hoped

This commit is contained in:
Danielle McLean 2018-06-28 16:37:19 +10:00
parent f7d7936499
commit 0adc7a0d5e
Signed by untrusted user: 00dani
GPG key ID: 8EB789DDF3ABD240
2 changed files with 5 additions and 2 deletions

View file

@ -37,12 +37,14 @@
{% 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>&nbsp;{{ c.name }}
{{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>&nbsp;{{ s.profile }}
{{i}}<i class="{{ s.profile.site.icon }}" aria-hidden="true"></i>
{{i}}{{ s.profile }}
{{i}}</a>
{% endfor %}
{{i}}</div>

View file

@ -51,4 +51,5 @@ ol.entries, div.entry
> :last-child
margin-bottom 0
.card-link
display inline-block
font-size 0.8rem