Skip to content

Commit

Permalink
Fix the edit this page URL
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jun 4, 2022
1 parent 43ce491 commit 06cdba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/furo/theme/furo/components/edit-this-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
{{ furo_edit_button(determine_page_edit_link()) }}
{%- endif -%}
{%- elif READTHEDOCS and conf_py_path and page_source_suffix and github_user != "None" and github_repo != "None" and github_version %}
{% set url = "https://github.com/{{ github_user }}/{{ github_repo }}/edit/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ page_source_suffix }}" %}
{% set url = "https://github.com/" + github_user + "/" + github_repo + "/edit/" + github_version + conf_py_path + pagename + page_source_suffix %}
{{ furo_edit_button(url) }}
{%- endif -%}

0 comments on commit 06cdba6

Please sign in to comment.