fix 'edit page' link
This commit is contained in:
parent
807261c625
commit
a1acfc1efe
|
@ -31,7 +31,7 @@ common-js:
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
<div id="navbar" class="navbar-collapse collapse">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
{% for link in site.data.navbar %}
|
{% for link in site.data.navbar %}
|
||||||
{% capture target %}{% include link.html url=link.last %}{% endcapture %}
|
{% capture target %}{% include link.html url=link.last %}{% endcapture %}
|
||||||
<li><a href="{{target |strip }}">{{ link.first }}</a></li>
|
<li><a href="{{target |strip }}">{{ link.first }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -41,8 +41,12 @@ common-js:
|
||||||
{{ content }}
|
{{ content }}
|
||||||
<hr/>
|
<hr/>
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
<p>© 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>© 2013–2019. The go-ethereum Authors. <a href="{{ gh_link }}">Edit this page.</a></p>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue