Created
March 1, 2013 02:21
-
-
Save dextervip/5062020 to your computer and use it in GitHub Desktop.
Bad formatting and indentations for twig files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>{% block title %}Welcome!{% endblock %}</title> | |
{% block stylesheets %} | |
<link rel="stylesheet" href="{{ asset('bootstrap/css/bootstrap.css')}}" /> | |
<link rel="stylesheet" href="{{ asset('bootstrap/css/bootstrap-responsive.css')}}" /> | |
<style> | |
body{ | |
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ | |
} | |
</style> | |
{% endblock %} | |
<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> | |
<!--[if lt IE 9]> | |
<script src="../assets/js/html5shiv.js"></script> | |
<![endif]--> | |
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" /> | |
</head> | |
<body> | |
{% block nav %} | |
<div class="navbar navbar-inverse navbar-fixed-top"> | |
<div class="navbar-inner"> | |
<div class="container"> | |
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<a class="brand" href="#">Project name</a> | |
<div class="nav-collapse collapse"> | |
<ul class="nav"> | |
<li class="active"><a href="#">Home</a></li> | |
<li><a href="#about">About</a></li> | |
<li><a href="#contact">Contact</a></li> | |
</ul> | |
</div><!--/.nav-collapse --> | |
</div> | |
</div> | |
</div> | |
{% endblock %} | |
<div class="container"> | |
{% block body %} | |
{% endblock %} | |
</div> | |
{% block javascripts %} | |
<script type="text/javascript" src="{{asset('js/jquery/jquery-1.9.1.js')}}"></script> | |
<script type="text/javascript" src="{{asset('bootstrap/js/bootstrap.js')}}"></script> | |
{% endblock %} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment