Skip to content

Commit 6bed095

Browse files
FrostyXBlendify
authored andcommitted
Avoid printing dot when copyright holder already ends with dot (#666)
e.g. My Company, Inc.
1 parent 74ba4b2 commit 6bed095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx_rtd_theme/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<p>
1717
{%- if show_copyright %}
1818
{%- if hasdoc('copyright') %}
19-
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
19+
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}{% endtrans %}
2020
{%- else %}
21-
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
21+
{% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}{% endtrans %}
2222
{%- endif %}
2323
{%- endif %}
2424

0 commit comments

Comments
 (0)