Skip to content
Myr

Consistent indentation of shared templates

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent bd46a5d · Browse files · 6 files+54 added−55 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+54 added−55 removed

  • other:+54 added−55 removed

6 files+54 added−55 removed

modified:docs/templates/shared/_footer.liquid+8 added-8 removed
1<footer>2 <div class="container">3 {{ footer | markdownify }}4 </div>5</footer>1 <footer>2 <div class="container">3 {{ footer | markdownify }}4 </div>5 </footer>67<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>8<script src="{{root}}/bootstrap/js/bootstrap.min.js"></script>9<script src="{{root}}/js/bootstrap3-typeahead.js"></script>7 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>8 <script src="{{root}}/bootstrap/js/bootstrap.min.js"></script>9 <script src="{{root}}/js/bootstrap3-typeahead.js"></script>
modified:docs/templates/shared/_head.liquid+12 added-12 removed
1<head>2 <meta charset="utf-8">3 <title>{{headline}}</title>4 <meta name="viewport" content="width=device-width, initial-scale=1">5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />6 <link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">7 <link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">8 <!--[if lt IE 9]>9 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>10 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>11 <![endif]-->12</head>1 <head>2 <meta charset="utf-8">3 <title>{{headline}}</title>4 <meta name="viewport" content="width=device-width, initial-scale=1">5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />6 <link rel="stylesheet" href="{{root}}/bootstrap/css/bootstrap.css" type="text/css">7 <link rel="stylesheet" href="{{root}}/css/base.css" type="text/css">8 <!--[if lt IE 9]>9 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>10 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>11 <![endif]-->12 </head>
modified:docs/templates/shared/_header.liquid+25 added-26 removed
1 <div class="navbar navbar-default navbar-fixed-top">2 <div class="container">3 <div class="navbar-header">4 <button aria-expanded="false" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse">5 <span class="sr-only">Toggle navigation</span>6 <span class="icon-bar"></span>7 <span class="icon-bar"></span>8 <span class="icon-bar"></span>9 </button>10 <a class="navbar-brand" href="{{root}}/">jq</a>11 </div>122<div class="navbar navbar-default navbar-fixed-top">3 <div class="container">4 <div class="navbar-header">5 <button aria-expanded="false" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-collapse">6 <span class="sr-only">Toggle navigation</span>7 <span class="icon-bar"></span>8 <span class="icon-bar"></span>9 <span class="icon-bar"></span>10 </button>11 <a class="navbar-brand" href="{{root}}/">jq</a>13 <div style="height: 1px;" aria-expanded="false" class="navbar-collapse collapse" id="nav-collapse">14 <ul class="nav navbar-nav">15 {% for item in navigation %}16 <li {% if item.permalink == permalink %} class="active" {% endif %}>17 <a href="{{root}}{{item.permalink}}">{{item.name}}</a>18 </li>19 {% endfor %}20 <li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>21 <li><a href="https://github.com/stedolan/jq">Source</a></li>22 <li><a href="http://jqplay.org">Try online!</a></li>23 <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>24 </ul>25 </div>26 </div>27 </div>1314 <div style="height: 1px;" aria-expanded="false" class="navbar-collapse collapse" id="nav-collapse">15 <ul class="nav navbar-nav">16 {% for item in navigation %}17 <li {% if item.permalink == permalink %} class="active" {% endif %}>18 <a href="{{root}}{{item.permalink}}">{{item.name}}</a>19 </li>20 {% endfor %}21 <li><a href="https://github.com/stedolan/jq/issues">Issues</a></li>22 <li><a href="https://github.com/stedolan/jq">Source</a></li>23 <li><a href="http://jqplay.org">Try online!</a></li>24 <li><a href="https://raw.githubusercontent.com/stedolan/jq/master/NEWS">News</a></li>25 </ul>26 </div>27 </div>28</div>
modified:docs/templates/default.liquid+3 added-3 removed
1<!DOCTYPE html>2<html lang="en">3 {% include "shared/head" %}3{% include "shared/head" %}45 <body id="{{slug}}">6 {% include "shared/header" %} 6{% include "shared/header" %}78 <div class="container">9 <div class="row">10 <h1>{{headline}}</h1>
17 unmodified lines
28 {% endfor %}29 </div>30 </div>3132 {% include "shared/footer" %}32{% include "shared/footer" %}33 </body>34</html>
modified:docs/templates/index.liquid+3 added-3 removed
1<!DOCTYPE html>2<html lang="en">3 {% include "shared/head" %}3{% include "shared/head" %}45 <body id="{{slug}}">6 {% include "shared/header" %}6{% include "shared/header" %}78 <div class="container">9 <div class="row">10 <div class="jumbotron">
60 unmodified lines
71 </div>72 </div>73 </div>7475 {% include "shared/footer" %}75{% include "shared/footer" %}76 </body>77</html>
modified:docs/templates/manual.liquid+3 added-3 removed
1<!DOCTYPE html>2<html lang="en">3 {% include "shared/head" %}3{% include "shared/head" %}45 <body id="{{slug}}" data-spy="scroll" data-target="#navcolumn" data-offset="100">6 {% include "shared/header" %}6{% include "shared/header" %}78 <div class="container">9 <div class="row">10 <div class="affix" id="navcolumn">
72 unmodified lines
83 </div>84 </div>85 </div>8687 {% include "shared/footer" %}87{% include "shared/footer" %}88 <script>89 var section_map = {90 {% for section in sections %}91 {% for entry in section.entries %}
10 unmodified lines