Skip to content

Commit b53ffca

Browse files
committed
Changed the layout to a header and footer, so we can also use it for doxygen generation
1 parent a1cb6ba commit b53ffca

File tree

3 files changed

+58
-54
lines changed

3 files changed

+58
-54
lines changed

_includes/footer.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
</section>
2+
</div>
3+
4+
5+
</body>
6+
</html>

_includes/header.html

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset='utf-8'>
5+
<meta http-equiv="X-UA-Compatible" content="chrome=1">
6+
7+
<link rel="stylesheet" type="text/css" href="stylesheets/bootstrap.min.css" media="screen" />
8+
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
9+
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
10+
11+
<title>Cpputest</title>
12+
</head>
13+
14+
<body>
15+
16+
<header>
17+
<div class="container">
18+
<h1>Cpputest</h1>
19+
<h2>CppUTest unit testing and mocking framework for C/C++</h2>
20+
21+
<nav>
22+
<div class="navbar navbar-inverse">
23+
<div class="navbar-inner">
24+
<a class="brand" href="index.html">CppUTest</a>
25+
<ul class="nav">
26+
<li class="divider-vertical"></li>
27+
<li><a href="manual.html">Core Manual</a></li>
28+
<li class="divider-vertical"></li>
29+
<li><a href="mocking_manual.html">CppUMock Manual</a></li>
30+
<li class="divider-vertical"></li>
31+
<li><a href="docs/index.html">Doxygen Documentation</a></li>
32+
<li class="divider-vertical"></li>
33+
<li><a href="https://github.com/cpputest/cpputest"><span class="github_icon"></span><span>View on
34+
GitHub</span></a></li>
35+
</ul>
36+
</div>
37+
</div>
38+
</nav>
39+
40+
<section id="downloads">
41+
<a href="https://github.com/downloads/cpputest/cpputest/CppUTest-v3.3.zip" class="btn btn-inverse">Download Release 3.3 as .zip</a>
42+
<a href="https://github.com/downloads/cpputest/cpputest/CppUTest-v3.3.tar.gz" class="btn btn-inverse">Download Release 3.3 as .tar.gz</a>
43+
<a href="https://github.com/cpputest/cpputest/zipball/master" class="btn btn-inverse">Download latest code as .zip</a>
44+
</section>
45+
</div>
46+
</header>
47+
48+
<div class="container">
49+
<section id="main_content">

_layouts/default.html

+3-54
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,5 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<meta charset='utf-8'>
5-
<meta http-equiv="X-UA-Compatible" content="chrome=1">
1+
{% include header.html %}
62

7-
<link rel="stylesheet" type="text/css" href="stylesheets/bootstrap.min.css" media="screen" />
8-
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
9-
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
3+
{{ content }}
104

11-
<title>Cpputest</title>
12-
</head>
13-
14-
<body>
15-
16-
<header>
17-
<div class="container">
18-
<h1>Cpputest</h1>
19-
<h2>CppUTest unit testing and mocking framework for C/C++</h2>
20-
21-
<nav>
22-
<div class="navbar navbar-inverse">
23-
<div class="navbar-inner">
24-
<a class="brand" href="index.html">CppUTest</a>
25-
<ul class="nav">
26-
<li class="divider-vertical"></li>
27-
<li><a href="manual.html">Core Manual</a></li>
28-
<li class="divider-vertical"></li>
29-
<li><a href="mocking_manual.html">CppUMock Manual</a></li>
30-
<li class="divider-vertical"></li>
31-
<li><a href="docs/index.html">Doxygen Documentation</a></li>
32-
<li class="divider-vertical"></li>
33-
<li><a href="https://github.com/cpputest/cpputest"><span class="github_icon"></span><span>View on
34-
GitHub</span></a></li>
35-
</ul>
36-
</div>
37-
</div>
38-
</nav>
39-
40-
<section id="downloads">
41-
<a href="https://github.com/downloads/cpputest/cpputest/CppUTest-v3.3.zip" class="btn btn-inverse">Download Release 3.3 as .zip</a>
42-
<a href="https://github.com/downloads/cpputest/cpputest/CppUTest-v3.3.tar.gz" class="btn btn-inverse">Download Release 3.3 as .tar.gz</a>
43-
<a href="https://github.com/cpputest/cpputest/zipball/master" class="btn btn-inverse">Download latest code as .zip</a>
44-
</section>
45-
</div>
46-
</header>
47-
48-
<div class="container">
49-
<section id="main_content">
50-
{{ content }}
51-
</section>
52-
</div>
53-
54-
55-
</body>
56-
</html>
5+
{% include footer.html %}

0 commit comments

Comments
 (0)