Add 'Edit this page' link to website/www footer
This commit is contained in:
parent
33d602ba84
commit
094d8b89ef
|
@ -59,6 +59,10 @@
|
|||
<li><a href="https://docs.vagrantup.com/">Documentation</a></li>
|
||||
<li><a href="/about.html">About</a></li>
|
||||
<li><a href="/support.html">Support</a></li>
|
||||
<% if current_page.url != "/" %>
|
||||
<% github_link = 'https://github.com/mitchellh/vagrant/blob/master/' + current_page.source_file.match(/website.*/)[0] %>
|
||||
<li class="li-under"><a href="<%= github_link %>">Edit this page</a></li>
|
||||
<% end %>
|
||||
<a href="/downloads.html">
|
||||
<li class="button inline-button">Download</li>
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue