mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
links use baseurl
This commit is contained in:
parent
ce988f6b04
commit
81ef2c0bcf
7 changed files with 49 additions and 29 deletions
|
|
@ -6,6 +6,7 @@ exclude:
|
||||||
- .gitignore
|
- .gitignore
|
||||||
|
|
||||||
google_analytics: UA-131485733-1
|
google_analytics: UA-131485733-1
|
||||||
|
favicon: /static/images/favicon.png
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
-
|
-
|
||||||
|
|
|
||||||
3
_data/navbar.yml
Normal file
3
_data/navbar.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
Install: /docs/Installing-Geth
|
||||||
|
Downloads: /downloads
|
||||||
|
Documentation: /docs
|
||||||
|
|
@ -19,28 +19,29 @@
|
||||||
<!-- End Google Analytics -->
|
<!-- End Google Analytics -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<link rel="icon" type="image/png" href="../static/images/favicon.png" />
|
<link rel="icon" type="image/png" href="{{ site.favicon | prepend: site.baseurl | replace: '//', '/'}}" />
|
||||||
|
{% if layout.common-css %}
|
||||||
|
{% for css in layout.common-css %}
|
||||||
|
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<link href="../static/styles/bootstrap.min.css" rel="stylesheet" />
|
|
||||||
<link href="../static/styles/flatly.min.css" rel="stylesheet" />
|
|
||||||
<link href="../static/styles/font-awesome.min.css" rel="stylesheet" />
|
|
||||||
<link href="../static/styles/custom/common.css" rel="stylesheet" />
|
|
||||||
{% if page.css %}
|
{% if page.css %}
|
||||||
{% for css in page.css %}
|
{% for css in page.css %}
|
||||||
<link href="{{ css }}" rel="stylesheet" />
|
<link rel="stylesheet" href="{{ css | prepend: site.baseurl | replace: '//', '/' }}" />
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if layout.common-js %}
|
||||||
|
{% for js in layout.common-js %}
|
||||||
|
<script src="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script src="../static/scripts/jquery.min.js"></script>
|
|
||||||
<script src="../static/scripts/bootstrap.min.js"></script>
|
|
||||||
<script src="../static/scripts/moment.min.js"></script>
|
|
||||||
<script src="../static/scripts/marked.min.js"></script>
|
|
||||||
<script src="../static/scripts/emojify.min.js"></script>
|
|
||||||
{% if page.js %}
|
{% if page.js %}
|
||||||
{% for js in page.js %}
|
{% for js in page.js %}
|
||||||
<script src="{{ js }}"></script>
|
<script src="{{ js | prepend: site.baseurl | replace: '//', '/' }}"></script>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script src="../static/scripts/custom/polyfills.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
@ -1,3 +1,17 @@
|
||||||
|
---
|
||||||
|
common-css:
|
||||||
|
- /static/styles/bootstrap.min.css
|
||||||
|
- /static/styles/flatly.min.css
|
||||||
|
- /static/styles/font-awesome.min.css
|
||||||
|
- /static/styles/custom/common.css
|
||||||
|
common-js:
|
||||||
|
- /static/scripts/jquery.min.js
|
||||||
|
- /static/scripts/bootstrap.min.js
|
||||||
|
- /static/scripts/moment.min.js
|
||||||
|
- /static/scripts/marked.min.js
|
||||||
|
- /static/scripts/emojify.min.js
|
||||||
|
- /static/scripts/custom/polyfills.js
|
||||||
|
---
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
|
|
@ -12,14 +26,15 @@
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="/">Go Ethereum</a>
|
<a class="navbar-brand" href="{{ site.url }}">Go Ethereum</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="navbar" class="navbar-collapse collapse">
|
<div id="navbar" class="navbar-collapse collapse">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<li><a href="/docs/Installing-Geth">Install</a></li>
|
{% for link in site.data.navbar %}
|
||||||
<li><a href="/downloads">Downloads</a></li>
|
<li>
|
||||||
<li><a href="/docs">Documentation</a></li>
|
<a href="{{ link[1] | prepend: site.baseurl | replace: '//', '/' }}">{{ link[0] }}</a>
|
||||||
<!--<li><a href="/guide/">Guide</a></li>-->
|
</li>
|
||||||
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ layout: default
|
||||||
<a class="list-group-item active">{{ group[0] }}</a>
|
<a class="list-group-item active">{{ group[0] }}</a>
|
||||||
{% for link in group[1] %}
|
{% for link in group[1] %}
|
||||||
<a class="list-group-item"
|
<a class="list-group-item"
|
||||||
href="{{ link.first[1] }}">{{ link.first[0] }}</a>
|
href="{{ link.first[1] | prepend: site.baseurl | replace: '//', '/'}}">{{ link.first[0] }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ This is the documentation for the official Ethereum golang implementation. For g
|
||||||
|
|
||||||
Main entry points:
|
Main entry points:
|
||||||
|
|
||||||
* [Installation Instructions](/docs/Building-Ethereum)
|
* [Installation Instructions](Building-Ethereum)
|
||||||
* [Developer/Management API](/docs/Management-APIs)
|
* [Developer/Management API](Management-APIs)
|
||||||
* [Managing Accounts](/docs/Managing-your-accounts)
|
* [Managing Accounts](Managing-your-accounts)
|
||||||
* [Command Line Options](/docs/Command-Line-Options)
|
* [Command Line Options](Command-Line-Options)
|
||||||
* [JavaScript Console](/docs/JavaScript-Console)
|
* [JavaScript Console](JavaScript-Console)
|
||||||
* [Private Network](/docs/Private-network)
|
* [Private Network](Private-network)
|
||||||
* [Developers' Guide](/docs/Developers-Guide)
|
* [Developers' Guide](Developers-Guide)
|
||||||
* [Whisper v6](/docs/Whisper)
|
* [Whisper v6](Whisper)
|
||||||
|
|
||||||
Sidebar lists all pages.
|
Sidebar lists all pages.
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
css:
|
css:
|
||||||
- ../static/styles/custom/downloads.css
|
- /static/styles/custom/downloads.css
|
||||||
js:
|
js:
|
||||||
- ../static/scripts/filesize.min.js
|
- /static/scripts/filesize.min.js
|
||||||
---
|
---
|
||||||
<div id="loader" class="modal fade" role="dialog" data-backdrop="static" data-keyboard="false">
|
<div id="loader" class="modal fade" role="dialog" data-backdrop="static" data-keyboard="false">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue