Skip to content

Commit

Permalink
Revert "Avoid printing dot when copyright holder already ends with dot"
Browse files Browse the repository at this point in the history
This reverts commit ba3cb12.
  • Loading branch information
FrostyX committed Aug 15, 2018
1 parent 48adf29 commit 82437a1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sphinx_rtd_theme/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
<div role="contentinfo">
<p>
{%- if show_copyright %}

{# Avoid printing dot when copyright holder already ends with dot (e.g. My Company, Inc.) #}
{% set copyright = copyright[:-1] if copyright.endswith('.') else copyright %}

{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}{% endtrans %}
{%- else %}
Expand Down

0 comments on commit 82437a1

Please # to comment.