Have syndications infer the correct Site from their URL rather than require an explicit Profile reference
This commit is contained in:
parent
ac22c826cb
commit
556329d5fa
3 changed files with 57 additions and 16 deletions
|
@ -43,8 +43,8 @@
|
|||
{% 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}}<i class="{{ s.site.icon }}" aria-hidden="true"></i>
|
||||
{{i}}{{ s.site.domain }}
|
||||
{{i}}</a>
|
||||
{% endfor %}
|
||||
{{i}}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue