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 — Only show 'Last updated on ...' when last_updated defined · yeager/python-docs-theme@fe6a243

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • python_docs_theme
    • layout.html
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
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ <h3>{{ _('Navigation') }}</h3>
149149
{% include "footerdonate.html" %}
150150
<br />
151151

152-
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
152+
{%- if last_updated %}
153+
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
154+
{%- endif %}
153155
{% if theme_issues_url %}{% trans %}<a href="{{ theme_issues_url }}">Found a bug</a>?{% endtrans %}{% endif %}
154156
<br />
155157

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.