braid 1.1.4 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/braid +11 -0
- data/lib/braid/check_gem.rb +58 -0
- data/lib/braid/command.rb +13 -0
- data/lib/braid/commands/diff.rb +1 -1
- data/lib/braid/config.rb +28 -4
- data/{bin/braid → lib/braid/main.rb} +1 -16
- data/lib/braid/mirror.rb +110 -23
- data/lib/braid/operations.rb +9 -6
- data/lib/braid/operations_lite.rb +19 -1
- data/lib/braid/sorbet/fake_runtime.rb +68 -0
- data/lib/braid/sorbet/setup.rb +18 -0
- data/lib/braid/version.rb +1 -1
- data/lib/braid.rb +21 -0
- metadata +12 -75
- data/.gitignore +0 -16
- data/.travis.yml +0 -15
- data/CONTRIBUTING.md +0 -24
- data/Gemfile +0 -3
- data/README.md +0 -234
- data/Rakefile +0 -12
- data/_config.yml +0 -1
- data/braid.gemspec +0 -35
- data/braids-json.schema.json +0 -91
- data/config_versions.md +0 -58
- data/spec/config_spec.rb +0 -59
- data/spec/fixtures/shiny/README +0 -3
- data/spec/fixtures/shiny/other-skit/layout.liquid +0 -219
- data/spec/fixtures/shiny/skit-layout.liquid.test +0 -2
- data/spec/fixtures/shiny/skit1.test +0 -2
- data/spec/fixtures/shiny-conf-1.0.9-lock/.braids.json +0 -10
- data/spec/fixtures/shiny-conf-1.0.9-lock/expected.braids.json +0 -9
- data/spec/fixtures/shiny-conf-1.0.9-lock/skit1/layouts/layout.liquid +0 -219
- data/spec/fixtures/shiny-conf-1.0.9-lock/skit1/preview.png +0 -0
- data/spec/fixtures/shiny-conf-breaking-changes/.braids +0 -14
- data/spec/fixtures/shiny-conf-breaking-changes/Spoon-Knife/README.md +0 -9
- data/spec/fixtures/shiny-conf-breaking-changes/Spoon-Knife/index.html +0 -20
- data/spec/fixtures/shiny-conf-breaking-changes/Spoon-Knife/styles.css +0 -17
- data/spec/fixtures/shiny-conf-breaking-changes/expected.braids.json +0 -10
- data/spec/fixtures/shiny-conf-breaking-changes/skit1/layouts/layout.liquid +0 -219
- data/spec/fixtures/shiny-conf-breaking-changes/skit1/preview.png +0 -0
- data/spec/fixtures/shiny-conf-future/.braids.json +0 -10
- data/spec/fixtures/shiny-conf-future/skit1/layouts/layout.liquid +0 -219
- data/spec/fixtures/shiny-conf-future/skit1/preview.png +0 -0
- data/spec/fixtures/shiny-conf-json-old-name/.braids +0 -9
- data/spec/fixtures/shiny-conf-json-old-name/expected.braids.json +0 -10
- data/spec/fixtures/shiny-conf-json-old-name/skit1/layouts/layout.liquid +0 -219
- data/spec/fixtures/shiny-conf-json-old-name/skit1/preview.png +0 -0
- data/spec/fixtures/shiny-conf-yaml/.braids +0 -8
- data/spec/fixtures/shiny-conf-yaml/expected.braids.json +0 -10
- data/spec/fixtures/shiny-conf-yaml/skit1/layouts/layout.liquid +0 -219
- data/spec/fixtures/shiny-conf-yaml/skit1/preview.png +0 -0
- data/spec/fixtures/shiny_skit1.2_merged/layouts/layout.liquid +0 -223
- data/spec/fixtures/shiny_skit1.2_merged/preview.png +0 -0
- data/spec/fixtures/shiny_skit1_conflicting/layouts/layout.liquid +0 -221
- data/spec/fixtures/shiny_skit1_conflicting/preview.png +0 -0
- data/spec/fixtures/shiny_skit1_mergeable/layouts/layout.liquid +0 -221
- data/spec/fixtures/shiny_skit1_mergeable/preview.png +0 -0
- data/spec/fixtures/skit1/layouts/layout.liquid +0 -219
- data/spec/fixtures/skit1/preview.png +0 -0
- data/spec/fixtures/skit1.1/layouts/layout.liquid +0 -219
- data/spec/fixtures/skit1.1_with_filter/.gitattributes +0 -1
- data/spec/fixtures/skit1.1_with_filter/layouts/layout.liquid +0 -219
- data/spec/fixtures/skit1.1_with_filter/preview.png +0 -0
- data/spec/fixtures/skit1.1x/layouts/layout.liquid +0 -219
- data/spec/fixtures/skit1.2/layouts/layout.liquid +0 -221
- data/spec/fixtures/skit1.3/layouts/README.md +0 -1
- data/spec/fixtures/skit1.3/layouts/layout.liquid +0 -221
- data/spec/fixtures/skit1_with_filter/.gitattributes +0 -1
- data/spec/fixtures/skit1_with_filter/layouts/layout.liquid +0 -219
- data/spec/fixtures/skit1_with_filter/preview.png +0 -0
- data/spec/integration/adding_spec.rb +0 -230
- data/spec/integration/config_versioning_spec.rb +0 -222
- data/spec/integration/diff_spec.rb +0 -597
- data/spec/integration/integration_helper.rb +0 -126
- data/spec/integration/push_spec.rb +0 -402
- data/spec/integration/remove_spec.rb +0 -81
- data/spec/integration/status_spec.rb +0 -165
- data/spec/integration/updating_spec.rb +0 -487
- data/spec/mirror_spec.rb +0 -119
- data/spec/operations_spec.rb +0 -66
- data/spec/test_helper.rb +0 -19
@@ -1,14 +0,0 @@
|
|
1
|
-
--- !ruby/object:Hash
|
2
|
-
Spoon-Knife: !ruby/object:Hash
|
3
|
-
remote: master/braid/Spoon-Knife
|
4
|
-
revision: 18
|
5
|
-
squashed: true
|
6
|
-
type: svn
|
7
|
-
url: https://github.com/octocat/Spoon-Knife.git/trunk
|
8
|
-
skit1: !ruby/object:Hash
|
9
|
-
branch: master
|
10
|
-
remote: master/braid/skit1
|
11
|
-
revision: 6d3aeac08f9f4f9689d367fc771f5f1c90496176
|
12
|
-
squashed: false
|
13
|
-
type: git
|
14
|
-
url: file:///path/to/braid/spec/fixtures/skit1/.git
|
@@ -1,9 +0,0 @@
|
|
1
|
-
### Well hello there!
|
2
|
-
|
3
|
-
This repository is meant to provide an example for *forking* a repository on GitHub.
|
4
|
-
|
5
|
-
Creating a *fork* is producing a personal copy of someone else's project. Forks act as a sort of bridge between the original repository and your personal copy. You can submit *Pull Requests* to help make other people's projects better by offering your changes up to the original project. Forking is at the core of social coding at GitHub.
|
6
|
-
|
7
|
-
After forking this repository, you can make some changes to the project, and submit [a Pull Request](https://github.com/octocat/Spoon-Knife/pulls) as practice.
|
8
|
-
|
9
|
-
For some more information on how to fork a repository, [check out our guide, "Forking Projects""](http://guides.github.com/overviews/forking/). Thanks! :sparkling_heart:
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
6
|
-
<title>Spoon-Knife</title>
|
7
|
-
<LINK href="styles.css" rel="stylesheet" type="text/css">
|
8
|
-
</head>
|
9
|
-
|
10
|
-
<body>
|
11
|
-
|
12
|
-
<img src="forkit.gif" id="octocat" alt="" />
|
13
|
-
|
14
|
-
<!-- Feel free to change this text here -->
|
15
|
-
<p>
|
16
|
-
Fork me? Fork you, @octocat!
|
17
|
-
</p>
|
18
|
-
|
19
|
-
</body>
|
20
|
-
</html>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
* {
|
2
|
-
margin:0px;
|
3
|
-
padding:0px;
|
4
|
-
}
|
5
|
-
|
6
|
-
#octocat {
|
7
|
-
display: block;
|
8
|
-
width:384px;
|
9
|
-
margin: 50px auto;
|
10
|
-
}
|
11
|
-
|
12
|
-
p {
|
13
|
-
display: block;
|
14
|
-
width: 400px;
|
15
|
-
margin: 50px auto;
|
16
|
-
font: 30px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
|
17
|
-
}
|
@@ -1,219 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
{{ '/feed/atom.xml' | assign_to: 'global_feed' }}
|
4
|
-
{{ '/feed/all_comments.xml' | assign_to: 'global_comments_feed' }}
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<title>
|
8
|
-
{{ site.title }}
|
9
|
-
{% if site.current_section %}
|
10
|
-
- {{ site.current_section.name }}
|
11
|
-
{% endif %}
|
12
|
-
{% if article %}
|
13
|
-
- {{ article.title }}
|
14
|
-
{% endif %}
|
15
|
-
</title>
|
16
|
-
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} feed" href="{{ global_feed }}"/>
|
17
|
-
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} comments feed" href="{{ global_comments_feed }}"/>
|
18
|
-
{{ 'base' | stylesheet }}
|
19
|
-
{{ 'app' | javascript }}
|
20
|
-
<!--[if IE]>
|
21
|
-
{{ 'base_ie' | stylesheet }}
|
22
|
-
<![endif]-->
|
23
|
-
</head>
|
24
|
-
|
25
|
-
<body class="fixed orange">
|
26
|
-
<script type="text/javascript">loadPreferences()</script>
|
27
|
-
|
28
|
-
<div id="wrapper">
|
29
|
-
|
30
|
-
<div id="header" class="clearfix">
|
31
|
-
<div id="title" class="clearfix">
|
32
|
-
<h1><a href="/">{{ site.title }}</a></h1>
|
33
|
-
</div>
|
34
|
-
<h2>Sections</h2>
|
35
|
-
<ul id="menu">
|
36
|
-
{% for section in site.sections %}
|
37
|
-
{% if section.articles_count > 0 %}
|
38
|
-
{% if section.is_home %}
|
39
|
-
<li{% if section.current %} class="selected"{% endif %}>{{ section | link_to_section }}</li>
|
40
|
-
{% else %}
|
41
|
-
{% if section.is_paged %}
|
42
|
-
<li{% if section.current %} class="selected"{% endif %}>{{ section | link_to_section }}</li>
|
43
|
-
{% endif %}
|
44
|
-
{% endif %}
|
45
|
-
{% endif %}
|
46
|
-
{% endfor %}
|
47
|
-
</ul>
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<div id="contentwrapper" class="clearfix">
|
51
|
-
|
52
|
-
<div id="content">
|
53
|
-
|
54
|
-
<div id="innerwrapper">
|
55
|
-
|
56
|
-
<div class="article">
|
57
|
-
<div class="body">
|
58
|
-
<h2>Skittlish Tips'n'Tricks</h2>
|
59
|
-
<ul>
|
60
|
-
<li>Change the classes for the body tag to set your default site style. also change these in the app.js file (line 66).</li>
|
61
|
-
<li>Remove the scripts and the #options div if you don't want the option switcher.</li>
|
62
|
-
<li>The top menu shows the home section and the sections that are not blogs.</li>
|
63
|
-
<li>Email me at <a href="mailto:evil@che.lu">evil@che.lu</a> if you have any questions.</li>
|
64
|
-
<li>Happy hacking!</li>
|
65
|
-
</ul>
|
66
|
-
</div>
|
67
|
-
</div>
|
68
|
-
|
69
|
-
{{ content_for_layout }}
|
70
|
-
|
71
|
-
</div>
|
72
|
-
|
73
|
-
</div>
|
74
|
-
|
75
|
-
<div id="sidebar">
|
76
|
-
|
77
|
-
<div class="boxy short">
|
78
|
-
<h3>boxy short</h3>
|
79
|
-
|
80
|
-
<p>You can have, boxes with a short, tall or no background shade, just change the class of the containing div.</p>
|
81
|
-
|
82
|
-
<p>Have boxes with smaller text with the class "minor". See the "Recent" boxy below.</p>
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<div id="search" class="boxy short">
|
87
|
-
<h3>Search</h3>
|
88
|
-
<form method="get" action="/search">
|
89
|
-
<fieldset>
|
90
|
-
<input class="text" type="text" id="q" value="" name="q"/>
|
91
|
-
</fieldset>
|
92
|
-
</form>
|
93
|
-
</div>
|
94
|
-
|
95
|
-
<div class="boxy tall minor">
|
96
|
-
<h3>Recent</h3>
|
97
|
-
|
98
|
-
<dl>
|
99
|
-
<dt>Articles <a class="feed" href="{{ global_feed }}"><span>feed</span></a></dt>
|
100
|
-
<dd>
|
101
|
-
<ul>
|
102
|
-
{% for article in site.latest_articles %}
|
103
|
-
<li>{{ article | link_to_article }} <em>({{ article.published_at | format_date: 'stub', true }})</em></li>
|
104
|
-
{% endfor %}
|
105
|
-
</ul>
|
106
|
-
</dd>
|
107
|
-
|
108
|
-
<dt>Comments <a class="feed" href="{{ global_comments_feed }}"><span>feed</span></a></dt>
|
109
|
-
<dd>
|
110
|
-
<ul>
|
111
|
-
{% for comment in site.latest_comments %}
|
112
|
-
<li>{{ comment.author_link }} on <a href="{{ comment.url }}#comment-{{ comment.id }}">{{ comment.title }}</a></li>
|
113
|
-
{% endfor %}
|
114
|
-
</ul>
|
115
|
-
</dd>
|
116
|
-
</dl>
|
117
|
-
</div>
|
118
|
-
|
119
|
-
<div class="boxy short">
|
120
|
-
<h3>Archives</h3>
|
121
|
-
<p>This would be much nicer with jamis' month_drop thingy.</p>
|
122
|
-
{{ '' | section | months | assign_to: 'home_section' }}
|
123
|
-
<ul>
|
124
|
-
{% for month in home_section.months %}
|
125
|
-
{{ home_section | monthly_articles: month | size | assign_to: 'articles_count' }}
|
126
|
-
{% if articles_count > 0 %}
|
127
|
-
<li>{{ home_section | link_to_month: month }} ({{ articles_count }})</li>
|
128
|
-
{% endif %}
|
129
|
-
{% endfor %}
|
130
|
-
</ul>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
{% if site.blog_sections.size > 1 %}
|
134
|
-
<div class="boxy short">
|
135
|
-
<h3>Categories</h3>
|
136
|
-
<p>Lists only blog type categories with at least one article.</p>
|
137
|
-
<p>This list uses an ul. You could use a dl with only dd's in it for the same effect. Wouldn't be semantic tho.</p>
|
138
|
-
<ul class="sections">
|
139
|
-
{% for section in site.blog_sections %}
|
140
|
-
{% if section.articles_count > 0 %}
|
141
|
-
{% unless section.is_home %}
|
142
|
-
<li>{{ section | link_to_section }} ({{ section.articles_count }})</li>
|
143
|
-
{% endunless %}
|
144
|
-
{% endif %}
|
145
|
-
{% endfor %}
|
146
|
-
</ul>
|
147
|
-
</div>
|
148
|
-
|
149
|
-
{% endif %}
|
150
|
-
{% unless site.tags == empty %}
|
151
|
-
<div class="boxy short">
|
152
|
-
<p>This would be nicer if we could get the number of articles for each tag.</p>
|
153
|
-
<h3>tags: </h3>
|
154
|
-
<ul>
|
155
|
-
{% for tag in site.tags %}
|
156
|
-
<li>{{ tag | link_to_tag }}</li>
|
157
|
-
{% endfor %}
|
158
|
-
</ul>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
{% endunless %}
|
162
|
-
<div class="boxy tall">
|
163
|
-
<h3>boxy tall</h3>
|
164
|
-
<p>When using a tall box, make sure it's got plenty of content or that it's immediately followed by a short boxy. It might look a bit chopped off otherwise.</p>
|
165
|
-
<dl>
|
166
|
-
<dt>thing 1</dt>
|
167
|
-
<dd><a href="#">value 1</a></dd>
|
168
|
-
<dd><a href="#">value 2</a></dd>
|
169
|
-
<dd><a href="#">value 3</a></dd>
|
170
|
-
<dd><a href="#">value 4</a></dd>
|
171
|
-
<dd><a href="#">value 5</a></dd>
|
172
|
-
<dd><a href="#">value 6</a></dd>
|
173
|
-
<dd><a href="#">value 6</a></dd>
|
174
|
-
|
175
|
-
<dt>thing 1</dt>
|
176
|
-
<dd><a href="#">value 1</a></dd>
|
177
|
-
<dd><a href="#">value 2</a></dd>
|
178
|
-
<dd><a href="#">value 3</a></dd>
|
179
|
-
<dd>value 4</dd>
|
180
|
-
<dd>value 5</dd>
|
181
|
-
<dd><a href="#">value 6</a></dd>
|
182
|
-
<dd><a href="#">value 6</a></dd>
|
183
|
-
|
184
|
-
</dl>
|
185
|
-
</div>
|
186
|
-
|
187
|
-
</div>
|
188
|
-
|
189
|
-
</div>
|
190
|
-
|
191
|
-
<div id="options">
|
192
|
-
<h2>Options:</h2>
|
193
|
-
<h3>Size</h3>
|
194
|
-
<ul id="option_size">
|
195
|
-
<li id="option_size_fixed" class="fixed" ><a><span>fixed </span></a></li>
|
196
|
-
<li id="option_size_fluid" class="fluid" ><a><span>fluid </span></a></li>
|
197
|
-
</ul>
|
198
|
-
<h3>Colors</h3>
|
199
|
-
<ul id="option_color">
|
200
|
-
<li id="option_color_orange" class="orange"><a><span>orange</span></a></li>
|
201
|
-
<li id="option_color_blue" class="blue" ><a><span>blue </span></a></li>
|
202
|
-
<li id="option_color_green" class="green" ><a><span>green </span></a></li>
|
203
|
-
<li id="option_color_pink" class="pink" ><a><span>pink </span></a></li>
|
204
|
-
<li id="option_color_cyan" class="cyan" ><a><span>cyan </span></a></li>
|
205
|
-
<li id="option_color_red" class="red" ><a><span>red </span></a></li>
|
206
|
-
<li id="option_color_violet" class="violet"><a><span>violet</span></a></li>
|
207
|
-
</ul>
|
208
|
-
</div>
|
209
|
-
|
210
|
-
<div id="footer">
|
211
|
-
<p>Copyright © 2006, Your Name. Valid <a href="http://validator.w3.org/check/referer">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.</p>
|
212
|
-
<p>Using <a href="http://evil.che.lu/projects/skittlish">skittlish</a> on <a href="http://publishwithimpunity.com/">mephisto</a>.</p>
|
213
|
-
</div>
|
214
|
-
|
215
|
-
</div>
|
216
|
-
|
217
|
-
</body>
|
218
|
-
|
219
|
-
</html>
|
Binary file
|
@@ -1,219 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
{{ '/feed/atom.xml' | assign_to: 'global_feed' }}
|
4
|
-
{{ '/feed/all_comments.xml' | assign_to: 'global_comments_feed' }}
|
5
|
-
<head>
|
6
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
7
|
-
<title>
|
8
|
-
{{ site.title }}
|
9
|
-
{% if site.current_section %}
|
10
|
-
- {{ site.current_section.name }}
|
11
|
-
{% endif %}
|
12
|
-
{% if article %}
|
13
|
-
- {{ article.title }}
|
14
|
-
{% endif %}
|
15
|
-
</title>
|
16
|
-
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} feed" href="{{ global_feed }}"/>
|
17
|
-
<link rel="alternate" type="application/atom+xml" title="{{ site.title }} comments feed" href="{{ global_comments_feed }}"/>
|
18
|
-
{{ 'base' | stylesheet }}
|
19
|
-
{{ 'app' | javascript }}
|
20
|
-
<!--[if IE]>
|
21
|
-
{{ 'base_ie' | stylesheet }}
|
22
|
-
<![endif]-->
|
23
|
-
</head>
|
24
|
-
|
25
|
-
<body class="fixed orange">
|
26
|
-
<script type="text/javascript">loadPreferences()</script>
|
27
|
-
|
28
|
-
<div id="wrapper">
|
29
|
-
|
30
|
-
<div id="header" class="clearfix">
|
31
|
-
<div id="title" class="clearfix">
|
32
|
-
<h1><a href="/">{{ site.title }}</a></h1>
|
33
|
-
</div>
|
34
|
-
<h2>Sections</h2>
|
35
|
-
<ul id="menu">
|
36
|
-
{% for section in site.sections %}
|
37
|
-
{% if section.articles_count > 0 %}
|
38
|
-
{% if section.is_home %}
|
39
|
-
<li{% if section.current %} class="selected"{% endif %}>{{ section | link_to_section }}</li>
|
40
|
-
{% else %}
|
41
|
-
{% if section.is_paged %}
|
42
|
-
<li{% if section.current %} class="selected"{% endif %}>{{ section | link_to_section }}</li>
|
43
|
-
{% endif %}
|
44
|
-
{% endif %}
|
45
|
-
{% endif %}
|
46
|
-
{% endfor %}
|
47
|
-
</ul>
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<div id="contentwrapper" class="clearfix">
|
51
|
-
|
52
|
-
<div id="content">
|
53
|
-
|
54
|
-
<div id="innerwrapper">
|
55
|
-
|
56
|
-
<div class="article">
|
57
|
-
<div class="body">
|
58
|
-
<h2>Skittlish Tips'n'Tricks</h2>
|
59
|
-
<ul>
|
60
|
-
<li>Change the classes for the body tag to set your default site style. also change these in the app.js file (line 66).</li>
|
61
|
-
<li>Remove the scripts and the #options div if you don't want the option switcher.</li>
|
62
|
-
<li>The top menu shows the home section and the sections that are not blogs.</li>
|
63
|
-
<li>Email me at <a href="mailto:evil@che.lu">evil@che.lu</a> if you have any questions.</li>
|
64
|
-
<li>Happy hacking!</li>
|
65
|
-
</ul>
|
66
|
-
</div>
|
67
|
-
</div>
|
68
|
-
|
69
|
-
{{ content_for_layout }}
|
70
|
-
|
71
|
-
</div>
|
72
|
-
|
73
|
-
</div>
|
74
|
-
|
75
|
-
<div id="sidebar">
|
76
|
-
|
77
|
-
<div class="boxy short">
|
78
|
-
<h3>boxy short</h3>
|
79
|
-
|
80
|
-
<p>You can have, boxes with a short, tall or no background shade, just change the class of the containing div.</p>
|
81
|
-
|
82
|
-
<p>Have boxes with smaller text with the class "minor". See the "Recent" boxy below.</p>
|
83
|
-
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<div id="search" class="boxy short">
|
87
|
-
<h3>Search</h3>
|
88
|
-
<form method="get" action="/search">
|
89
|
-
<fieldset>
|
90
|
-
<input class="text" type="text" id="q" value="" name="q"/>
|
91
|
-
</fieldset>
|
92
|
-
</form>
|
93
|
-
</div>
|
94
|
-
|
95
|
-
<div class="boxy tall minor">
|
96
|
-
<h3>Recent</h3>
|
97
|
-
|
98
|
-
<dl>
|
99
|
-
<dt>Articles <a class="feed" href="{{ global_feed }}"><span>feed</span></a></dt>
|
100
|
-
<dd>
|
101
|
-
<ul>
|
102
|
-
{% for article in site.latest_articles %}
|
103
|
-
<li>{{ article | link_to_article }} <em>({{ article.published_at | format_date: 'stub', true }})</em></li>
|
104
|
-
{% endfor %}
|
105
|
-
</ul>
|
106
|
-
</dd>
|
107
|
-
|
108
|
-
<dt>Comments <a class="feed" href="{{ global_comments_feed }}"><span>feed</span></a></dt>
|
109
|
-
<dd>
|
110
|
-
<ul>
|
111
|
-
{% for comment in site.latest_comments %}
|
112
|
-
<li>{{ comment.author_link }} on <a href="{{ comment.url }}#comment-{{ comment.id }}">{{ comment.title }}</a></li>
|
113
|
-
{% endfor %}
|
114
|
-
</ul>
|
115
|
-
</dd>
|
116
|
-
</dl>
|
117
|
-
</div>
|
118
|
-
|
119
|
-
<div class="boxy short">
|
120
|
-
<h3>Archives</h3>
|
121
|
-
<p>This would be much nicer with jamis' month_drop thingy.</p>
|
122
|
-
{{ '' | section | months | assign_to: 'home_section' }}
|
123
|
-
<ul>
|
124
|
-
{% for month in home_section.months %}
|
125
|
-
{{ home_section | monthly_articles: month | size | assign_to: 'articles_count' }}
|
126
|
-
{% if articles_count > 0 %}
|
127
|
-
<li>{{ home_section | link_to_month: month }} ({{ articles_count }})</li>
|
128
|
-
{% endif %}
|
129
|
-
{% endfor %}
|
130
|
-
</ul>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
{% if site.blog_sections.size > 1 %}
|
134
|
-
<div class="boxy short">
|
135
|
-
<h3>Categories</h3>
|
136
|
-
<p>Lists only blog type categories with at least one article.</p>
|
137
|
-
<p>This list uses an ul. You could use a dl with only dd's in it for the same effect. Wouldn't be semantic tho.</p>
|
138
|
-
<ul class="sections">
|
139
|
-
{% for section in site.blog_sections %}
|
140
|
-
{% if section.articles_count > 0 %}
|
141
|
-
{% unless section.is_home %}
|
142
|
-
<li>{{ section | link_to_section }} ({{ section.articles_count }})</li>
|
143
|
-
{% endunless %}
|
144
|
-
{% endif %}
|
145
|
-
{% endfor %}
|
146
|
-
</ul>
|
147
|
-
</div>
|
148
|
-
|
149
|
-
{% endif %}
|
150
|
-
{% unless site.tags == empty %}
|
151
|
-
<div class="boxy short">
|
152
|
-
<p>This would be nicer if we could get the number of articles for each tag.</p>
|
153
|
-
<h3>tags: </h3>
|
154
|
-
<ul>
|
155
|
-
{% for tag in site.tags %}
|
156
|
-
<li>{{ tag | link_to_tag }}</li>
|
157
|
-
{% endfor %}
|
158
|
-
</ul>
|
159
|
-
</div>
|
160
|
-
|
161
|
-
{% endunless %}
|
162
|
-
<div class="boxy tall">
|
163
|
-
<h3>boxy tall</h3>
|
164
|
-
<p>When using a tall box, make sure it's got plenty of content or that it's immediately followed by a short boxy. It might look a bit chopped off otherwise.</p>
|
165
|
-
<dl>
|
166
|
-
<dt>thing 1</dt>
|
167
|
-
<dd><a href="#">value 1</a></dd>
|
168
|
-
<dd><a href="#">value 2</a></dd>
|
169
|
-
<dd><a href="#">value 3</a></dd>
|
170
|
-
<dd><a href="#">value 4</a></dd>
|
171
|
-
<dd><a href="#">value 5</a></dd>
|
172
|
-
<dd><a href="#">value 6</a></dd>
|
173
|
-
<dd><a href="#">value 6</a></dd>
|
174
|
-
|
175
|
-
<dt>thing 1</dt>
|
176
|
-
<dd><a href="#">value 1</a></dd>
|
177
|
-
<dd><a href="#">value 2</a></dd>
|
178
|
-
<dd><a href="#">value 3</a></dd>
|
179
|
-
<dd>value 4</dd>
|
180
|
-
<dd>value 5</dd>
|
181
|
-
<dd><a href="#">value 6</a></dd>
|
182
|
-
<dd><a href="#">value 6</a></dd>
|
183
|
-
|
184
|
-
</dl>
|
185
|
-
</div>
|
186
|
-
|
187
|
-
</div>
|
188
|
-
|
189
|
-
</div>
|
190
|
-
|
191
|
-
<div id="options">
|
192
|
-
<h2>Options:</h2>
|
193
|
-
<h3>Size</h3>
|
194
|
-
<ul id="option_size">
|
195
|
-
<li id="option_size_fixed" class="fixed" ><a><span>fixed </span></a></li>
|
196
|
-
<li id="option_size_fluid" class="fluid" ><a><span>fluid </span></a></li>
|
197
|
-
</ul>
|
198
|
-
<h3>Colors</h3>
|
199
|
-
<ul id="option_color">
|
200
|
-
<li id="option_color_orange" class="orange"><a><span>orange</span></a></li>
|
201
|
-
<li id="option_color_blue" class="blue" ><a><span>blue </span></a></li>
|
202
|
-
<li id="option_color_green" class="green" ><a><span>green </span></a></li>
|
203
|
-
<li id="option_color_pink" class="pink" ><a><span>pink </span></a></li>
|
204
|
-
<li id="option_color_cyan" class="cyan" ><a><span>cyan </span></a></li>
|
205
|
-
<li id="option_color_red" class="red" ><a><span>red </span></a></li>
|
206
|
-
<li id="option_color_violet" class="violet"><a><span>violet</span></a></li>
|
207
|
-
</ul>
|
208
|
-
</div>
|
209
|
-
|
210
|
-
<div id="footer">
|
211
|
-
<p>Copyright © 2006, Your Name. Valid <a href="http://validator.w3.org/check/referer">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.</p>
|
212
|
-
<p>Using <a href="http://evil.che.lu/projects/skittlish">skittlish</a> on <a href="http://publishwithimpunity.com/">mephisto</a>.</p>
|
213
|
-
</div>
|
214
|
-
|
215
|
-
</div>
|
216
|
-
|
217
|
-
</body>
|
218
|
-
|
219
|
-
</html>
|
Binary file
|