use github_url in 'Edit This Page link
This commit is contained in:
parent
8a5d558656
commit
b9c43b2ee9
|
@ -8,7 +8,7 @@
|
||||||
<li class="active li-under"><a href="/docs/index.html">Docs</a></li>
|
<li class="active li-under"><a href="/docs/index.html">Docs</a></li>
|
||||||
<li class="li-under"><a href="/community.html">Community</a></li>
|
<li class="li-under"><a href="/community.html">Community</a></li>
|
||||||
<% if current_page.url != '/' %>
|
<% if current_page.url != '/' %>
|
||||||
<li class="li-under"><a href="https://github.com/hashicorp/terraform/<%= github_path current_page %>">Edit this page</a></li>
|
<li class="li-under"><a href="<%= github_url :current_page %>">Edit this page</a></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue