mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 17:18:58 +00:00

* Make edit links GitHub aware * Fix repo url * don't mutate existing string * Move comment * Fix url
5 lines
246 B
HTML
5 lines
246 B
HTML
{% assign url_parts = page.url | split: '/' %}
|
|
{% if page.hide_github_edit != true %}
|
|
<div class='edit-github'><a href='{{ site.NLY_REPOSITORY_URL }}/tree/{{ site.NLY_HEAD }}/source/{{ page.path }}'>Edit this page on GitHub</a></div>
|
|
{% endif %}
|