mr_hyde 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +3 -3
  4. data/Rakefile +1 -0
  5. data/bin/mrhyde +56 -10
  6. data/lib/mr_hyde/commands/build.rb +3 -2
  7. data/lib/mr_hyde/commands/list.rb +41 -0
  8. data/lib/mr_hyde/commands/new.rb +3 -9
  9. data/lib/mr_hyde/commands/remove.rb +2 -2
  10. data/lib/mr_hyde/commands/serve.rb +26 -0
  11. data/lib/mr_hyde/configuration.rb +17 -5
  12. data/lib/mr_hyde/extensions/new.rb +54 -2
  13. data/lib/mr_hyde/jekyll_ext/converters/scss.rb +18 -0
  14. data/lib/mr_hyde/jekyll_ext/jekyll.rb +16 -0
  15. data/lib/mr_hyde/jekyll_ext/site.rb +47 -0
  16. data/lib/mr_hyde/jekyll_ext/tags/include.rb +23 -0
  17. data/lib/mr_hyde/site.rb +234 -0
  18. data/lib/mr_hyde/version.rb +1 -1
  19. data/lib/mr_hyde.rb +125 -24
  20. data/lib/site_template/_config.yml +14 -0
  21. data/lib/site_template/_mrhyde.yml +2 -11
  22. data/lib/site_template/sources/_assets/_sass/_base.scss +204 -0
  23. data/lib/site_template/sources/_assets/_sass/_functions.scss +11 -0
  24. data/lib/site_template/sources/_assets/_sass/_grid.scss +544 -0
  25. data/lib/site_template/sources/_assets/_sass/_layout.scss +241 -0
  26. data/lib/site_template/sources/_assets/_sass/_newbase.scss +488 -0
  27. data/lib/site_template/sources/_assets/_sass/_normalize.scss +424 -0
  28. data/lib/site_template/sources/_assets/_sass/_syntax-highlighting.scss +67 -0
  29. data/lib/site_template/sources/_includes/footer.html +58 -0
  30. data/lib/site_template/sources/_includes/head.html +12 -0
  31. data/lib/site_template/sources/_includes/header.html +31 -0
  32. data/lib/site_template/sources/_layouts/default.html +25 -0
  33. data/lib/site_template/sources/_layouts/page.html +14 -0
  34. data/lib/site_template/sources/_layouts/post.html +15 -0
  35. data/lib/site_template/sources/main_site/about.md +9 -0
  36. data/lib/site_template/sources/main_site/css/main.scss +55 -0
  37. data/lib/site_template/sources/main_site/css/normalize.css +427 -0
  38. data/lib/site_template/sources/main_site/index.md +17 -0
  39. data/lib/site_template/sources/main_site/js/main.coffee +27 -0
  40. data/lib/subsite_template/_config.yml +2 -0
  41. data/lib/subsite_template/_posts/0000-00-00-welcome-to-mr-hyde.markdown.erb +27 -0
  42. data/lib/subsite_template/about.md +9 -0
  43. data/lib/subsite_template/assets/dr_jekyll_and_mr_hyde_poster.png +0 -0
  44. data/lib/subsite_template/feed.xml +30 -0
  45. data/lib/subsite_template/index.html +26 -0
  46. data/resources/mrhyde-logo-red.png +0 -0
  47. data/resources/mrhyde-logo.png +0 -0
  48. data/spec/build_spec.rb +26 -27
  49. data/spec/list_spec.rb +37 -0
  50. data/spec/new_spec.rb +53 -25
  51. data/spec/rm_spec.rb +30 -31
  52. metadata +38 -8
  53. data/lib/mr_hyde/blog.rb +0 -146
  54. data/lib/mr_hyde/extensions/.new.rb.swp +0 -0
  55. data/lib/site_template/site/css/main.css +0 -0
  56. data/lib/site_template/site/index.html +0 -0
  57. data/test/blog_test.rb +0 -46
