GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add the copyright_url variable in the theme (#67) · jdevries3133/python-docs-theme@6ed468a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • python_docs_theme
    • layout.html
    • theme.conf
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎python_docs_theme/layout.html‎

Copy file name to clipboardExpand all lines: python_docs_theme/layout.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ <h3>{{ _('Navigation') }}</h3>
120120

121121
{% block footer %}
122122
<div class="footer">
123-
&copy; <a href="{{ pathto('copyright') }}">{% trans %}Copyright{% endtrans %}</a> {{ copyright|e }}.
123+
&copy; {% if theme_copyright_url or hasdoc('copyright') %}<a href="{% if theme_copyright_url %}{{ theme_copyright_url }}{% else %}{{ pathto('copyright') }}{% endif %}">{% endif %}{% trans %}Copyright{% endtrans %}{% if theme_copyright_url or hasdoc('copyright') %}</a>{% endif %} {{ copyright|e }}.
124124
<br />
125125
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}
126126
<br />
Collapse file

‎python_docs_theme/theme.conf‎

Copy file name to clipboardExpand all lines: python_docs_theme/theme.conf
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ root_name = Python
2929
root_url = https://www.python.org/
3030
root_icon = py.svg
3131
root_include_title = True
32+
copyright_url =

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.