Fix some issues with relative URLs on Github Pages.
This commit is contained in:
1 parent
9887cb57b2
commit
f51eca20f5
5 files changed
+15
-12
No files matched your search
@@ -7,9 +7,9 @@ body:
|
|||||||
possible to build it for nearly any platform. Prebuilt binaries are
|
possible to build it for nearly any platform. Prebuilt binaries are
|
||||||
available for Linux (64-bit x86) and OS X.
|
available for Linux (64-bit x86) and OS X.
|
||||||
|
|
||||||
* [Download binary for 64-bit Linux](/download/linux_x86_64/jq)
|
* [Download binary for 64-bit Linux](linux_x86_64/jq)
|
||||||
* [Download binary for OS X](/download/osx_64/jq)
|
* [Download binary for OS X](osx_64/jq)
|
||||||
* [Download source](/download/source/jq.tgz)
|
* [Download source](source/jq.tgz)
|
||||||
|
|
||||||
The binaries should just run, but you may need to make them
|
The binaries should just run, but you may need to make them
|
||||||
executable first using:
|
executable first using:
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
|
|
||||||
jq_version: 1.0
|
jq_version: 1.0
|
||||||
|
# Next line is needed for publishing to github pages
|
||||||
|
# root: '/jq'
|
||||||
|
root: ''
|
||||||
footer: |
|
footer: |
|
||||||
|
|
||||||
This website is made with [Bonsai](http://www.tinytree.info) and
|
This website is made with [Bonsai](http://www.tinytree.info) and
|
||||||
|
|||||||
Vendored
+4
-4
@@ -7,7 +7,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="hero-unit">
|
<div class="hero-unit">
|
||||||
<img src="/jq.png" style="width: 400px; height: 220px; float: left; margin-right: 60px">
|
<img src="{{root}}/jq.png" style="width: 400px; height: 220px; float: left; margin-right: 60px">
|
||||||
<div id="blurb">
|
<div id="blurb">
|
||||||
{{blurb | markdownify}}
|
{{blurb | markdownify}}
|
||||||
<div class="btn-group" style="float:right">
|
<div class="btn-group" style="float:right">
|
||||||
@@ -16,9 +16,9 @@
|
|||||||
<span class="caret"></span>
|
<span class="caret"></span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li><a href="/download/linux_x86_64/jq">Linux (x86_64)</a></li>
|
<li><a href="{{root}}/download/linux_x86_64/jq">Linux (x86_64)</a></li>
|
||||||
<li><a href="/download/osx_64/jq">OS X (64-bit)</a></li>
|
<li><a href="{{root}}/download/osx_64/jq">OS X (64-bit)</a></li>
|
||||||
<li><a href="/download">Other platforms and source</a></li>
|
<li><a href="{{root}}/download">Other platforms and source</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-3
@@ -1,12 +1,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset=UTF-8>
|
<meta charset=UTF-8>
|
||||||
<title>{{headline}} | jq</title>
|
<title>{{headline}} | jq</title>
|
||||||
<link rel="stylesheet" href="/bootstrap/css/bootstrap.css" type="text/css">
|
<link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">
|
||||||
<link rel="stylesheet" href="/css/base.css" type="text/css">
|
<link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">
|
||||||
<!--[if IE]>
|
<!--[if IE]>
|
||||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
|
||||||
<script src="/bootstrap/js/bootstrap.js"></script>
|
<script src="{{root}}/bootstrap/js/bootstrap.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
Vendored
+2
-2
@@ -7,12 +7,12 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="brand" href="/">jq</a>
|
<a class="brand" href="{{root}}/">jq</a>
|
||||||
<div class="nav-collapse collapse">
|
<div class="nav-collapse collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
{% for item in navigation %}
|
{% for item in navigation %}
|
||||||
<li {% if item.permalink == permalink %} class="active" {% endif %}>
|
<li {% if item.permalink == permalink %} class="active" {% endif %}>
|
||||||
<a href="{{item.permalink}}">{{item.name}}</a>
|
<a href="{{root}}{{item.permalink}}">{{item.name}}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
|
<li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
|
||||||
|
|||||||
Reference in new issue
Block a user