{# Displays a sidebar module with information for given package pkg - The package dict that owns the resources. am_following - True if the user is following the package. Example: {% snippet "package/snippets/info.html", pkg=pkg, am_following=am_following %} #} {% block package_info %} {% if pkg %} {%- call ui.util.call(ui.sidebar_section, title=_("Details"), attrs={"id": "package-info"}) -%} {% block package_info_inner %}
{{ h.markdown_extract(pkg.notes, 180) }}
{% endif %} {% endblock %}