mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Edit breadcrumbs to only show source without github
This commit is contained in:
parent
e82ee4f1f7
commit
bd844938e3
|
@ -4,12 +4,8 @@
|
|||
<li class="wy-breadcrumbs-aside">
|
||||
{% if display_github %}
|
||||
<a href="https://github.com/{{ github_user }}/{{ github_repo }}/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}.rst" class="icon icon-github"> Edit on GitHub</a>
|
||||
{% endif %}
|
||||
{% if show_source and has_source and sourcename and display_github %}
|
||||
«
|
||||
{% endif %}
|
||||
{% if show_source and has_source and sourcename %}
|
||||
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow">[source]</a>
|
||||
{% elif show_source and has_source and sourcename %}
|
||||
<a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> View page source</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user