Skip to content

Commit

Permalink
Cleanup: Make Copyright template match sphinx's basic (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blendify committed Nov 30, 2020
1 parent 24ceb6d commit 562bc2a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions sphinx_rtd_theme/footer.html
Expand Up @@ -16,12 +16,9 @@
<p>
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% set path = pathto('copyright') %}
{% set copyright = copyright|e %}
&copy; <a href="{{ path }}">{% trans %}Copyright{% endtrans %}</a> {{ copyright }}
{% trans path=pathto('copyright'), copyright=copyright|e %}&#169; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
{%- else %}
{% set copyright = copyright|e %}
&copy; {% trans %}Copyright{% endtrans %} {{ copyright }}
{% trans copyright=copyright|e %}&#169; Copyright {{ copyright }}.{% endtrans %}
{%- endif %}
{%- endif %}

Expand Down

1 comment on commit 562bc2a

@Anthonydml
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hallo

Please sign in to comment.