fix 'edit page' link

This commit is contained in:
Felix Lange 2019-10-28 17:48:30 +01:00
parent 807261c625
commit a1acfc1efe
1 changed files with 7 additions and 3 deletions

View File

@ -41,8 +41,12 @@ common-js:
{{ content }}
<hr/>
<footer class="container">
<p>&copy; 20132019. The go-ethereum Authors. | <a href="https://github.com/ethereum/go-ethereum/blob/gh-pages/{{ page.name }}">Edit this page</a></p>
</p>
{%- capture gh_link -%}
https://github.com/ethereum/go-ethereum/blob/gh-pages/
{%- if page.collection -%}{{ site.collections_dir }}/{%- endif -%}
{{- page.path -}}
{%- endcapture -%}
<p>&copy; 20132019. The go-ethereum Authors. <a href="{{ gh_link }}">Edit this page.</a></p>
</footer>
</body>
</html>