Skip to content

Commit c29f537

Browse files
committed
start work on gh-pages
1 parent d249ee2 commit c29f537

File tree

14 files changed

+1736
-0
lines changed

14 files changed

+1736
-0
lines changed

_config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Code Guide
2+
description: Standards for developing flexible, durable, and sustainable HTML and CSS.
3+
url: http://mdo.github.com/code-guide
4+
5+
source: .
6+
7+
markdown: rdiscount
8+
permalink: pretty
9+
pygments: true

_includes/footer.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<footer class="colophon">
2+
<ul class="quick-links">
3+
<li><a href="http://getbootstrap.com">View the docs</a></li>
4+
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Submit issues</a></li>
5+
<li><a href="https://github.com/twitter/bootstrap/wiki">Roadmap and changelog</a></li>
6+
</ul>
7+
<ul class="quick-links">
8+
<li>
9+
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="112px" height="20px"></iframe>
10+
</li>
11+
<li>
12+
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twitter&repo=bootstrap&type=fork&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="98px" height="20px"></iframe>
13+
</li>
14+
</ul>
15+
<ul class="quick-links">
16+
<li class="follow-btn">
17+
<a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @twbootstrap</a>
18+
</li>
19+
<li class="tweet-btn">
20+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://twitter.github.com/bootstrap/" data-count="horizontal" data-via="twbootstrap" data-related="mdo:Creator of Twitter Bootstrap">Tweet</a>
21+
</li>
22+
</ul>
23+
24+
<p>&copy; 2012. All rights reserved.</p>
25+
</footer>

_includes/header.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<header class="masthead">
2+
<h1>{{ site.name }}</h1>
3+
<p>{{ site.description }}</p>
4+
</header>

_includes/js.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
2+
3+
<script type="text/javascript">
4+
var _gauges = _gauges || [];
5+
(function() {
6+
var t = document.createElement('script');
7+
t.type = 'text/javascript';
8+
t.async = true;
9+
t.id = 'gauges-tracker';
10+
t.setAttribute('data-site-id', '4f6ac530613f5d32c2000037');
11+
t.src = '//secure.gaug.es/track.js';
12+
var s = document.getElementsByTagName('script')[0];
13+
s.parentNode.insertBefore(t, s);
14+
})();
15+
</script>

_includes/tweet-button.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div class="tweet-button">
2+
<a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-count="horizontal" data-via="mdo" data-url="{{ site.url }}" data-text="{{ site.name }}:">Tweet</a>
3+
</div>

_layouts/default.html

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
3+
<head>
4+
<meta http-equiv="content-type" content="text/html; charset=utf-8">
5+
<meta name="viewport" content="width=device-width; initial-scale=1.0, maximum-scale=1">
6+
<link href="/public/ico/favicon.ico" rel="shortcut icon" type="image/x-icon">
7+
<link href="http://gmpg.org/xfn/11" rel="profile">
8+
9+
<title>
10+
{% if page.title %}
11+
{{ page.title }} &middot;
12+
{% endif %}
13+
{{ site.name }}
14+
</title>
15+
16+
<!-- CSS -->
17+
<link rel="stylesheet" href="/public/css/code-guide.css" type="text/css">
18+
</head>
19+
<body>
20+
21+
<div class="container">
22+
23+
{% include header.html %}
24+
25+
{{ content }}
26+
27+
{% include footer.html %}
28+
29+
</div> <!-- /close container -->
30+
31+
{% include js.html %}
32+
33+
</body>
34+
</html>

_layouts/post.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
layout: default
3+
---
4+
5+
<div class="post">
6+
<h1>{{ page.title }}</h1>
7+
<span class="post-date">{{ page.date | date_to_string }}</span>
8+
{% include tweet-button.html %}
9+
{{ content }}
10+
</div>
11+
12+
<div class="related">
13+
<h2>Related Posts</h2>
14+
<ul class="posts">
15+
{% for post in site.related_posts limit:3 %}
16+
<h3><a href="{{ post.url }}">
17+
{{ post.title }}
18+
<small>{{ post.date | date_to_string }}</small>
19+
</a></h3>
20+
{% endfor %}
21+
</ul>
22+
</div>

0 commit comments

Comments
 (0)