contentdb/app/templates/packages/share.html

36 lines
634 B
HTML

{% extends "packages/package_base.html" %}
{% block title %}
{{ _("Share and Badges") }}
{% endblock %}
{% block content %}
<h2 class="mt-0">{{ self.title() }}</h2>
<h3>{{ _("Links") }}</h3>
<p>
{{ _("Review link") }}:
</p>
<pre><code>{{ package.get_url("packages.review", absolute=True) }}</code></pre>
<h3>{{ _("Badges") }}</h3>
<p>
{{ package.make_shield("title") | markdown }}
</p>
<p>
<pre><code>{{ package.make_shield("title") }}</code></pre>
</p>
<p>
{{ package.make_shield("downloads") | markdown }}
</p>
<p>
<pre><code>{{ package.make_shield("downloads") }}</code></pre>
</p>
{% endblock %}