Skip to content

Commit

Permalink
Add Blog link to footer (#15667)
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Mar 26, 2024
1 parent 585e064 commit 984431f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion warehouse/locale/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ msgid "About PyPI navigation"
msgstr ""

#: warehouse/templates/base.html:291
msgid "PyPI on Twitter"
msgid "PyPI Blog"
msgstr ""

#: warehouse/templates/base.html:292
Expand Down
6 changes: 3 additions & 3 deletions warehouse/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@

{% macro trademarks(long=False) -%}
{% if long %}
{% trans wordmark="PyPI", name="Python Package Index", psf_href="https://python.org/psf-landing", trademarks_href=request.route_path('trademarks') %}
{% trans wordmark="PyPI", name="Python Package Index", psf_href="https://www.python.org/psf-landing", trademarks_href=request.route_path('trademarks') %}
"{{ wordmark }}", "{{ name }}", and the blocks logos are registered trademarks of the <a href="{{ psf_href }}" target="_blank" rel="noopener">Python Software Foundation</a> referring to the products and services associated with pypi.org. Any other use by any other party is prohibited.
{% endtrans %}
{% else %}
{% trans wordmark="PyPI", name="Python Package Index", psf_href="https://python.org/psf-landing", trademarks_href=request.route_path('trademarks') %}
{% trans wordmark="PyPI", name="Python Package Index", psf_href="https://www.python.org/psf-landing", trademarks_href=request.route_path('trademarks') %}
"{{ wordmark }}", "{{ name }}", and the blocks logos are registered <a href="{{ trademarks_href }}">trademarks</a> of the <a href="{{ psf_href }}" target="_blank" rel="noopener">Python Software Foundation</a>.
{% endtrans %}
{% endif %}
Expand Down Expand Up @@ -288,7 +288,7 @@ <h2>{% trans %}Help{% endtrans %}</h2>
<h2>{% trans %}About PyPI{% endtrans %}</h2>
<nav aria-label="{% trans %}About PyPI navigation{% endtrans %}">
<ul>
<li><a href="https://twitter.com/PyPI" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}PyPI on Twitter{% endtrans %}</a></li>
<li><a href="https://blog.pypi.org" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}PyPI Blog{% endtrans %}</a></li>
<li><a href="https://dtdg.co/pypi" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Infrastructure dashboard{% endtrans %}</a></li>
<li><a href="{{ request.route_path('stats') }}">{% trans %}Statistics{% endtrans %}</a></li>
<li><a href="{{ request.route_path('trademarks') }}">{% trans %}Logos & trademarks{% endtrans %}</a></li>
Expand Down

0 comments on commit 984431f

Please sign in to comment.