Skip to content

Commit 59a08b7

Browse files
committed
Updates for example-050 - page of pages.
Updating the `include` helper to pass in `opts.data` instead of `opts` so it better reflects what the context would be for the template. Updating the `example-050` folder with an example of creating the page of pages.
1 parent 7145f0e commit 59a08b7

35 files changed

+1772
-344
lines changed

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ module.exports = function(grunt) {
8181
}
8282
},
8383
example050: {
84-
files: {'_gh_pages/example-050/': ['example-050/index.hbs']},
84+
files: {'_gh_pages/example-050/': ['example-050/index.hbs', 'example-050/alert-*.hbs']},
8585
options: {
86+
example: 'example-050',
8687
partials: 'example-050/pagination.hbs',
8788
styles: 'example-050/styles.css',
8889
data: 'example-050/*.json'

_gh_pages/about.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<![endif]-->
2727

2828
<!-- Google web fonts -->
29-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Open+Sans:400,600,700,300|Open+Sans+Condensed:300,700">
3029

3130
<!-- Favicons -->
3231
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png.html">
@@ -70,19 +69,18 @@
7069
<!-- Content -->
7170
<div class="container">
7271
<h1>About</h1>
73-
Voluptate ea in sint voluptate sit in enim sit laboris amet laboris consectetur magna laboris. Duis duis ex irure qui ad laborum occaecat velit ex. Commodo cupidatat cupidatat ut eiusmod adipisicing eiusmod ut sit voluptate commodo voluptate elit voluptate
74-
deserunt.
72+
Non non voluptate enim magna nisi elit et et pariatur nulla dolore excepteur esse aute. Ullamco non occaecat culpa incididunt magna quis quis quis anim ut in. Occaecat ea reprehenderit culpa in fugiat aliqua consectetur elit aliquip ullamco.
7573
<hr>
76-
<p>Nostrud enim dolore sint aliqua anim consectetur tempor sit elit qui duis. Eu anim irure id irure cillum quis irure pariatur sunt sunt Lorem culpa eiusmod. Consequat qui veniam culpa qui enim voluptate reprehenderit nostrud deserunt sunt ullamco
77-
elit occaecat veniam dolore. Tempor deserunt mollit sint culpa nisi veniam esse elit sit nisi. Occaecat sunt cupidatat laboris anim voluptate est id consectetur sunt nisi velit quis consequat dolore exercitation ex pariatur quis voluptate. Veniam
78-
do magna mollit ex consectetur exercitation incididunt dolor reprehenderit officia sunt id. Dolore deserunt pariatur tempor enim consectetur laboris anim culpa culpa mollit deserunt.</p>
79-
<p>Laboris irure laborum pariatur reprehenderit incididunt id minim reprehenderit ipsum fugiat Lorem laboris velit tempor eu tempor ullamco nulla. Ea culpa cillum nisi velit excepteur dolore exercitation exercitation reprehenderit irure enim nostrud
80-
incididunt ullamco est. Irure fugiat esse anim Lorem proident cillum nostrud duis magna laboris aliqua veniam aliquip mollit in nostrud id qui. Magna in dolore culpa esse reprehenderit fugiat velit cillum commodo nisi ea laboris. Consectetur sit
81-
veniam proident ad irure et do cupidatat eiusmod anim voluptate aliquip ipsum. Ut dolor ipsum sit proident do esse aliqua et incididunt nulla irure eiusmod aute labore. Est eu consequat occaecat ut sint est et amet mollit ex ut.</p>
82-
<p>Officia magna anim nisi aliqua et qui ullamco culpa consectetur deserunt nulla adipisicing id officia aliquip duis laboris aliquip cillum. Magna minim incididunt eiusmod eiusmod minim non tempor sint aliquip nulla aute sit eiusmod commodo duis fugiat.
83-
Dolor laboris culpa cillum voluptate excepteur amet eu mollit veniam proident do sit deserunt voluptate est enim ullamco.</p>
84-
<hr>Officia ad fugiat nulla commodo ut labore minim veniam dolore. Pariatur non tempor ea anim sit eiusmod nisi eu exercitation ex ut laborum nisi. Cupidatat nulla enim consectetur sint in excepteur et eiusmod ad.
85-
<hr>dolor cupidatat veniam ex est
74+
<p>Ut irure ex aute anim reprehenderit cupidatat in tempor ad. Duis sint ut commodo deserunt qui labore qui qui incididunt id eiusmod voluptate dolor et incididunt ad deserunt aliqua. Pariatur deserunt esse irure reprehenderit eu consequat ea ipsum
75+
occaecat. Consequat cillum exercitation sit ex ut est labore aute laboris consectetur reprehenderit. Culpa excepteur laboris excepteur culpa excepteur aliquip ipsum qui consectetur mollit tempor laboris id culpa commodo exercitation ex ipsum excepteur.</p>
76+
<p>Proident veniam duis amet et anim quis nisi cillum et excepteur eu. Laborum cillum est quis est sunt cillum nostrud irure ut eiusmod quis anim do duis in. In exercitation exercitation elit aliqua cillum fugiat amet magna exercitation qui. Excepteur
77+
consectetur adipisicing sunt duis proident voluptate qui consectetur ad eiusmod velit.</p>
78+
<p>Voluptate elit irure ut dolor voluptate nisi amet sunt elit labore commodo in nulla sunt cupidatat adipisicing. Eiusmod labore mollit anim consequat in velit eu eu voluptate ullamco eu sit labore. Fugiat excepteur dolore incididunt nulla amet enim
79+
eiusmod incididunt consequat irure exercitation pariatur ipsum enim sit ex nulla. Veniam sunt cillum proident laborum consectetur laborum irure veniam in aute in ullamco aute. Aliqua occaecat dolor esse ut Lorem exercitation exercitation qui consectetur
80+
eiusmod proident non eiusmod minim tempor exercitation nulla esse. Laborum aliqua esse reprehenderit in aliqua est eiusmod exercitation exercitation minim.</p>
81+
<hr>Consectetur sint est officia dolore cillum amet consectetur cupidatat consectetur aute amet amet esse. Pariatur elit laborum consequat Lorem excepteur ipsum excepteur ipsum adipisicing nulla. Duis qui officia qui in aute qui incididunt anim voluptate
82+
commodo.
83+
<hr>ullamco culpa anim commodo pariatur
8684
</div>
8785

8886
<!-- JS and analytics only. -->

_gh_pages/alert-01.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<![endif]-->
2727

2828
<!-- Google web fonts -->
29-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Open+Sans:400,600,700,300|Open+Sans+Condensed:300,700">
3029

3130
<!-- Favicons -->
3231
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png.html">

_gh_pages/alert-02.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<![endif]-->
2727

2828
<!-- Google web fonts -->
29-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Open+Sans:400,600,700,300|Open+Sans+Condensed:300,700">
3029

3130
<!-- Favicons -->
3231
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png.html">

_gh_pages/alert-03.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<![endif]-->
2727

2828
<!-- Google web fonts -->
29-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Open+Sans:400,600,700,300|Open+Sans+Condensed:300,700">
3029

3130
<!-- Favicons -->
3231
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png.html">

_gh_pages/alert-04.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<![endif]-->
2727

2828
<!-- Google web fonts -->
29-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Open+Sans:400,600,700,300|Open+Sans+Condensed:300,700">
3029

3130
<!-- Favicons -->
3231
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="assets/ico/apple-touch-icon-144-precomposed.png.html">

_gh_pages/example-000/alert-01.html

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta name="description" content="">
8+
<meta name="author" content="">
9+
<title>alert-default | Bootstrap Components</title>
10+
11+
<!-- Core CSS -->
12+
<link href="../assets/css/blog.css" rel="stylesheet">
13+
<link href="../assets/css/docs.css" rel="stylesheet">
14+
15+
<!-- Documentation extras -->
16+
<link href="../assets/css/github.css" rel="stylesheet">
17+
18+
<!--[if lt IE 9]><script src="docs-assets/js/ie8-responsive-file-warning.js"></script>
19+
<![endif]-->
20+
21+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
22+
23+
<!--[if lt IE 9]>
24+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
25+
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
26+
<![endif]-->
27+
28+
<!-- Google web fonts -->
29+
30+
<!-- Favicons -->
31+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png.html">
32+
<link rel="shortcut icon" href="../assets/ico/favicon.png.html">
33+
<script>
34+
var _gaq = _gaq || [];
35+
_gaq.push(['_setAccount', '']);
36+
_gaq.push(['_trackPageview']);
37+
(function() {
38+
var ga = document.createElement('script');
39+
ga.async = true;
40+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
41+
var s = document.getElementsByTagName('script')[0];
42+
s.parentNode.insertBefore(ga, s);
43+
})();
44+
</script>
45+
</head>
46+
<body>
47+
<a class="sr-only" href="#content">Skip navigation</a>
48+
49+
<!-- Navbar -->
50+
<header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav" role="banner">
51+
<div class="container">
52+
<div class="navbar-header">
53+
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
54+
<span class="sr-only">Toggle navigation</span>
55+
<span class="icon-bar"></span>
56+
<span class="icon-bar"></span>
57+
<span class="icon-bar"></span>
58+
</button>
59+
<a href="../index.html" class="navbar-brand">Bootstrap Components</a>
60+
</div>
61+
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
62+
<ul class="nav navbar-nav navbar-right">
63+
<li> <a href="../about.html">About</a> </li>
64+
</ul>
65+
</nav>
66+
</div>
67+
</header>
68+
69+
<!-- Content -->
70+
<div class="container">
71+
72+
<!-- Pager -->
73+
<ul class="pager ">
74+
<li class="previous">
75+
<a href="alert-01.html">&larr; Previous</a>
76+
</li>
77+
<li class="next">
78+
<a href="alert-02.html">Next &rarr;</a>
79+
</li>
80+
</ul>
81+
82+
<!-- Header -->
83+
<div class="bs-docs-section">
84+
<div class="page-header">
85+
<h1 id="alert-01">alert-default</h1>
86+
</div>
87+
</div>
88+
89+
<!-- Component -->
90+
<div class="bs-example">
91+
<div class="alert ">
92+
<strong>Foo</strong> Not much going on here. You successfully read
93+
<a href="http://github.com/assemble/assemble/" class="alert-link">this important alert message</a>.
94+
</div>
95+
</div>
96+
</div>
97+
98+
<!-- JS and analytics only. -->
99+
100+
<!-- Bootstrap core JavaScript
101+
================================================== -->
102+
103+
<!-- Placed at the end of the document so the pages load faster -->
104+
<script src="../assets/js/jquery.js"></script>
105+
<script src="../assets/js/bootstrap.js"></script>
106+
<script src="http://platform.twitter.com/widgets.js"></script>
107+
<script src="../assets/js/holder.js"></script>
108+
<script src="../assets/js/highlight.js"></script>
109+
<script>
110+
hljs.initHighlightingOnLoad();
111+
</script>
112+
<script src="../assets/js/application.js"></script>
113+
114+
<!-- Analytics
115+
================================================== -->
116+
<script>
117+
var _gauges = _gauges || [];
118+
(function() {
119+
var t = document.createElement('script');
120+
t.async = true;
121+
t.id = 'gauges-tracker';
122+
t.setAttribute('data-site-id', '');
123+
t.src = '//secure.gaug.es/track.js';
124+
var s = document.getElementsByTagName('script')[0];
125+
s.parentNode.insertBefore(t, s);
126+
})();
127+
</script>
128+
</body>
129+
</html>

_gh_pages/example-000/alert-02.html

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<meta name="description" content="">
8+
<meta name="author" content="">
9+
<title>alert-warning | Bootstrap Components</title>
10+
11+
<!-- Core CSS -->
12+
<link href="../assets/css/blog.css" rel="stylesheet">
13+
<link href="../assets/css/docs.css" rel="stylesheet">
14+
15+
<!-- Documentation extras -->
16+
<link href="../assets/css/github.css" rel="stylesheet">
17+
18+
<!--[if lt IE 9]><script src="docs-assets/js/ie8-responsive-file-warning.js"></script>
19+
<![endif]-->
20+
21+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
22+
23+
<!--[if lt IE 9]>
24+
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
25+
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
26+
<![endif]-->
27+
28+
<!-- Google web fonts -->
29+
30+
<!-- Favicons -->
31+
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png.html">
32+
<link rel="shortcut icon" href="../assets/ico/favicon.png.html">
33+
<script>
34+
var _gaq = _gaq || [];
35+
_gaq.push(['_setAccount', '']);
36+
_gaq.push(['_trackPageview']);
37+
(function() {
38+
var ga = document.createElement('script');
39+
ga.async = true;
40+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
41+
var s = document.getElementsByTagName('script')[0];
42+
s.parentNode.insertBefore(ga, s);
43+
})();
44+
</script>
45+
</head>
46+
<body>
47+
<a class="sr-only" href="#content">Skip navigation</a>
48+
49+
<!-- Navbar -->
50+
<header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav" role="banner">
51+
<div class="container">
52+
<div class="navbar-header">
53+
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
54+
<span class="sr-only">Toggle navigation</span>
55+
<span class="icon-bar"></span>
56+
<span class="icon-bar"></span>
57+
<span class="icon-bar"></span>
58+
</button>
59+
<a href="../index.html" class="navbar-brand">Bootstrap Components</a>
60+
</div>
61+
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
62+
<ul class="nav navbar-nav navbar-right">
63+
<li> <a href="../about.html">About</a> </li>
64+
</ul>
65+
</nav>
66+
</div>
67+
</header>
68+
69+
<!-- Content -->
70+
<div class="container">
71+
72+
<!-- Pager -->
73+
<ul class="pager ">
74+
<li class="previous">
75+
<a href="alert-01.html">&larr; Previous</a>
76+
</li>
77+
<li class="next">
78+
<a href="alert-03.html">Next &rarr;</a>
79+
</li>
80+
</ul>
81+
82+
<!-- Header -->
83+
<div class="bs-docs-section">
84+
<div class="page-header">
85+
<h1 id="alert-02">alert-warning</h1>
86+
</div>
87+
</div>
88+
89+
<!-- Component -->
90+
<div class="bs-example">
91+
<div class="alert alert-warning">
92+
<strong>Warning!</strong> Best check yo self, you're not looking too good. Best check yo self, you're
93+
<a href="http://github.com/assemble/assemble/" class="alert-link">not looking too good</a>.
94+
</div>
95+
</div>
96+
</div>
97+
98+
<!-- JS and analytics only. -->
99+
100+
<!-- Bootstrap core JavaScript
101+
================================================== -->
102+
103+
<!-- Placed at the end of the document so the pages load faster -->
104+
<script src="../assets/js/jquery.js"></script>
105+
<script src="../assets/js/bootstrap.js"></script>
106+
<script src="http://platform.twitter.com/widgets.js"></script>
107+
<script src="../assets/js/holder.js"></script>
108+
<script src="../assets/js/highlight.js"></script>
109+
<script>
110+
hljs.initHighlightingOnLoad();
111+
</script>
112+
<script src="../assets/js/application.js"></script>
113+
114+
<!-- Analytics
115+
================================================== -->
116+
<script>
117+
var _gauges = _gauges || [];
118+
(function() {
119+
var t = document.createElement('script');
120+
t.async = true;
121+
t.id = 'gauges-tracker';
122+
t.setAttribute('data-site-id', '');
123+
t.src = '//secure.gaug.es/track.js';
124+
var s = document.getElementsByTagName('script')[0];
125+
s.parentNode.insertBefore(t, s);
126+
})();
127+
</script>
128+
</body>
129+
</html>

0 commit comments

Comments
 (0)