Skip to content

Commit 39f2bbc

Browse files
committed
Initial BitThunder website, based on jekyll.
1 parent 303f826 commit 39f2bbc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+5603
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site/
2+
*.swp
3+
pkg/
4+
test/
5+
.DS_Store

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bitthunder.org

README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BitThunder website.

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pygments: true
2+
relative_permalinks: false

_includes/analytics.html

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{% if site.gauges_id %}
2+
<!-- Gauges (http://gaug.es/) -->
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', '{{ site.gauges_id }}');
11+
t.src = '//secure.gaug.es/track.js';
12+
var s = document.getElementsByTagName('script')[0];
13+
s.parentNode.insertBefore(t, s);
14+
})();
15+
</script>
16+
{% endif %}
17+
18+
{% if site.google_analytics_id %}
19+
<!-- Google Analytics (http://google.com/analytics) -->
20+
<script type="text/javascript">
21+
var _gaq = _gaq || [];
22+
_gaq.push(['_setAccount', '{{ site.google_analytics_id }}']);
23+
_gaq.push(['_setDomainName', '{{ site.url }}']); // Multiple sub-domains
24+
_gaq.push(['_setAllowLinker', true]); // Multiple TLDs
25+
_gaq.push(['_trackPageview']);
26+
(function() {
27+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
28+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
29+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
30+
})();
31+
</script>
32+
{% endif %}

_includes/docs_contents.html

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<div class="unit one-fifth hide-on-mobiles">
2+
<aside>
3+
<h4>Getting Started</h4>
4+
<ul>
5+
<li class="{% if page.title == "Welcome" %}current{% endif %}">
6+
<a href="{{ site.url }}/docs/home">Welcome</a>
7+
</li>
8+
<li class="{% if page.title == "Installation" %}current{% endif %}">
9+
<a href="{{ site.url }}/docs/installation">Installation</a>
10+
</li>
11+
<li class="{% if page.title == "Basic Usage" %}current{% endif %}">
12+
<a href="{{ site.url }}/docs/usage">Basic Usage</a>
13+
</li>
14+
<li class="{% if page.title == "Directory structure" %}current{% endif %}">
15+
<a href="{{ site.url }}/docs/structure">Directory structure</a>
16+
</li>
17+
<li class="{% if page.title == "Configuration" %}current{% endif %}">
18+
<a href="{{ site.url }}/docs/configuration">Configuration</a>
19+
</li>
20+
</ul>
21+
<h4>Your Content</h4>
22+
<ul>
23+
<li class="{% if page.title == "Front-matter" %}current{% endif %}">
24+
<a href="{{ site.url }}/docs/frontmatter">Front-matter</a>
25+
</li>
26+
<li class="{% if page.title == "Writing posts" %}current{% endif %}">
27+
<a href="{{ site.url }}/docs/posts">Writing posts</a>
28+
</li>
29+
<li class="{% if page.title == "Creating pages" %}current{% endif %}">
30+
<a href="{{ site.url }}/docs/pages">Creating pages</a>
31+
</li>
32+
<li class="{% if page.title == "Variables" %}current{% endif %}">
33+
<a href="{{ site.url }}/docs/variables">Variables</a>
34+
</li>
35+
<li class="{% if page.title == "Blog migrations" %}current{% endif %}">
36+
<a href="{{ site.url }}/docs/migrations">Blog migrations</a>
37+
</li>
38+
</ul>
39+
<h4>Customization</h4>
40+
<ul>
41+
<li class="{% if page.title == "Templates" %}current{% endif %}">
42+
<a href="{{ site.url }}/docs/templates">Templates</a>
43+
</li>
44+
<li class="{% if page.title == "Permalinks" %}current{% endif %}">
45+
<a href="{{ site.url }}/docs/permalinks">Permalinks</a>
46+
</li>
47+
<li class="{% if page.title == "Pagination" %}current{% endif %}">
48+
<a href="{{ site.url }}/docs/pagination">Pagination</a>
49+
</li>
50+
<li class="{% if page.title == "Plugins" %}current{% endif %}">
51+
<a href="{{ site.url }}/docs/plugins">Plugins</a>
52+
</li>
53+
<li class="{% if page.title == "Extras" %}current{% endif %}">
54+
<a href="{{ site.url }}/docs/extras">Extras</a>
55+
</li>
56+
</ul>
57+
<h4>Deployment</h4>
58+
<ul>
59+
<li class="{% if page.title == "GitHub Pages" %}current{% endif %}">
60+
<a href="{{ site.url }}/docs/github-pages">GitHub Pages</a>
61+
</li>
62+
<li class="{% if page.title == "Deployment methods" %}current{% endif %}">
63+
<a href="{{ site.url }}/docs/deployment-methods">Other methods</a>
64+
</li>
65+
</ul>
66+
<h4>Miscellaneous</h4>
67+
<ul>
68+
<li class="{% if page.title == "Contributing" %}current{% endif %}">
69+
<a href="{{ site.url }}/docs/contributing">Contributing</a>
70+
</li>
71+
<li class="{% if page.title == "Troubleshooting" %}current{% endif %}">
72+
<a href="{{ site.url }}/docs/troubleshooting">Troubleshooting</a>
73+
</li>
74+
<li class="{% if page.title == "Sites using Jekyll" %}current{% endif %}">
75+
<a href="{{ site.url }}/docs/sites">Sites using Jekyll</a>
76+
</li>
77+
<li class="{% if page.title == "Resources" %}current{% endif %}">
78+
<a href="{{ site.url }}/docs/resources">Resources</a>
79+
</li>
80+
<li class="{% if page.title == "Upgrading" %}current{% endif %}">
81+
<a href="{{ site.url }}/docs/upgrading">Upgrading</a>
82+
</li>
83+
</ul>
84+
</aside>
85+
</div>

_includes/docs_contents_mobile.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<div class="docs-nav-mobile unit whole show-on-mobiles">
2+
<select onchange="if (this.value) window.location.href=this.value">
3+
<option value="">Navigate the docs…</option>
4+
<optgroup label="Getting started">
5+
<option value="{{ site.url }}/docs/home">Welcome</option>
6+
<option value="{{ site.url }}/docs/installation">Installation</option>
7+
<option value="{{ site.url }}/docs/usage">Basic Usage</option>
8+
<option value="{{ site.url }}/docs/structure">Directory structure</option>
9+
<option value="{{ site.url }}/docs/configuration">Configuration</option>
10+
</optgroup>
11+
<optgroup label="Your Content">
12+
<option value="{{ site.url }}/docs/frontmatter">Front-matter</option>
13+
<option value="{{ site.url }}/docs/posts">Writing posts</option>
14+
<option value="{{ site.url }}/docs/pages">Creating pages</option>
15+
<option value="{{ site.url }}/docs/variables">Variables</option>
16+
<option value="{{ site.url }}/docs/migrations">Blog migrations</option>
17+
</optgroup>
18+
<optgroup label="Customization">
19+
<option value="{{ site.url }}/docs/templates">Templates</option>
20+
<option value="{{ site.url }}/docs/permalinks">Permalinks</option>
21+
<option value="{{ site.url }}/docs/pagination">Pagination</option>
22+
<option value="{{ site.url }}/docs/plugins">Plugins</option>
23+
<option value="{{ site.url }}/docs/extras">Extras</option>
24+
</optgroup>
25+
<optgroup label="Deployment">
26+
<option value="{{ site.url }}/docs/github-pages">GitHub Pages</option>
27+
<option value="{{ site.url }}/docs/deployment-methods">Other methods</option>
28+
</optgroup>
29+
<optgroup label="Miscellaneous">
30+
<option value="{{ site.url }}/docs/contributing">Contributing</option>
31+
<option value="{{ site.url }}/docs/troubleshooting">Troubleshooting</option>
32+
<option value="{{ site.url }}/docs/sites">Sites using Jekyll</option>
33+
<option value="{{ site.url }}/docs/resources">Resources</option>
34+
</optgroup>
35+
</select>
36+
</div>

_includes/footer.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<footer>
2+
<div class="grid">
3+
<div class="unit one-third center-on-mobiles">
4+
<p>By <a href="http://james.walms.co.uk">James Walmsley</a>, Robert Steinbauer, and many more <a href="https://github.com/jameswalmsley/bitthunder/graphs/contributors">awesome&nbsp;contributors</a>.</p>
5+
</div>
6+
<div class="unit two-thirds align-right center-on-mobiles">
7+
<p>
8+
Proudly hosted by
9+
<a href="https://github.com">
10+
<img src="{{ site.url }}/img/footer-logo.png" alt="GitHub • Social coding">
11+
</a>
12+
</p>
13+
</div>
14+
</div>
15+
</footer>

_includes/header.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<header>
2+
<nav class="mobile-nav show-on-mobiles">
3+
{% include primary-nav-items.html %}
4+
</nav>
5+
<div class="grid">
6+
<div class="unit one-third center-on-mobiles">
7+
<h1>
8+
<a href="{{ site.url }}/">
9+
<span>BitThunder</span>
10+
<img src="{{ site.url }}/img/bt-logo.png" width="250px" height="115px" alt="">
11+
</a>
12+
</h1>
13+
</div>
14+
<nav class="main-nav unit two-thirds hide-on-mobiles">
15+
{% include primary-nav-items.html %}
16+
</nav>
17+
</div>
18+
</header>

_includes/primary-nav-items.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<ul>
2+
<li class="{% if page.overview %}current{% endif %}">
3+
<a href="{{ site.url }}/">Overview</a>
4+
</li>
5+
<li class="{% if page.overview %}current{% endif %}">
6+
<a href="{{ site.url }}/">Blog</a>
7+
</li>
8+
<li class="{% unless page.overview %}current{% endunless %}">
9+
<a href="{{ site.url }}/docs/home">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a>
10+
</li>
11+
<li class="">
12+
<a href="https://github.com/jameswalmsley/bitthunder"><span class="hide-on-mobiles">View on </span>GitHub</a>
13+
</li>
14+
</ul>

_includes/section_nav.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<div class="section-nav">
2+
<div class="left align-right">
3+
{% if page.prev_section != null %}
4+
<a href="{{ site.url }}/docs/{{ page.prev_section }}" class="prev">
5+
Back
6+
</a>
7+
{% else %}
8+
<span class="prev disabled">Back</span>
9+
{% endif %}
10+
</div>
11+
<div class="right align-left">
12+
{% if page.next_section != null %}
13+
<a href="{{ site.url }}/docs/{{ page.next_section }}" class="next">
14+
Next
15+
</a>
16+
{% else %}
17+
<span class="next disabled">Next</span>
18+
{% endif %}
19+
</div>
20+
<div class="clear"></div>
21+
</div>
22+

_includes/top.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!DOCTYPE HTML>
2+
<html lang="en-US">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>{{ page.title }}</title>
6+
<meta name="viewport" content="width=device-width,initial-scale=1">
7+
<link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
8+
<link href='http://fonts.googleapis.com/css?family=Arizonia' rel='stylesheet' type='text/css'>
9+
<link rel="stylesheet" href="{{ site.url }}/css/normalize.css" />
10+
<link rel="stylesheet" href="{{ site.url }}/css/gridism.css" />
11+
<link rel="stylesheet" href="{{ site.url }}/css/style.css" />
12+
<link rel="stylesheet" href="{{ site.url }}/css/pygments.css" />
13+
<link rel="icon" type="image/x-icon" href="{{ site.url }}/favicon.png" />
14+
<script src="{{ site.url }}/js/modernizr-2.5.3.min.js"></script>
15+
</head>

_layouts/default.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% include top.html %}
2+
3+
<body class="wrap">
4+
{% include header.html %}
5+
6+
{{ content }}
7+
8+
{% include footer.html %}
9+
{% include analytics.html %}
10+
11+
</body>
12+
</html>

_layouts/docs.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
layout: default
3+
---
4+
5+
<section class="docs">
6+
<div class="grid">
7+
8+
{% include docs_contents_mobile.html %}
9+
10+
<div class="unit four-fifths">
11+
<article>
12+
<h1>{{ page.title }}</h1>
13+
{{ content }}
14+
{% include section_nav.html %}
15+
</article>
16+
</div>
17+
18+
{% include docs_contents.html %}
19+
20+
<div class="clear"></div>
21+
22+
</div>
23+
</section>

0 commit comments

Comments
 (0)