fix 'edit page' link

pull/20102/head
Felix Lange 5 years ago
parent 807261c625
commit a1acfc1efe
  1. 8
      _layouts/default.html

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

Loading…
Cancel
Save