@@ -0,0 +1,424 @@
1
+ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2
+
3
+ /**
4
+ * 1. Set default font family to sans-serif.
5
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
6
+ * user zoom.
7
+ */
8
+
9
+ html {
10
+ font-family: sans-serif; /* 1 */
11
+ -ms-text-size-adjust: 100%; /* 2 */
12
+ -webkit-text-size-adjust: 100%; /* 2 */
13
+ }
14
+
15
+ /**
16
+ * Remove default margin.
17
+ */
18
+
19
+ body {
20
+ margin: 0;
21
+ }
22
+
23
+ /* HTML5 display definitions
24
+ ========================================================================== */
25
+
26
+ /**
27
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
28
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
29
+ * and Firefox.
30
+ * Correct `block` display not defined for `main` in IE 11.
31
+ */
32
+
33
+ article,
34
+ aside,
35
+ details,
36
+ figcaption,
37
+ figure,
38
+ footer,
39
+ header,
40
+ hgroup,
41
+ main,
42
+ menu,
43
+ nav,
44
+ section,
45
+ summary {
46
+ display: block;
47
+ }
48
+
49
+ /**
50
+ * 1. Correct `inline-block` display not defined in IE 8/9.
51
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52
+ */
53
+
54
+ audio,
55
+ canvas,
56
+ progress,
57
+ video {
58
+ display: inline-block; /* 1 */
59
+ vertical-align: baseline; /* 2 */
60
+ }
61
+
62
+ /**
63
+ * Prevent modern browsers from displaying `audio` without controls.
64
+ * Remove excess height in iOS 5 devices.
65
+ */
66
+
67
+ audio:not([controls]) {
68
+ display: none;
69
+ height: 0;
70
+ }
71
+
72
+ /**
73
+ * Address `[hidden]` styling not present in IE 8/9/10.
74
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75
+ */
76
+
77
+ [hidden],
78
+ template {
79
+ display: none;
80
+ }
81
+
82
+ /* Links
83
+ ========================================================================== */
84
+
85
+ /**
86
+ * Remove the gray background color from active links in IE 10.
87
+ */
88
+
89
+ a {
90
+ background-color: transparent;
91
+ /**
92
+ * Improve readability when focused and also mouse hovered in all browsers.
93
+ */
94
+ &:active, &:hover {
95
+ outline: 0;
96
+ }
97
+ }
98
+
99
+ /* Text-level semantics
100
+ ========================================================================== */
101
+
102
+ /**
103
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
104
+ */
105
+
106
+ abbr[title] {
107
+ border-bottom: 1px dotted;
108
+ }
109
+
110
+ /**
111
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
112
+ */
113
+
114
+ b,
115
+ strong {
116
+ font-weight: bold;
117
+ }
118
+
119
+ /**
120
+ * Address styling not present in Safari and Chrome.
121
+ */
122
+
123
+ dfn {
124
+ font-style: italic;
125
+ }
126
+
127
+ /**
128
+ * Address variable `h1` font-size and margin within `section` and `article`
129
+ * contexts in Firefox 4+, Safari, and Chrome.
130
+ */
131
+
132
+ h1 {
133
+ font-size: 2em;
134
+ margin: 0.67em 0;
135
+ }
136
+
137
+ /**
138
+ * Address styling not present in IE 8/9.
139
+ */
140
+
141
+ mark {
142
+ background: #ff0;
143
+ color: #000;
144
+ }
145
+
146
+ /**
147
+ * Address inconsistent and variable font size in all browsers.
148
+ */
149
+
150
+ small {
151
+ font-size: 80%;
152
+ }
153
+
154
+ /**
155
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
156
+ */
157
+
158
+ sub,
159
+ sup {
160
+ font-size: 75%;
161
+ line-height: 0;
162
+ position: relative;
163
+ vertical-align: baseline;
164
+ }
165
+
166
+ sup {
167
+ top: -0.5em;
168
+ }
169
+
170
+ sub {
171
+ bottom: -0.25em;
172
+ }
173
+
174
+ /* Embedded content
175
+ ========================================================================== */
176
+
177
+ /**
178
+ * Remove border when inside `a` element in IE 8/9/10.
179
+ */
180
+
181
+ img {
182
+ border: 0;
183
+ }
184
+
185
+ /**
186
+ * Correct overflow not hidden in IE 9/10/11.
187
+ */
188
+
189
+ svg:not(:root) {
190
+ overflow: hidden;
191
+ }
192
+
193
+ /* Grouping content
194
+ ========================================================================== */
195
+
196
+ /**
197
+ * Address margin not present in IE 8/9 and Safari.
198
+ */
199
+
200
+ figure {
201
+ margin: 1em 40px;
202
+ }
203
+
204
+ /**
205
+ * Address differences between Firefox and other browsers.
206
+ */
207
+
208
+ hr {
209
+ -moz-box-sizing: content-box;
210
+ box-sizing: content-box;
211
+ height: 0;
212
+ }
213
+
214
+ /**
215
+ * Contain overflow in all browsers.
216
+ */
217
+
218
+ pre {
219
+ overflow: auto;
220
+ }
221
+
222
+ /**
223
+ * Address odd `em`-unit font size rendering in all browsers.
224
+ */
225
+
226
+ code,
227
+ kbd,
228
+ pre,
229
+ samp {
230
+ font-family: monospace, monospace;
231
+ font-size: 1em;
232
+ }
233
+
234
+ /* Forms
235
+ ========================================================================== */
236
+
237
+ /**
238
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
239
+ * styling of `select`, unless a `border` property is set.
240
+ */
241
+
242
+ /**
243
+ * 1. Correct color not being inherited.
244
+ * Known issue: affects color of disabled elements.
245
+ * 2. Correct font properties not being inherited.
246
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
247
+ */
248
+
249
+ button,
250
+ input,
251
+ optgroup,
252
+ select,
253
+ textarea {
254
+ color: inherit; /* 1 */
255
+ font: inherit; /* 2 */
256
+ margin: 0; /* 3 */
257
+ }
258
+
259
+ /**
260
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
261
+ */
262
+
263
+ button {
264
+ overflow: visible;
265
+ }
266
+
267
+ /**
268
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
269
+ * All other form control elements do not inherit `text-transform` values.
270
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
271
+ * Correct `select` style inheritance in Firefox.
272
+ */
273
+
274
+ button,
275
+ select {
276
+ text-transform: none;
277
+ }
278
+
279
+ /**
280
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
281
+ * and `video` controls.
282
+ * 2. Correct inability to style clickable `input` types in iOS.
283
+ * 3. Improve usability and consistency of cursor style between image-type
284
+ * `input` and others.
285
+ */
286
+
287
+ button,
288
+ html input[type="button"], /* 1 */
289
+ input[type="reset"],
290
+ input[type="submit"] {
291
+ -webkit-appearance: button; /* 2 */
292
+ cursor: pointer; /* 3 */
293
+ }
294
+
295
+ /**
296
+ * Re-set default cursor for disabled elements.
297
+ */
298
+
299
+ button[disabled],
300
+ html input[disabled] {
301
+ cursor: default;
302
+ }
303
+
304
+ /**
305
+ * Remove inner padding and border in Firefox 4+.
306
+ */
307
+
308
+ button::-moz-focus-inner,
309
+ input::-moz-focus-inner {
310
+ border: 0;
311
+ padding: 0;
312
+ }
313
+
314
+ /**
315
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
316
+ * the UA stylesheet.
317
+ */
318
+
319
+ input {
320
+ line-height: normal;
321
+ }
322
+
323
+ /**
324
+ * It's recommended that you don't attempt to style these elements.
325
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
326
+ *
327
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
328
+ * 2. Remove excess padding in IE 8/9/10.
329
+ */
330
+
331
+ input[type="checkbox"],
332
+ input[type="radio"] {
333
+ box-sizing: border-box; /* 1 */
334
+ padding: 0; /* 2 */
335
+ }
336
+
337
+ /**
338
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
339
+ * `font-size` values of the `input`, it causes the cursor style of the
340
+ * decrement button to change from `default` to `text`.
341
+ */
342
+
343
+ input[type="number"]::-webkit-inner-spin-button,
344
+ input[type="number"]::-webkit-outer-spin-button {
345
+ height: auto;
346
+ }
347
+
348
+ /**
349
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
350
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
351
+ * (include `-moz` to future-proof).
352
+ */
353
+
354
+ input[type="search"] {
355
+ -webkit-appearance: textfield; /* 1 */
356
+ -moz-box-sizing: content-box;
357
+ -webkit-box-sizing: content-box; /* 2 */
358
+ box-sizing: content-box;
359
+ }
360
+
361
+ /**
362
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
363
+ * Safari (but not Chrome) clips the cancel button when the search input has
364
+ * padding (and `textfield` appearance).
365
+ */
366
+
367
+ input[type="search"]::-webkit-search-cancel-button,
368
+ input[type="search"]::-webkit-search-decoration {
369
+ -webkit-appearance: none;
370
+ }
371
+
372
+ /**
373
+ * Define consistent border, margin, and padding.
374
+ */
375
+
376
+ fieldset {
377
+ border: 1px solid #c0c0c0;
378
+ margin: 0 2px;
379
+ padding: 0.35em 0.625em 0.75em;
380
+ }
381
+
382
+ /**
383
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
384
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
385
+ */
386
+
387
+ legend {
388
+ border: 0; /* 1 */
389
+ padding: 0; /* 2 */
390
+ }
391
+
392
+ /**
393
+ * Remove default vertical scrollbar in IE 8/9/10/11.
394
+ */
395
+
396
+ textarea {
397
+ overflow: auto;
398
+ }
399
+
400
+ /**
401
+ * Don't inherit the `font-weight` (applied by a rule above).
402
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
403
+ */
404
+
405
+ optgroup {
406
+ font-weight: bold;
407
+ }
408
+
409
+ /* Tables
410
+ ========================================================================== */
411
+
412
+ /**
413
+ * Remove most spacing between table cells.
414
+ */
415
+
416
+ table {
417
+ border-collapse: collapse;
418
+ border-spacing: 0;
419
+ }
420
+
421
+ td,
422
+ th {
423
+ padding: 0;
424
+ }
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Syntax highlighting styles
3
+ */
4
+ .highlight {
5
+ background: #fff;
6
+ @extend %vertical-rhythm;
7
+
8
+ .c { color: #998; font-style: italic } // Comment
9
+ .err { color: #a61717; background-color: #e3d2d2 } // Error
10
+ .k { font-weight: bold } // Keyword
11
+ .o { font-weight: bold } // Operator
12
+ .cm { color: #998; font-style: italic } // Comment.Multiline
13
+ .cp { color: #999; font-weight: bold } // Comment.Preproc
14
+ .c1 { color: #998; font-style: italic } // Comment.Single
15
+ .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special
16
+ .gd { color: #000; background-color: #fdd } // Generic.Deleted
17
+ .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific
18
+ .ge { font-style: italic } // Generic.Emph
19
+ .gr { color: #a00 } // Generic.Error
20
+ .gh { color: #999 } // Generic.Heading
21
+ .gi { color: #000; background-color: #dfd } // Generic.Inserted
22
+ .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific
23
+ .go { color: #888 } // Generic.Output
24
+ .gp { color: #555 } // Generic.Prompt
25
+ .gs { font-weight: bold } // Generic.Strong
26
+ .gu { color: #aaa } // Generic.Subheading
27
+ .gt { color: #a00 } // Generic.Traceback
28
+ .kc { font-weight: bold } // Keyword.Constant
29
+ .kd { font-weight: bold } // Keyword.Declaration
30
+ .kp { font-weight: bold } // Keyword.Pseudo
31
+ .kr { font-weight: bold } // Keyword.Reserved
32
+ .kt { color: #458; font-weight: bold } // Keyword.Type
33
+ .m { color: #099 } // Literal.Number
34
+ .s { color: #d14 } // Literal.String
35
+ .na { color: #008080 } // Name.Attribute
36
+ .nb { color: #0086B3 } // Name.Builtin
37
+ .nc { color: #458; font-weight: bold } // Name.Class
38
+ .no { color: #008080 } // Name.Constant
39
+ .ni { color: #800080 } // Name.Entity
40
+ .ne { color: #900; font-weight: bold } // Name.Exception
41
+ .nf { color: #900; font-weight: bold } // Name.Function
42
+ .nn { color: #555 } // Name.Namespace
43
+ .nt { color: #000080 } // Name.Tag
44
+ .nv { color: #008080 } // Name.Variable
45
+ .ow { font-weight: bold } // Operator.Word
46
+ .w { color: #bbb } // Text.Whitespace
47
+ .mf { color: #099 } // Literal.Number.Float
48
+ .mh { color: #099 } // Literal.Number.Hex
49
+ .mi { color: #099 } // Literal.Number.Integer
50
+ .mo { color: #099 } // Literal.Number.Oct
51
+ .sb { color: #d14 } // Literal.String.Backtick
52
+ .sc { color: #d14 } // Literal.String.Char
53
+ .sd { color: #d14 } // Literal.String.Doc
54
+ .s2 { color: #d14 } // Literal.String.Double
55
+ .se { color: #d14 } // Literal.String.Escape
56
+ .sh { color: #d14 } // Literal.String.Heredoc
57
+ .si { color: #d14 } // Literal.String.Interpol
58
+ .sx { color: #d14 } // Literal.String.Other
59
+ .sr { color: #009926 } // Literal.String.Regex
60
+ .s1 { color: #d14 } // Literal.String.Single
61
+ .ss { color: #990073 } // Literal.String.Symbol
62
+ .bp { color: #999 } // Name.Builtin.Pseudo
63
+ .vc { color: #008080 } // Name.Variable.Class
64
+ .vg { color: #008080 } // Name.Variable.Global
65
+ .vi { color: #008080 } // Name.Variable.Instance
66
+ .il { color: #099 } // Literal.Number.Integer.Long
67
+ }
@@ -0,0 +1,58 @@
1
+ <footer class="site-footer wrapper">
2
+
3
+ <div class="row row-fluid">
4
+
5
+ <div id="supplementary" class="row-fluid">
6
+ <h2 class="footer-heading">{{ site.title }}</h2>
7
+
8
+ <div class="footer-content row-fluid">
9
+ <div class="footer-col span3">
10
+ <ul class="contact-list">
11
+ <li>{{ site.title }}</li>
12
+ <li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
13
+ </ul>
14
+ </div>
15
+
16
+ <div class="footer-col span3">
17
+ <ul class="social-media-list">
18
+ {% if site.github_username %}
19
+ <li>
20
+ <a href="https://github.com/{{ site.github_username }}">
21
+ <span class="icon icon--github">
22
+ <svg viewBox="0 0 16 16">
23
+ <path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
24
+ </svg>
25
+ </span>
26
+
27
+ <span class="username">{{ site.github_username }}</span>
28
+ </a>
29
+ </li>
30
+ {% endif %}
31
+
32
+ {% if site.twitter_username %}
33
+ <li>
34
+ <a href="https://twitter.com/{{ site.twitter_username }}">
35
+ <span class="icon icon--twitter">
36
+ <svg viewBox="0 0 16 16">
37
+ <path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
38
+ c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
39
+ </svg>
40
+ </span>
41
+
42
+ <span class="username">{{ site.twitter_username }}</span>
43
+ </a>
44
+ </li>
45
+ {% endif %}
46
+ </ul>
47
+ </div>
48
+
49
+ <div class="footer-col span6">
50
+ <p class="text">{{ site.description }}</p>
51
+ </div>
52
+ </div>
53
+ </div>
54
+
55
+ <div class="site-info">by Mr. Hyde</div>
56
+ </div>
57
+
58
+ </footer>
@@ -0,0 +1,12 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+
6
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7
+ <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8
+
9
+ <link rel="stylesheet" href="{% if site.maincss %}{{ site.maincss | prepend: site.baseurl }}{% else %}{{ "/css/main.css" }}{% endif %}">
10
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
11
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
12
+ </head>
@@ -0,0 +1,31 @@
1
+ <header class="site-header wrapper">
2
+
3
+ <div class="row">
4
+
5
+ <hgroup>
6
+ <h1 class="site-title"><a href="{{ site.baseurl }}/">{{ site.title }}</a></h1>
7
+ <h2 class="site-description">{{ site.subtitle }}</h2>
8
+ </hgroup>
9
+
10
+ <nav class="main-navigation" role="navigation">
11
+ <ul data-baseurl="{{ site.baseurl }}">
12
+ {% for page in site.pages reversed %}
13
+ {% if page.title %}
14
+ <li id="{{ page.id }}">
15
+ <a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
16
+ </li>
17
+ {% endif %}
18
+ {% endfor %}
19
+ <!--li>
20
+ <form role="search" method="get" id="search-form" action="#">
21
+ <label class="screen-reader-text" for="search">Search</label>
22
+ <input type="text" value="" name="s" id="search" title="Enter keyword">
23
+ <input type="submit" id="search-submit" title="Search it" value="→">
24
+ </form>
25
+ </li-->
26
+ </ul>
27
+ </nav>
28
+
29
+ </div>
30
+
31
+ </header>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.html %}
9
+
10
+ <section class="middle wrapper page-content">
11
+ <div class="row row-fluid">
12
+ <div id="primary" class="site-content">
13
+ <div id="content" role="main" class="page">
14
+ {{ content }}
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </section>
19
+
20
+ {% include footer.html %}
21
+
22
+ <script src="/js/main.js"></script>
23
+ </body>
24
+
25
+ </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title }}</h1>
8
+ </header>
9
+
10
+ <article class="post-content">
11
+ {{ content }}
12
+ </article>
13
+
14
+ </div>
@@ -0,0 +1,15 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title">{{ page.title }}</h1>
8
+ <p class="post-meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
9
+ </header>
10
+
11
+ <article class="post-content">
12
+ {{ content }}
13
+ </article>
14
+
15
+ </div>
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: page
3
+ title: About
4
+ permalink: /about/
5
+ id: about
6
+ ---
7
+
8
+ This is the base Mr. Hyde theme. You can customize it modifying the styles assets include in `sources/_assets/_sass` or just include you css files in the sites folder of your Mr. Hyde project and reference them in your html header.
9
+