forked from davidpv/symfony2cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
layout.html.twig
45 lines (43 loc) · 1.55 KB
/
layout.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="robots" content="noindex,nofollow" />
<title>Symfony3 Cheat-Sheets</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" />
{% block head '' %}
</head>
<body>
<div id="container" class="container">
<div class="inner">
<div id="main-div">
<header>
<div id="title">Symfony Cheatsheet</div>
<h1>Finally, a Symfony guide to make your work easier.</h1>
<span class="version">v 3.*</span>
</header>
<div class="nav-container">
<nav>
<ul class="nav nav-pills">
{% for sheet in sheets -%}
<li>
<a href="#{{ sheet[0] }}">{{ sheet[0]|title }}</a>
</li>
{%- endfor %}
</ul>
</nav>
</div>
</div>
<div id="scroll-div">
<section id="main_content">
{% for sheet in sheets -%}
<hr>
<h2 id="{{ sheet[0] }}">{{ sheet[0]|upper }} <a href="#top" class="small">back to top</a></h2>
{% include sheet[1] %}
{%- endfor %}
</section>
</div>
</div>
</div>
</body>
</html>