Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow HTML in the copyright message #603

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ contact_links:
- name: Feature Request / Enhancement
url: https://github.com/pradyunsg/furo/discussions/categories/ideas
about: Feature requests may be raised as an "Ideas" discussion.

4 changes: 2 additions & 2 deletions src/furo/theme/furo/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@
{%- if show_copyright %}
<div class="copyright">
{%- if hasdoc('copyright') %}
{% trans path=pathto('copyright'), copyright=copyright|e -%}
{% trans path=pathto('copyright'), copyright=copyright|safe -%}
<a href="{{ path }}">Copyright</a> &#169; {{ copyright }}
{%- endtrans %}
{%- else %}
{% trans copyright=copyright|e -%}
{% trans copyright=copyright|safe -%}
Copyright &#169; {{ copyright }}
{%- endtrans %}
{%- endif %}
Expand Down