write_down 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +4 -0
  3. data/Gemfile +1 -1
  4. data/README.md +2 -2
  5. data/bin/write_down +42 -1
  6. data/lib/write_down/article.rb +64 -0
  7. data/lib/write_down/configuration.rb +6 -0
  8. data/lib/write_down/converter.rb +8 -0
  9. data/lib/write_down/page.rb +6 -0
  10. data/lib/write_down/series.rb +10 -0
  11. data/lib/write_down/site.rb +10 -0
  12. data/lib/write_down/template.rb +20 -0
  13. data/lib/write_down/version.rb +1 -1
  14. data/lib/write_down.rb +31 -1
  15. data/template/emacs/404.html +157 -0
  16. data/template/emacs/CHANGELOG.md +133 -0
  17. data/template/emacs/CONTRIBUTING.md +154 -0
  18. data/template/emacs/LICENSE.md +19 -0
  19. data/template/emacs/README.md +1 -0
  20. data/template/emacs/apple-touch-icon-precomposed.png +0 -0
  21. data/template/emacs/crossdomain.xml +15 -0
  22. data/template/emacs/css/custom.css +18 -0
  23. data/template/emacs/css/main.css +304 -0
  24. data/template/emacs/css/normalize.css +527 -0
  25. data/template/emacs/favicon.ico +0 -0
  26. data/template/emacs/humans.txt +15 -0
  27. data/template/emacs/img/.gitignore +0 -0
  28. data/template/emacs/index.html +62 -0
  29. data/template/emacs/js/main.js +1 -0
  30. data/template/emacs/js/plugins.js +24 -0
  31. data/template/emacs/js/vendor/jquery-1.10.2.min.js +6 -0
  32. data/template/emacs/js/vendor/modernizr-2.6.2.min.js +4 -0
  33. data/template/emacs/post.html +80 -0
  34. data/template/emacs/robots.txt +3 -0
  35. data/template/simple/404.html +157 -0
  36. data/template/simple/CNAME +1 -0
  37. data/template/simple/README.md +1 -0
  38. data/template/simple/_disqus.mustache +19 -0
  39. data/template/simple/_footer.mustache +28 -0
  40. data/template/simple/_header.mustache +38 -0
  41. data/template/simple/apple-touch-icon-precomposed.png +0 -0
  42. data/template/simple/crossdomain.xml +15 -0
  43. data/template/simple/css/layout.css +72 -0
  44. data/template/simple/css/main.css +304 -0
  45. data/template/simple/css/normalize.css +527 -0
  46. data/template/simple/favicon.ico +0 -0
  47. data/template/simple/humans.txt +15 -0
  48. data/template/simple/img/.gitignore +0 -0
  49. data/template/simple/index.html +12 -0
  50. data/template/simple/js/main.js +1 -0
  51. data/template/simple/js/plugins.js +24 -0
  52. data/template/simple/js/vendor/jquery-1.10.2.min.js +6 -0
  53. data/template/simple/js/vendor/modernizr-2.6.2.min.js +4 -0
  54. data/template/simple/post.html +9 -0
  55. data/template/simple/robots.txt +3 -0
  56. data/theme/ghost/assets/css/screen.css +911 -0
  57. data/theme/ghost/index.html +75 -0
  58. data/theme/ghost/post.html +112 -0
  59. data/theme/html5-boilerplate/.gitattributes +1 -0
  60. data/theme/html5-boilerplate/.gitignore +2 -0
  61. data/theme/html5-boilerplate/.htaccess +551 -0
  62. data/theme/html5-boilerplate/404.html +157 -0
  63. data/theme/html5-boilerplate/CHANGELOG.md +133 -0
  64. data/theme/html5-boilerplate/CONTRIBUTING.md +154 -0
  65. data/theme/html5-boilerplate/LICENSE.md +19 -0
  66. data/theme/html5-boilerplate/README.md +61 -0
  67. data/theme/html5-boilerplate/apple-touch-icon-precomposed.png +0 -0
  68. data/theme/html5-boilerplate/crossdomain.xml +15 -0
  69. data/theme/html5-boilerplate/css/main.css +297 -0
  70. data/theme/html5-boilerplate/css/normalize.css +527 -0
  71. data/theme/html5-boilerplate/favicon.ico +0 -0
  72. data/theme/html5-boilerplate/humans.txt +15 -0
  73. data/theme/html5-boilerplate/img/.gitignore +0 -0
  74. data/theme/html5-boilerplate/index.html +91 -0
  75. data/theme/html5-boilerplate/js/main.js +1 -0
  76. data/theme/html5-boilerplate/js/plugins.js +24 -0
  77. data/theme/html5-boilerplate/js/vendor/jquery-1.10.2.min.js +6 -0
  78. data/theme/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js +4 -0
  79. data/theme/html5-boilerplate/post.html +70 -0
  80. data/theme/html5-boilerplate/robots.txt +3 -0
  81. data/write_down.gemspec +3 -0
  82. metadata +125 -11
  83. data/.rvmrc +0 -62
