]> granicus.if.org Git - jq/commitdiff
Consistent indentation of shared templates
authorDavid Tolnay <dtolnay@gmail.com>
Fri, 14 Aug 2015 06:08:52 +0000 (23:08 -0700)
committerDavid Tolnay <dtolnay@gmail.com>
Fri, 14 Aug 2015 06:08:52 +0000 (23:08 -0700)
docs/templates/default.liquid
docs/templates/index.liquid
docs/templates/manual.liquid
docs/templates/shared/_footer.liquid
docs/templates/shared/_head.liquid
docs/templates/shared/_header.liquid

index 59b15410b439d8e61311069d03140495c2ef1e00..2ff391100c7334a79a85be07649753e37e25d738 100644 (file)
@@ -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>
index 401d7eced696d6f30c432908f4971cb7d7a4a5cc..69aa6e34533e38f15fc101ddb7702cc525cff20b 100644 (file)
@@ -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>
index 51e4f13bbe2bbaa8189b2dc4d5ff68f84998696f..c34aa21c59c9cc5a25f74898124e6bcd7f4e7927 100644 (file)
@@ -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 %}
index 7623c4b4779c6fd9bf2069e9f0ef9b4ab77807d2..e2814a80924b911f7dd14a0d4a82fb32b636f711 100644 (file)
@@ -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>
index 59e4b19d58a24a6e89ba890885e34a7696f82385..5e71c7c9948cfbe006959704c025e04f088e2f96 100644 (file)
@@ -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>
index 91dba969094e479b44f33785dba79267129d7042..01e8b30ad372860f78477d13054826034becf327 100644 (file)
@@ -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>