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

pull/1/head
Danielle McLean 4 years ago
parent f7d7936499
commit 0adc7a0d5e
Signed by: 00dani
GPG Key ID: 8EB789DDF3ABD240
  1. 6
      entries/jinja2/entries/h-entry.html
  2. 1
      entries/static/entries/css/h-entry.styl

@ -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>

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

Loading…
Cancel
Save