diff options
| author | Sebastian Wiesner <basti.wiesner@gmx.net> | 2008-12-17 21:59:21 +0100 |
|---|---|---|
| committer | Sebastian Wiesner <basti.wiesner@gmx.net> | 2008-12-17 21:59:21 +0100 |
| commit | a86fc5ee6e695ff81b14abc36be7fec55c9170ae (patch) | |
| tree | 9e4c8c344fd35b71e50ec877bfd7d7d6f8b38100 | |
| parent | cb065f934607289646d235a7069654ee0fe83ff9 (diff) | |
| download | sphinx-a86fc5ee6e695ff81b14abc36be7fec55c9170ae.tar.gz | |
Fix name error in template
| -rw-r--r-- | sphinx/templates/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/templates/layout.html b/sphinx/templates/layout.html index 80cb4bcd..a8231102 100644 --- a/sphinx/templates/layout.html +++ b/sphinx/templates/layout.html @@ -51,7 +51,7 @@ <p class="topless"><a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></p> {%- endif %} {%- endblock %} - {%- if show_source and has_source %} + {%- if show_source and has_source and sourcename %} <h3>{{ _('This Page') }}</h3> <ul class="this-page-menu"> <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}">{{ _('Show Source') }}</a></li> |
