{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% block content %}
{{- breadcrumbs([[url_for('story.view', pk=story.id), story.title]], current='Избранное') }}

{{ story.title }}

{{ ngettext("Added to favorites by %(num)d user", "Added to favorites by %(num)d users", favorites_count) }}:
{% for fav in favorites -%} {%- with user=fav.author %}{% include 'includes/userlink.html' %}{% endwith -%} {%- if not loop.last %}, {% endif -%} {%- endfor -%}
{{- breadcrumbs([[url_for('story.view', pk=story.id), story.title]], current='Избранное') }}
{% endblock %}