bonsai 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +14 -0
- data/README.md +8 -0
- data/VERSION +1 -1
- data/bonsai.gemspec +2 -2
- data/lib/bonsai/templates/content/1.varieties/1.fig/default.yml +2 -1
- data/lib/bonsai/templates/content/1.varieties/2.maple/default.yml +2 -1
- data/lib/bonsai/templates/content/2.cultivation/default.yml +2 -1
- data/lib/bonsai/templates/content/3.history/default.yml +2 -1
- data/lib/bonsai/templates/content/index/default.yml +5 -1
- data/lib/bonsai/templates/public/css/base.less +16 -10
- data/lib/bonsai/templates/templates/default.mustache +9 -4
- data/lib/bonsai/templates/templates/products.mustache +14 -8
- data/lib/bonsai/templates/templates/shared/footer.mustache +1 -1
- data/lib/bonsai/templates/templates/shared/head.mustache +2 -2
- data/lib/bonsai/templates/templates/shared/header.mustache +2 -10
- data/lib/bonsai/templates/templates/shared/nav.mustache +5 -5
- metadata +2 -2
data/CHANGES
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
= 1.1.6 (27/02/2010)
|
2
|
+
|
3
|
+
* Updates to default templates
|
4
|
+
- Sans-serif rather than serif
|
5
|
+
- Bit cleaner
|
6
|
+
- Contains copyright info
|
7
|
+
- Thanks to Philip Harrison (Added to Credits in README.md)
|
8
|
+
|
9
|
+
= 1.1.5 (16/02/2010)
|
10
|
+
|
11
|
+
* Fixed an issue that affected v.1.1.4 only where an old
|
12
|
+
sitemap would cause the server to crash. All future updates
|
13
|
+
will contain this fix / warning.
|
14
|
+
|
1
15
|
= 1.1.4 (12/02/2010)
|
2
16
|
|
3
17
|
* Using the gem bundler for development environments
|
data/README.md
CHANGED
@@ -24,6 +24,13 @@ Bonsai is a static web site generator, it uses the best tools available for site
|
|
24
24
|
|
25
25
|
Type `bonsai --help` for any help with commands
|
26
26
|
|
27
|
+
## Presentation
|
28
|
+
|
29
|
+
* Introducing Bonsai - at Melbourne Ruby, January 2010
|
30
|
+
|
31
|
+
* [Video](http://vimeo.com/9537550) (with slides)
|
32
|
+
* [Slides](http://www.slideshare.net/benschwarz/introducing-bonsai)
|
33
|
+
|
27
34
|
|
28
35
|
## Development server
|
29
36
|
|
@@ -75,6 +82,7 @@ When I found something that didn't quite work, was too slow or perhaps not even
|
|
75
82
|
* [Justin Ridgewell](git://github.com/somedumbme91)
|
76
83
|
* [Ralph von der Heyden](http://github.com/ralph)
|
77
84
|
* [David Goodlad](http://github.com/dgoodlad)
|
85
|
+
* [Philip Harrison](http://github.com/Harrison)
|
78
86
|
|
79
87
|
## Note on Patches/Pull Requests
|
80
88
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.6
|
data/bonsai.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bonsai}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Schwarz"]
|
12
|
-
s.date = %q{2010-02-
|
12
|
+
s.date = %q{2010-02-27}
|
13
13
|
s.default_executable = %q{bonsai}
|
14
14
|
s.description = %q{A static site generator that uses the best toolset available}
|
15
15
|
s.email = %q{ben.schwarz@gmail.com}
|
@@ -1,3 +1,4 @@
|
|
1
1
|
:headline: Tasty fruit!
|
2
2
|
:body: |
|
3
|
-
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
3
|
+
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
4
|
+
|
@@ -1,3 +1,4 @@
|
|
1
1
|
:headline: Japanese maple
|
2
2
|
:body: |
|
3
|
-
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
3
|
+
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
|
4
|
+
|
@@ -1,3 +1,4 @@
|
|
1
1
|
:headline: Cultivation techniques
|
2
2
|
:body: |
|
3
|
-
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas
|
3
|
+
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas
|
4
|
+
|
@@ -1,3 +1,4 @@
|
|
1
1
|
:headline: History of the Bonsai
|
2
2
|
:body: |
|
3
|
-
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas
|
3
|
+
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas
|
4
|
+
|
@@ -1,3 +1,7 @@
|
|
1
1
|
:headline: Welcome to Bonsai
|
2
2
|
:body: |
|
3
|
-
A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.
|
3
|
+
A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.
|
4
|
+
|
5
|
+
Donec gravida posuere arcu. Nulla facilisi. Phasellus imperdiet. Vestibulum at metus. Integer euismod. Nullam placerat rhoncus sapien. Ut euismod. Praesent libero. Morbi pellentesque libero sit amet ante. Maecenas tellus. Maecenas erat. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas
|
6
|
+
|
7
|
+
|
@@ -1,25 +1,21 @@
|
|
1
1
|
/* HTML resets */
|
2
|
-
h1, h2, h3, h4, h5, h6, p, ol, ul { margin: 0; padding: 0; font-weight: normal; }
|
2
|
+
h1, h2, h3, h4, h5, h6, p, ol, ul, li div, body, html, img, form, fieldset, input, textarea, p{ margin: 0; padding: 0; font-weight: normal; font-size: 100%; outline: none; border: none;}
|
3
3
|
|
4
4
|
/* HTML5 block elements */
|
5
5
|
header, section, article, footer, aside, nav { display: block; }
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
7
|
/* Put your styles below here */
|
12
8
|
#wrapper { margin: 0 auto; width: 660px; }
|
13
9
|
|
10
|
+
body { font-family: "Helvetica Neue", Helvetica, Arial, Geneva, sans-serif; }
|
11
|
+
|
14
12
|
header {
|
15
13
|
position: relative; margin-top: 5em;
|
16
14
|
|
17
|
-
span { display: block; }
|
18
|
-
|
19
15
|
#logo {
|
20
|
-
width: 145px; height: 145px; -moz-border-radius: 72px; -webkit-border-radius: 72px;
|
21
|
-
a { color: white; text-decoration: none; position: absolute; margin: 1em 0
|
22
|
-
|
16
|
+
text-align: center; width: 145px; height: 145px; -moz-border-radius: 72px; -webkit-border-radius: 72px; background-color: black; color: white; margin: 0 auto;
|
17
|
+
a { font-weight: 100; color: white; text-transform: lowercase; text-decoration: none; position: absolute; margin: 1em 0 0em 1.5em; }
|
18
|
+
}
|
23
19
|
|
24
20
|
#navigation {
|
25
21
|
margin: 5em 0; text-transform: lowercase; text-align: center; font-style: italic; font-size: 0.8em;
|
@@ -41,4 +37,14 @@ nav li { display: inline; list-style-type: none; }
|
|
41
37
|
}
|
42
38
|
|
43
39
|
nav, footer { margin: 1em 0; }
|
40
|
+
|
44
41
|
h1, h2, h3, h4, h5, h6 { margin: 1.25em 0; }
|
42
|
+
|
43
|
+
h1 { font-size: 2em; }
|
44
|
+
h2 { font-size: 1.6em; }
|
45
|
+
h3 { font-size: 1.4em; }
|
46
|
+
h4 { font-size: 1.2em; }
|
47
|
+
h5 { font-size: 1em; }
|
48
|
+
h6 { font-size: 0.9em; }
|
49
|
+
|
50
|
+
p { font-size: 0.8em; line-height: 140%; margin-bottom: 10px; }
|
@@ -1,12 +1,17 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="en">
|
3
3
|
{{> shared/head}}
|
4
|
-
<body id="{{slug}}"
|
4
|
+
<body id="{{slug}}">
|
5
5
|
<section id="wrapper">
|
6
|
-
{{> shared/header}}
|
7
|
-
|
6
|
+
{{> shared/header}}
|
7
|
+
|
8
|
+
<article>
|
9
|
+
<h2>{{headline}}</h2>
|
10
|
+
{{{body}}}
|
11
|
+
</article>
|
12
|
+
|
8
13
|
{{> shared/footer}}
|
9
14
|
</section>
|
10
15
|
{{> shared/analytics }}
|
11
16
|
</body>
|
12
|
-
</html>
|
17
|
+
</html>
|
@@ -1,17 +1,23 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="en">
|
3
3
|
{{> shared/head}}
|
4
|
-
<body id="{{slug}}"
|
4
|
+
<body id="{{slug}}">
|
5
5
|
<section id="wrapper">
|
6
6
|
{{> shared/header}}
|
7
|
-
|
8
|
-
<ul id="sub-navigation">
|
9
|
-
{{# children}}
|
10
|
-
<li><a href="{{permalink}}">{{name}}</a></li>
|
11
|
-
{{/ children}}
|
12
|
-
</ul>
|
13
|
-
{{{body}}}
|
14
7
|
|
8
|
+
<article>
|
9
|
+
<h2>{{headline}}</h2>
|
10
|
+
{{{body}}}
|
11
|
+
</article>
|
12
|
+
|
13
|
+
<nav id="sub-navigation">
|
14
|
+
<ol>
|
15
|
+
{{# children}}
|
16
|
+
<li><a href="{{permalink}}">{{name}}</a></li>
|
17
|
+
{{/ children}}
|
18
|
+
</ol>
|
19
|
+
</nav>
|
20
|
+
|
15
21
|
{{> shared/footer}}
|
16
22
|
</section>
|
17
23
|
</body>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<head>
|
2
|
-
<meta
|
3
|
-
<title>{{headline}}</title>
|
2
|
+
<meta charset=UTF-8>
|
3
|
+
<title>{{headline}} | {{site_name}}</title>
|
4
4
|
<link rel="stylesheet" href="/css/base.css" type="text/css">
|
5
5
|
<!--[if IE]>
|
6
6
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
@@ -1,13 +1,5 @@
|
|
1
1
|
<header>
|
2
|
-
<h1 id="logo">
|
3
|
-
<a href="/" rel="home">
|
4
|
-
<span>Tiny</span>
|
5
|
-
<span>Tree</span>
|
6
|
-
</a>
|
7
|
-
</h1>
|
8
|
-
|
2
|
+
<h1 id="logo"><a href="/" rel="home">Tiny<br />Tree</a></h1>
|
9
3
|
{{> shared/nav}}
|
10
4
|
{{> shared/breadcrumbs}}
|
11
|
-
|
12
|
-
|
13
|
-
</header>
|
5
|
+
</header>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bonsai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Schwarz
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-27 00:00:00 +11:00
|
13
13
|
default_executable: bonsai
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|