1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Consistent indentation of shared templates

This commit is contained in:
David Tolnay
2015-08-13 23:08:52 -07:00
parent bd46a5dd52
commit d36a85a369
6 changed files with 54 additions and 55 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
{% include "shared/head" %} {% include "shared/head" %}
<body id="{{slug}}"> <body id="{{slug}}">
{% include "shared/header" %} {% include "shared/header" %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@@ -29,6 +29,6 @@
</div> </div>
</div> </div>
{% include "shared/footer" %} {% include "shared/footer" %}
</body> </body>
</html> </html>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
{% include "shared/head" %} {% include "shared/head" %}
<body id="{{slug}}"> <body id="{{slug}}">
{% include "shared/header" %} {% include "shared/header" %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@@ -72,6 +72,6 @@
</div> </div>
</div> </div>
{% include "shared/footer" %} {% include "shared/footer" %}
</body> </body>
</html> </html>

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
{% include "shared/head" %} {% include "shared/head" %}
<body id="{{slug}}" data-spy="scroll" data-target="#navcolumn" data-offset="100"> <body id="{{slug}}" data-spy="scroll" data-target="#navcolumn" data-offset="100">
{% include "shared/header" %} {% include "shared/header" %}
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@@ -84,7 +84,7 @@
</div> </div>
</div> </div>
{% include "shared/footer" %} {% include "shared/footer" %}
<script> <script>
var section_map = { var section_map = {
{% for section in sections %} {% for section in sections %}

View File

@@ -1,9 +1,9 @@
<footer> <footer>
<div class="container"> <div class="container">
{{ footer | markdownify }} {{ footer | markdownify }}
</div> </div>
</footer> </footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.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}}/bootstrap/js/bootstrap.min.js"></script>
<script src="{{root}}/js/bootstrap3-typeahead.js"></script> <script src="{{root}}/js/bootstrap3-typeahead.js"></script>

View File

@@ -1,4 +1,4 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{{headline}}</title> <title>{{headline}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
@@ -9,4 +9,4 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <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> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
</head> </head>

View File

@@ -1,5 +1,4 @@
<div class="navbar navbar-default navbar-fixed-top">
<div class="navbar navbar-default navbar-fixed-top">
<div class="container"> <div class="container">
<div class="navbar-header"> <div class="navbar-header">
<button aria-expanded="false" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse"> <button aria-expanded="false" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse">
@@ -25,4 +24,4 @@
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>