Skip to content

Commit

Permalink
Avoid printing dot when copyright holder already ends with dot
Browse files Browse the repository at this point in the history
e.g. My Company, Inc.
  • Loading branch information
FrostyX committed Aug 16, 2018
1 parent 4fc72d9 commit da47e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx_rtd_theme/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<p>
{%- if show_copyright %}
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}{% endtrans %}
{%- else %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}{% endtrans %}
{%- endif %}
{%- endif %}

Expand Down

0 comments on commit da47e48

Please # to comment.