mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Fix some issues with relative URLs on Github Pages.
This commit is contained in:
8
docs/templates/index.liquid
vendored
8
docs/templates/index.liquid
vendored
@@ -7,7 +7,7 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<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">
|
||||
{{blurb | markdownify}}
|
||||
<div class="btn-group" style="float:right">
|
||||
@@ -16,9 +16,9 @@
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/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="/download">Other platforms and source</a></li>
|
||||
<li><a href="{{root}}/download/linux_x86_64/jq">Linux (x86_64)</a></li>
|
||||
<li><a href="{{root}}/download/osx_64/jq">OS X (64-bit)</a></li>
|
||||
<li><a href="{{root}}/download">Other platforms and source</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
6
docs/templates/shared/_head.liquid
vendored
6
docs/templates/shared/_head.liquid
vendored
@@ -1,12 +1,12 @@
|
||||
<head>
|
||||
<meta charset=UTF-8>
|
||||
<title>{{headline}} | jq</title>
|
||||
<link rel="stylesheet" href="/bootstrap/css/bootstrap.css" type="text/css">
|
||||
<link rel="stylesheet" href="/css/base.css" type="text/css">
|
||||
<link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">
|
||||
<link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">
|
||||
<!--[if IE]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<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>
|
||||
4
docs/templates/shared/_header.liquid
vendored
4
docs/templates/shared/_header.liquid
vendored
@@ -7,12 +7,12 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="brand" href="/">jq</a>
|
||||
<a class="brand" href="{{root}}/">jq</a>
|
||||
<div class="nav-collapse collapse">
|
||||
<ul class="nav">
|
||||
{% for item in navigation %}
|
||||
<li {% if item.permalink == permalink %} class="active" {% endif %}>
|
||||
<a href="{{item.permalink}}">{{item.name}}</a>
|
||||
<a href="{{root}}{{item.permalink}}">{{item.name}}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
|
||||
|
||||
Reference in New Issue
Block a user