@@ -0,0 +1,157 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Page Not Found :(</title>
6
+ <style>
7
+ ::-moz-selection {
8
+ background: #b3d4fc;
9
+ text-shadow: none;
10
+ }
11
+
12
+ ::selection {
13
+ background: #b3d4fc;
14
+ text-shadow: none;
15
+ }
16
+
17
+ html {
18
+ padding: 30px 10px;
19
+ font-size: 20px;
20
+ line-height: 1.4;
21
+ color: #737373;
22
+ background: #f0f0f0;
23
+ -webkit-text-size-adjust: 100%;
24
+ -ms-text-size-adjust: 100%;
25
+ }
26
+
27
+ html,
28
+ input {
29
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
30
+ }
31
+
32
+ body {
33
+ max-width: 500px;
34
+ _width: 500px;
35
+ padding: 30px 20px 50px;
36
+ border: 1px solid #b3b3b3;
37
+ border-radius: 4px;
38
+ margin: 0 auto;
39
+ box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;
40
+ background: #fcfcfc;
41
+ }
42
+
43
+ h1 {
44
+ margin: 0 10px;
45
+ font-size: 50px;
46
+ text-align: center;
47
+ }
48
+
49
+ h1 span {
50
+ color: #bbb;
51
+ }
52
+
53
+ h3 {
54
+ margin: 1.5em 0 0.5em;
55
+ }
56
+
57
+ p {
58
+ margin: 1em 0;
59
+ }
60
+
61
+ ul {
62
+ padding: 0 0 0 40px;
63
+ margin: 1em 0;
64
+ }
65
+
66
+ .container {
67
+ max-width: 380px;
68
+ _width: 380px;
69
+ margin: 0 auto;
70
+ }
71
+
72
+ /* google search */
73
+
74
+ #goog-fixurl ul {
75
+ list-style: none;
76
+ padding: 0;
77
+ margin: 0;
78
+ }
79
+
80
+ #goog-fixurl form {
81
+ margin: 0;
82
+ }
83
+
84
+ #goog-wm-qt,
85
+ #goog-wm-sb {
86
+ border: 1px solid #bbb;
87
+ font-size: 16px;
88
+ line-height: normal;
89
+ vertical-align: top;
90
+ color: #444;
91
+ border-radius: 2px;
92
+ }
93
+
94
+ #goog-wm-qt {
95
+ width: 220px;
96
+ height: 20px;
97
+ padding: 5px;
98
+ margin: 5px 10px 0 0;
99
+ box-shadow: inset 0 1px 1px #ccc;
100
+ }
101
+
102
+ #goog-wm-sb {
103
+ display: inline-block;
104
+ height: 32px;
105
+ padding: 0 10px;
106
+ margin: 5px 0 0;
107
+ white-space: nowrap;
108
+ cursor: pointer;
109
+ background-color: #f5f5f5;
110
+ background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);
111
+ background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);
112
+ background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);
113
+ background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);
114
+ -webkit-appearance: none;
115
+ -moz-appearance: none;
116
+ appearance: none;
117
+ *overflow: visible;
118
+ *display: inline;
119
+ *zoom: 1;
120
+ }
121
+
122
+ #goog-wm-sb:hover,
123
+ #goog-wm-sb:focus {
124
+ border-color: #aaa;
125
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
126
+ background-color: #f8f8f8;
127
+ }
128
+
129
+ #goog-wm-qt:hover,
130
+ #goog-wm-qt:focus {
131
+ border-color: #105cb6;
132
+ outline: 0;
133
+ color: #222;
134
+ }
135
+
136
+ input::-moz-focus-inner {
137
+ padding: 0;
138
+ border: 0;
139
+ }
140
+ </style>
141
+ </head>
142
+ <body>
143
+ <div class="container">
144
+ <h1>Not found <span>:(</span></h1>
145
+ <p>Sorry, but the page you were trying to view does not exist.</p>
146
+ <p>It looks like this was the result of either:</p>
147
+ <ul>
148
+ <li>a mistyped address</li>
149
+ <li>an out-of-date link</li>
150
+ </ul>
151
+ <script>
152
+ var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
153
+ </script>
154
+ <script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
155
+ </div>
156
+ </body>
157
+ </html>
@@ -0,0 +1,133 @@
1
+ ### HEAD
2
+
3
+ ### 4.3.0 (September 10, 2013)
4
+
5
+ * Use one apple-touch-icon instead of six ([#1367](https://github.com/h5bp/html5-boilerplate/issues/1367)).
6
+ * Move font-related declarations from `body` to `html` ([#1411](https://github.com/h5bp/html5-boilerplate/issues/1411)).
7
+ * Update to Apache Server Configs 1.1.0.
8
+ * Add `initial-scale=1` to the viewport `meta` ([#1398](https://github.com/h5bp/html5-boilerplate/pull/1398)).
9
+ * Vertical centering for audio-, canvas- and video-tags ([#1326](https://github.com/h5bp/html5-boilerplate/issues/1326)).
10
+ * Remove Google Chrome Frame related code ([#1379](https://github.com/h5bp/html5-boilerplate/pull/1379), [#1396](https://github.com/h5bp/html5-boilerplate/pull/1396)).
11
+ * Update to Google Universal Analytics ([#1347](https://github.com/h5bp/html5-boilerplate/issues/1347)).
12
+ * Update to jQuery 1.10.2.
13
+ * Update to Normalize.css 1.1.3.
14
+
15
+ ### 4.2.0 (April 8, 2013)
16
+
17
+ * Remove Google Analytics protocol check ([#1319](https://github.com/h5bp/html5-boilerplate/pull/1319)).
18
+ * Update to Normalize.css 1.1.1.
19
+ * Update Apache configurations to include the latest changes in the canonical
20
+ [`.htaccess`](https://github.com/h5bp/server-configs-apache) file.
21
+ * Use a protocol relative URL for the 404 template script.
22
+ * Update to jQuery 1.9.1.
23
+
24
+ ### 4.1.0 (January 21, 2013)
25
+
26
+ * Update to Normalize.css 1.1.0.
27
+ * Update to jQuery 1.9.0.
28
+
29
+ ### 4.0.3 (January 12, 2013)
30
+
31
+ * Use 32x32 favicon.ico ([#1286](https://github.com/h5bp/html5-boilerplate/pull/1286)).
32
+ * Remove named function expression in plugins.js ([#1280](https://github.com/h5bp/html5-boilerplate/pull/1280)).
33
+ * Adjust CSS image-replacement code ([#1239](https://github.com/h5bp/html5-boilerplate/issues/1239)).
34
+ * Update HiDPI example media query ([#1127](https://github.com/h5bp/html5-boilerplate/issues/1127)).
35
+
36
+ ### 4.0.2 (December 9, 2012)
37
+
38
+ * Update placeholder icons.
39
+ * Update to Normalize.css 1.0.2.
40
+ * Update to jQuery 1.8.3.
41
+
42
+ ### 4.0.1 (October 20, 2012)
43
+
44
+ * Further improvements to `console` method stubbing ([#1206](https://github.com/h5bp/html5-boilerplate/issues/1206), [#1229](https://github.com/h5bp/html5-boilerplate/pull/1229)).
45
+ * Update to jQuery 1.8.2.
46
+ * Update to Modernizr 2.6.2.
47
+ * Minor additions to the documentation.
48
+
49
+ ### 4.0.0 (August 28, 2012)
50
+
51
+ * Improve the Apache compression configuration ([#1012](https://github.com/h5bp/html5-boilerplate/issues/1012), [#1173](https://github.com/h5bp/html5-boilerplate/issues/1173)).
52
+ * Add a HiDPI example media query ([#1127](https://github.com/h5bp/html5-boilerplate/issues/1127)).
53
+ * Add bundled docs ([#1154](https://github.com/h5bp/html5-boilerplate/issues/1154)).
54
+ * Add MIT license ([#1139](https://github.com/h5bp/html5-boilerplate/issues/1139)).
55
+ * Update to Normalize.css 1.0.1.
56
+ * Separate Normalize.css from the rest of the CSS ([#1160](https://github.com/h5bp/html5-boilerplate/issues/1160)).
57
+ * Improve `console.log` protection ([#1107](https://github.com/h5bp/html5-boilerplate/issues/1107)).
58
+ * Replace hot pink text selection color with a neutral color.
59
+ * Change image replacement technique ([#1149](https://github.com/h5bp/html5-boilerplate/issues/1149)).
60
+ * Code format and consistency changes ([#1112](https://github.com/h5bp/html5-boilerplate/issues/1112)).
61
+ * Rename CSS file and rename JS files and subdirectories.
62
+ * Update to jQuery 1.8 ([#1161](https://github.com/h5bp/html5-boilerplate/issues/1161)).
63
+ * Update to Modernizr 2.6.1 ([#1086](https://github.com/h5bp/html5-boilerplate/issues/1086)).
64
+ * Remove uncompressed jQuery ([#1153](https://github.com/h5bp/html5-boilerplate/issues/1153)).
65
+ * Remove superfluous inline comments ([#1150](https://github.com/h5bp/html5-boilerplate/issues/1150)).
66
+
67
+ ### 3.0.2 (February 19, 2012)
68
+
69
+ * Update to Modernizr 2.5.3.
70
+
71
+ ### 3.0.1 (February 08, 2012).
72
+
73
+ * Update to Modernizr 2.5.2 (includes html5shiv 3.3).
74
+
75
+ ### 3.0.0 (February 06, 2012)
76
+
77
+ * Improvements to `.htaccess`.
78
+ * Improve 404 design.
79
+ * Simplify JS folder structure.
80
+ * Change `html` IE class names changed to target ranges rather than specific versions of IE.
81
+ * Update CSS to include latest normalize.css changes and better typographic defaults ([#825](https://github.com/h5bp/html5-boilerplate/issues/825)).
82
+ * Update to Modernizr 2.5 (includes yepnope 1.5 and html5shiv 3.2).
83
+ * Update to jQuery 1.7.1.
84
+ * Revert to async snippet for the Google Analytics script.
85
+ * Remove the ant build script ([#826](https://github.com/h5bp/html5-boilerplate/issues/826)).
86
+ * Remove Respond.js ([#816](https://github.com/h5bp/html5-boilerplate/issues/816)).
87
+ * Remove the `demo/` directory ([#808](https://github.com/h5bp/html5-boilerplate/issues/808)).
88
+ * Remove the `test/` directory ([#808](https://github.com/h5bp/html5-boilerplate/issues/808)).
89
+ * Remove Google Chrome Frame script for IE6 users; replace with links to Chrome Frame and options for alternative browsers.
90
+ * Remove `initial-scale=1` from the viewport `meta` ([#824](https://github.com/h5bp/html5-boilerplate/issues/824)).
91
+ * Remove `defer` from all scripts to avoid legacy IE bugs.
92
+ * Remove explicit Site Speed tracking for Google Analytics. It's now enabled by default.
93
+
94
+ ### 2.0.0 (August 10, 2011)
95
+
96
+ * Change starting CSS to be based on normalize.css instead of reset.css ([#500](https://github.com/h5bp/html5-boilerplate/issues/500)).
97
+ * Add Respond.js media query polyfill.
98
+ * Add Google Chrome Frame script prompt for IE6 users.
99
+ * Simplify the `html` conditional comments for modern browsers and add an `oldie` class.
100
+ * Update clearfix to use "micro clearfix".
101
+ * Add placeholder CSS MQs for mobile-first approach.
102
+ * Add `textarea { resize: vertical; }` to only allow vertical resizing.
103
+ * Add `img { max-width: 100%; }` to the print styles; prevents images being truncated.
104
+ * Add Site Speed tracking for Google Analytics.
105
+ * Update to jQuery 1.6.2 (and use minified by default).
106
+ * Update to Modernizr 2.0 Complete, Production minified (includes yepnope, html5shiv, and Respond.js).
107
+ * Use `Modernizr.load()` to load the Google Analytics script.
108
+ * Much faster build process.
109
+ * Add build script options for CSSLint, JSLint, JSHint tools.
110
+ * Build script now compresses all images in subfolders.
111
+ * Build script now versions files by SHA hash.
112
+ * Many `.htaccess` improvements including: disable directory browsing, improved support for all versions of Apache, more robust and extensive HTTP compression rules.
113
+ * Remove `handheld.css` as it has very poor device support.
114
+ * Remove touch-icon `link` elements from the HTML and include improved touch-icon support.
115
+ * Remove the cache-busting query paramaters from files references in the HTML.
116
+ * Remove IE6 PNGFix.
117
+
118
+ ### 1.0.0 (March 21, 2011)
119
+
120
+ * Rewrite build script to make it more customizable and flexible.
121
+ * Add a humans.txt.
122
+ * Numerous `.htaccess` improvements (including inline documentation).
123
+ * Move the alternative server configurations to the H5BP server configs repo.
124
+ * Use a protocol-relative url to reference jQuery and prevent mixed content warnings.
125
+ * Optimize the Google Analytics snippet.
126
+ * Use Eric Meyer's recent CSS reset update and the HTML5 Doctor reset.
127
+ * More robust `sub`/`sup` CSS styles.
128
+ * Add keyboard `.focusable` helper class that extends `.visuallyhidden`.
129
+ * Print styles no longer print hash or JavaScript links.
130
+ * Add a print reset for IE's proprietary filters.
131
+ * Remove IE9-specific conditional class on the `html` element.
132
+ * Remove margins from lists within `nav` elements.
133
+ * Remove YUI profiling.
@@ -0,0 +1,154 @@
1
+ # Contributing to HTML5 Boilerplate
2
+
3
+ ♥ [HTML5 Boilerplate](http://html5boilerplate.com) and want to get involved?
4
+ Thanks! There are plenty of ways you can help!
5
+
6
+ Please take a moment to review this document in order to make the contribution
7
+ process easy and effective for everyone involved.
8
+
9
+ Following these guidelines helps to communicate that you respect the time of
10
+ the developers managing and developing this open source project. In return,
11
+ they should reciprocate that respect in addressing your issue or assessing
12
+ patches and features.
13
+
14
+
15
+ ## Using the issue tracker
16
+
17
+ The [issue tracker](https://github.com/h5bp/html5-boilerplate/issues) is
18
+ the preferred channel for [bug reports](#bugs), [features requests](#features)
19
+ and [submitting pull requests](#pull-requests), but please respect the following
20
+ restrictions:
21
+
22
+ * Please **do not** use the issue tracker for personal support requests (use
23
+ [Stack Overflow](http://stackoverflow.com/questions/tagged/html5boilerplate)
24
+ or IRC).
25
+
26
+ * Please **do not** derail or troll issues. Keep the discussion on topic and
27
+ respect the opinions of others.
28
+
29
+ * Please **do not** open issues or pull requests regarding the code in
30
+ [`.htaccess`](https://github.com/h5bp/server-configs-apache),
31
+ [`jQuery`](https://github.com/jquery/jquery/),
32
+ [`Modernizr`](https://github.com/Modernizr/Modernizr) or
33
+ [`Normalize.css`](https://github.com/necolas/normalize.css) (open them in
34
+ their respective repositories).
35
+
36
+
37
+ <a name="bugs"></a>
38
+ ## Bug reports
39
+
40
+ A bug is a _demonstrable problem_ that is caused by the code in the repository.
41
+ Good bug reports are extremely helpful - thank you!
42
+
43
+ Guidelines for bug reports:
44
+
45
+ 1. **Use the GitHub issue search** &mdash; check if the issue has already been
46
+ reported.
47
+
48
+ 2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
49
+ latest `master` or development branch in the repository.
50
+
51
+ 3. **Isolate the problem** &mdash; ideally create a [reduced test
52
+ case](http://css-tricks.com/6263-reduced-test-cases/) and a live example.
53
+
54
+ A good bug report shouldn't leave others needing to chase you up for more
55
+ information. Please try to be as detailed as possible in your report. What is
56
+ your environment? What steps will reproduce the issue? What browser(s) and OS
57
+ experience the problem? What would you expect to be the outcome? All these
58
+ details will help people to fix any potential bugs.
59
+
60
+ Example:
61
+
62
+ > Short and descriptive example bug report title
63
+ >
64
+ > A summary of the issue and the browser/OS environment in which it occurs. If
65
+ > suitable, include the steps required to reproduce the bug.
66
+ >
67
+ > 1. This is the first step
68
+ > 2. This is the second step
69
+ > 3. Further steps, etc.
70
+ >
71
+ > `<url>` - a link to the reduced test case
72
+ >
73
+ > Any other information you want to share that is relevant to the issue being
74
+ > reported. This might include the lines of code that you have identified as
75
+ > causing the bug, and potential solutions (and your opinions on their
76
+ > merits).
77
+
78
+
79
+ <a name="features"></a>
80
+ ## Feature requests
81
+
82
+ Feature requests are welcome. But take a moment to find out whether your idea
83
+ fits with the scope and aims of the project. It's up to *you* to make a strong
84
+ case to convince the project's developers of the merits of this feature. Please
85
+ provide as much detail and context as possible.
86
+
87
+
88
+ <a name="pull-requests"></a>
89
+ ## Pull requests
90
+
91
+ Good pull requests - patches, improvements, new features - are a fantastic
92
+ help. They should remain focused in scope and avoid containing unrelated
93
+ commits.
94
+
95
+ **Please ask first** before embarking on any significant pull request (e.g.
96
+ implementing features, refactoring code, porting to a different language),
97
+ otherwise you risk spending a lot of time working on something that the
98
+ project's developers might not want to merge into the project.
99
+
100
+ Please adhere to the coding conventions used throughout a project (indentation,
101
+ accurate comments, etc.) and any other requirements (such as test coverage).
102
+
103
+ Adhering to the following this process is the best way to get your work
104
+ included in the project:
105
+
106
+ 1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
107
+ and configure the remotes:
108
+
109
+ ```bash
110
+ # Clone your fork of the repo into the current directory
111
+ git clone https://github.com/<your-username>/html5-boilerplate.git
112
+ # Navigate to the newly cloned directory
113
+ cd html5-boilerplate
114
+ # Assign the original repo to a remote called "upstream"
115
+ git remote add upstream https://github.com/h5bp/html5-boilerplate.git
116
+ ```
117
+
118
+ 2. If you cloned a while ago, get the latest changes from upstream:
119
+
120
+ ```bash
121
+ git checkout master
122
+ git pull upstream master
123
+ ```
124
+
125
+ 3. Create a new topic branch (off the main project development branch) to
126
+ contain your feature, change, or fix:
127
+
128
+ ```bash
129
+ git checkout -b <topic-branch-name>
130
+ ```
131
+
132
+ 4. Commit your changes in logical chunks. Please adhere to these [git commit
133
+ message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
134
+ or your code is unlikely be merged into the main project. Use Git's
135
+ [interactive rebase](https://help.github.com/articles/interactive-rebase)
136
+ feature to tidy up your commits before making them public.
137
+
138
+ 5. Locally merge (or rebase) the upstream development branch into your topic branch:
139
+
140
+ ```bash
141
+ git pull [--rebase] upstream master
142
+ ```
143
+
144
+ 6. Push your topic branch up to your fork:
145
+
146
+ ```bash
147
+ git push origin <topic-branch-name>
148
+ ```
149
+
150
+ 7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
151
+ with a clear title and description.
152
+
153
+ **IMPORTANT**: By submitting a patch, you agree to allow the project owners to
154
+ license your work under the the terms of the [MIT License](LICENSE.md).
@@ -0,0 +1,19 @@
1
+ Copyright (c) HTML5 Boilerplate
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -0,0 +1,61 @@
1
+ # [HTML5 Boilerplate](http://html5boilerplate.com)
2
+
3
+ HTML5 Boilerplate is a professional front-end template for building fast,
4
+ robust, and adaptable web apps or sites.
5
+
6
+ This project is the product of many years of iterative development and combined
7
+ community knowledge. It does not impose a specific development philosophy or
8
+ framework, so you're free to architect your code in the way that you want.
9
+
10
+ * Source: [https://github.com/h5bp/html5-boilerplate](https://github.com/h5bp/html5-boilerplate)
11
+ * Homepage: [http://html5boilerplate.com](http://html5boilerplate.com)
12
+ * Twitter: [@h5bp](http://twitter.com/h5bp)
13
+
14
+
15
+ ## Quick start
16
+
17
+ Choose one of the following options:
18
+
19
+ 1. Download the latest stable release from
20
+ [html5boilerplate.com](http://html5boilerplate.com/) or a custom build from
21
+ [Initializr](http://www.initializr.com).
22
+ 2. Clone the git repo — `git clone
23
+ https://github.com/h5bp/html5-boilerplate.git` - and checkout the tagged
24
+ release you'd like to use.
25
+
26
+
27
+ ## Features
28
+
29
+ * HTML5 ready. Use the new elements with confidence.
30
+ * Cross-browser compatible (Chrome, Opera, Safari, Firefox 3.6+, IE6+).
31
+ * Designed with progressive enhancement in mind.
32
+ * Includes [Normalize.css](http://necolas.github.com/normalize.css/) for CSS
33
+ normalizations and common bug fixes.
34
+ * The latest [jQuery](http://jquery.com/) via CDN, with a local fallback.
35
+ * The latest [Modernizr](http://modernizr.com/) build for feature detection.
36
+ * IE-specific classes for easier cross-browser control.
37
+ * Placeholder CSS Media Queries.
38
+ * Useful CSS helpers.
39
+ * Default print CSS, performance optimized.
40
+ * Protection against any stray `console.log` causing JavaScript errors in
41
+ IE6/7.
42
+ * An optimized Google Analytics snippet.
43
+ * Apache server caching, compression, and other configuration defaults for
44
+ Grade-A performance.
45
+ * Cross-domain Ajax and Flash.
46
+ * "Delete-key friendly." Easy to strip out parts you don't need.
47
+ * Extensive inline and accompanying documentation.
48
+
49
+
50
+ ## Documentation
51
+
52
+ Take a look at the [documentation table of contents](doc/TOC.md). This
53
+ documentation is bundled with the project, which makes it readily available for
54
+ offline reading and provides a useful starting point for any documentation you
55
+ want to write about your project.
56
+
57
+
58
+ ## Contributing
59
+
60
+ Anyone and everyone is welcome to [contribute](CONTRIBUTING.md). Hundreds of
61
+ developers have helped make the HTML5 Boilerplate what it is today.
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
3
+ <cross-domain-policy>
4
+ <!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
5
+
6
+ <!-- Most restrictive policy: -->
7
+ <site-control permitted-cross-domain-policies="none"/>
8
+
9
+ <!-- Least restrictive policy: -->
10
+ <!--
11
+ <site-control permitted-cross-domain-policies="all"/>
12
+ <allow-access-from domain="*" to-ports="*" secure="false"/>
13
+ <allow-http-request-headers-from domain="*" headers="*" secure="false"/>
14
+ -->
15
+ </cross-domain-policy>