summaryrefslogtreecommitdiffstats
path: root/docs/templates
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2015-08-13 23:08:52 -0700
committerDavid Tolnay <dtolnay@gmail.com>2015-08-13 23:08:52 -0700
commitd36a85a369d5d74aad545d3f7a93ffa6d97b5fe3 (patch)
tree3d8648f05b2491909bc5cac5b739e6d88626d0d9 /docs/templates
parentbd46a5dd5272edff880958438be18b3f2ec02268 (diff)
Consistent indentation of shared templates
Diffstat (limited to 'docs/templates')
-rw-r--r--docs/templates/default.liquid6
-rw-r--r--docs/templates/index.liquid6
-rw-r--r--docs/templates/manual.liquid6
-rw-r--r--docs/templates/shared/_footer.liquid16
-rw-r--r--docs/templates/shared/_head.liquid24
-rw-r--r--docs/templates/shared/_header.liquid51
6 files changed, 54 insertions, 55 deletions
diff --git a/docs/templates/default.liquid b/docs/templates/default.liquid
index 59b15410..2ff39110 100644
--- a/docs/templates/default.liquid
+++ b/docs/templates/default.liquid
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">
- {% include "shared/head" %}
+{% include "shared/head" %}
<body id="{{slug}}">
- {% include "shared/header" %}
+{% include "shared/header" %}
<div class="container">
<div class="row">
@@ -29,6 +29,6 @@
</div>
</div>
- {% include "shared/footer" %}
+{% include "shared/footer" %}
</body>
</html>
diff --git a/docs/templates/index.liquid b/docs/templates/index.liquid
index 401d7ece..69aa6e34 100644
--- a/docs/templates/index.liquid
+++ b/docs/templates/index.liquid
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">
- {% include "shared/head" %}
+{% include "shared/head" %}
<body id="{{slug}}">
- {% include "shared/header" %}
+{% include "shared/header" %}
<div class="container">
<div class="row">
@@ -72,6 +72,6 @@
</div>
</div>
- {% include "shared/footer" %}
+{% include "shared/footer" %}
</body>
</html>
diff --git a/docs/templates/manual.liquid b/docs/templates/manual.liquid
index 51e4f13b..c34aa21c 100644
--- a/docs/templates/manual.liquid
+++ b/docs/templates/manual.liquid
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html lang="en">
- {% include "shared/head" %}
+{% include "shared/head" %}
<body id="{{slug}}" data-spy="scroll" data-target="#navcolumn" data-offset="100">
- {% include "shared/header" %}
+{% include "shared/header" %}
<div class="container">
<div class="row">
@@ -84,7 +84,7 @@
</div>
</div>
- {% include "shared/footer" %}
+{% include "shared/footer" %}
<script>
var section_map = {
{% for section in sections %}
diff --git a/docs/templates/shared/_footer.liquid b/docs/templates/shared/_footer.liquid
index 7623c4b4..e2814a80 100644
--- a/docs/templates/shared/_footer.liquid
+++ b/docs/templates/shared/_footer.liquid
@@ -1,9 +1,9 @@
-<footer>
- <div class="container">
- {{ footer | markdownify }}
- </div>
-</footer>
+ <footer>
+ <div class="container">
+ {{ footer | markdownify }}
+ </div>
+ </footer>
-<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
-<script src="{{root}}/bootstrap/js/bootstrap.min.js"></script>
-<script src="{{root}}/js/bootstrap3-typeahead.js"></script>
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+ <script src="{{root}}/bootstrap/js/bootstrap.min.js"></script>
+ <script src="{{root}}/js/bootstrap3-typeahead.js"></script>
diff --git a/docs/templates/shared/_head.liquid b/docs/templates/shared/_head.liquid
index 59e4b19d..5e71c7c9 100644
--- a/docs/templates/shared/_head.liquid
+++ b/docs/templates/shared/_head.liquid
@@ -1,12 +1,12 @@
-<head>
- <meta charset="utf-8">
- <title>{{headline}}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">
- <link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]-->
-</head>
+ <head>
+ <meta charset="utf-8">
+ <title>{{headline}}</title>
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+ <link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">
+ <link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <![endif]-->
+ </head>
diff --git a/docs/templates/shared/_header.liquid b/docs/templates/shared/_header.liquid
index 91dba969..01e8b30a 100644
--- a/docs/templates/shared/_header.liquid
+++ b/docs/templates/shared/_header.liquid
@@ -1,28 +1,27 @@
+ <div class="navbar navbar-default navbar-fixed-top">
+ <div class="container">
+ <div class="navbar-header">
+ <button aria-expanded="false" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="{{root}}/">jq</a>
+ </div>
-<div class="navbar navbar-default navbar-fixed-top">
- <div class="container">
- <div class="navbar-header">
- <button aria-expanded="false" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="{{root}}/">jq</a>
+ <div style="height: 1px;" aria-expanded="false" class="navbar-collapse collapse" id="nav-collapse">
+ <ul class="nav navbar-nav">
+ {% for item in navigation %}
+ <li {% if item.permalink == permalink %} class="active" {% endif %}>
+ <a href="{{root}}{{item.permalink}}">{{item.name}}</a>
+ </li>
+ {% endfor %}
+ <li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
+ <li><a href="https://github.com/stedolan/jq">Source</a></li>
+ <li><a href="http://jqplay.org">Try online!</a></li>
+ <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>
+ </ul>
+ </div>
+ </div>
</div>
-
- <div style="height: 1px;" aria-expanded="false" class="navbar-collapse collapse" id="nav-collapse">
- <ul class="nav navbar-nav">
- {% for item in navigation %}
- <li {% if item.permalink == permalink %} class="active" {% endif %}>
- <a href="{{root}}{{item.permalink}}">{{item.name}}</a>
- </li>
- {% endfor %}
- <li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>
- <li><a href="https://github.com/stedolan/jq">Source</a></li>
- <li><a href="http://jqplay.org">Try online!</a></li>
- <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>
- </ul>
- </div>
- </div>
-</div>