jekyll-git 0.3.3

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 (92) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/gem-push.yml +45 -0
  3. data/.gitignore +22 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +84 -0
  8. data/Rakefile +8 -0
  9. data/jekyll-git_metadata.gemspec +29 -0
  10. data/lib/jekyll/git_metadata/generator.rb +151 -0
  11. data/lib/jekyll/git_metadata/version.rb +5 -0
  12. data/lib/jekyll/git_metadata.rb +8 -0
  13. data/lib/jekyll-git_metadata.rb +1 -0
  14. data/test/helper.rb +32 -0
  15. data/test/test_git_metadata.rb +227 -0
  16. data/test/test_repo/.gitignore +1 -0
  17. data/test/test_repo/_config.yml +17 -0
  18. data/test/test_repo/_gizmos/yoyo.md +9 -0
  19. data/test/test_repo/_includes/footer.html +61 -0
  20. data/test/test_repo/_includes/head.html +12 -0
  21. data/test/test_repo/_includes/header.html +28 -0
  22. data/test/test_repo/_layouts/default.html +19 -0
  23. data/test/test_repo/_layouts/page.html +14 -0
  24. data/test/test_repo/_layouts/post.html +15 -0
  25. data/test/test_repo/_posts/2014-07-14-welcome-to-jekyll.markdown +30 -0
  26. data/test/test_repo/about.md +11 -0
  27. data/test/test_repo/css/main.css +410 -0
  28. data/test/test_repo/dot_git/COMMIT_EDITMSG +1 -0
  29. data/test/test_repo/dot_git/HEAD +1 -0
  30. data/test/test_repo/dot_git/MERGE_RR +0 -0
  31. data/test/test_repo/dot_git/ORIG_HEAD +1 -0
  32. data/test/test_repo/dot_git/config +7 -0
  33. data/test/test_repo/dot_git/description +1 -0
  34. data/test/test_repo/dot_git/hooks/applypatch-msg.sample +15 -0
  35. data/test/test_repo/dot_git/hooks/commit-msg.sample +24 -0
  36. data/test/test_repo/dot_git/hooks/post-update.sample +8 -0
  37. data/test/test_repo/dot_git/hooks/pre-applypatch.sample +14 -0
  38. data/test/test_repo/dot_git/hooks/pre-commit.sample +49 -0
  39. data/test/test_repo/dot_git/hooks/pre-push.sample +54 -0
  40. data/test/test_repo/dot_git/hooks/pre-rebase.sample +169 -0
  41. data/test/test_repo/dot_git/hooks/prepare-commit-msg.sample +36 -0
  42. data/test/test_repo/dot_git/hooks/update.sample +128 -0
  43. data/test/test_repo/dot_git/index +0 -0
  44. data/test/test_repo/dot_git/info/exclude +6 -0
  45. data/test/test_repo/dot_git/logs/HEAD +9 -0
  46. data/test/test_repo/dot_git/logs/refs/heads/master +8 -0
  47. data/test/test_repo/dot_git/objects/00/26c4c5df4d5148a07b9fbd790620f4e11d0802 +0 -0
  48. data/test/test_repo/dot_git/objects/0a/842bc255214909543fb198145783107e735907 +0 -0
  49. data/test/test_repo/dot_git/objects/0b/6d4b0cffe0117537f4ac31c918588c394778ef +0 -0
  50. data/test/test_repo/dot_git/objects/0e/a9d20342677512902dde3175a73e1dd1059e67 +0 -0
  51. data/test/test_repo/dot_git/objects/13/30fa92b3c8d94ee3ebb645b04154e735c04cf1 +0 -0
  52. data/test/test_repo/dot_git/objects/1a/24ab60234bd846f0f1532f914d66ea986fadbb +0 -0
  53. data/test/test_repo/dot_git/objects/25/d62f6feeb7190483f81564f4a76c1ec33d5118 +0 -0
  54. data/test/test_repo/dot_git/objects/32/3a65e20f0feb846438bbda1a0396ea2db7616e +0 -0
  55. data/test/test_repo/dot_git/objects/32/fff15665e830f9bdd82ea46a906bd3cf1122b0 +1 -0
  56. data/test/test_repo/dot_git/objects/3d/32f2f8ec3470e6a88ad1f9096e539cec42a47a +0 -0
  57. data/test/test_repo/dot_git/objects/3e/d64bb62b98b0827096cda5da5a728ec1bf5e3e +1 -0
  58. data/test/test_repo/dot_git/objects/48/d97759a460f607e077eea99a2df7b3cd5a2601 +0 -0
  59. data/test/test_repo/dot_git/objects/4c/2dd956115a971f5376a998bc4b243022c8881e +0 -0
  60. data/test/test_repo/dot_git/objects/4d/1b13c2e1ef1c1a944aae52994682da833a5bef +1 -0
  61. data/test/test_repo/dot_git/objects/4d/7f8a4c1a1bac8d553ba169e18882a7f51235bd +0 -0
  62. data/test/test_repo/dot_git/objects/59/821b143fbc62850d08e3f70c70d02af08df684 +0 -0
  63. data/test/test_repo/dot_git/objects/59/bc060e8c1fbe31c985e00c6cc2fef3b46c0c62 +0 -0
  64. data/test/test_repo/dot_git/objects/60/9711c27d50b5ab6ecc7d8fd485082481f9fc4a +0 -0
  65. data/test/test_repo/dot_git/objects/62/61f5911f204a827c313081c33e2522f0dd457c +0 -0
  66. data/test/test_repo/dot_git/objects/70/343eb1287191b30371400048167253a883d6ca +0 -0
  67. data/test/test_repo/dot_git/objects/78/845656f899d0bfd86d2806b85b0c54adddd3c8 +0 -0
  68. data/test/test_repo/dot_git/objects/7f/9eb0e6044998d71653c06fdc6e359dfbfc4211 +0 -0
  69. data/test/test_repo/dot_git/objects/83/65a44c640d5c7cafc8788607a274dfd91b89bb +3 -0
  70. data/test/test_repo/dot_git/objects/83/8ad7a02ebe551a90bea885c94191667f29009c +1 -0
  71. data/test/test_repo/dot_git/objects/83/8daa5e0163161d6e47bd1b0d783ca7307066c6 +0 -0
  72. data/test/test_repo/dot_git/objects/88/090a3ea8ce80e49ea42d249836aaa25f257454 +0 -0
  73. data/test/test_repo/dot_git/objects/8d/1f788990d1f80ebcbe7b78c3e5c393b7a41943 +0 -0
  74. data/test/test_repo/dot_git/objects/99/117f666995e8836652d9590daa2fdcb4de8b2a +0 -0
  75. data/test/test_repo/dot_git/objects/9e/00340e45d33e52bb16100f1b613a36f82f9c57 +0 -0
  76. data/test/test_repo/dot_git/objects/a9/f5097c614e0d4be7f900c04d782d3b1d675ee2 +0 -0
  77. data/test/test_repo/dot_git/objects/ae/45638b71046b28d46a764d8a2f7780fec58c01 +1 -0
  78. data/test/test_repo/dot_git/objects/af/415865cd1f1c0a5963a5d45b1335856e23dae8 +0 -0
  79. data/test/test_repo/dot_git/objects/b8/ffd38affdd1cc22ee4cb830cbe5c398b4e3df1 +2 -0
  80. data/test/test_repo/dot_git/objects/ba/a938862bbe45533863069649b40fdebf59e81c +0 -0
  81. data/test/test_repo/dot_git/objects/c0/8f9add7a1d48045bec46451dfdbb5b5ebf8dc0 +0 -0
  82. data/test/test_repo/dot_git/objects/c8/f101653f2c1de3611232fc4c940246b06779cd +0 -0
  83. data/test/test_repo/dot_git/objects/da/077394cb4d5bf7ffac527dbfc652ec0592b423 +2 -0
  84. data/test/test_repo/dot_git/objects/e1/ec08bcf36967f7be9ec6df51c862cc86305f4f +3 -0
  85. data/test/test_repo/dot_git/objects/e3/c2be348eb0873f7ac3f500ae6daaa93ebd7959 +0 -0
  86. data/test/test_repo/dot_git/objects/e5/e6f26a0481e83434feb2de4ef29843c8a1b8b2 +0 -0
  87. data/test/test_repo/dot_git/objects/e7/76acafd9b27ddcdd8e8a2c973b1fa1ccd690ab +3 -0
  88. data/test/test_repo/dot_git/objects/ff/74852f93c8e337b7ae3088c31cfe8673def356 +0 -0
  89. data/test/test_repo/dot_git/refs/heads/master +1 -0
  90. data/test/test_repo/feed.xml +30 -0
  91. data/test/test_repo/index.html +20 -0
  92. metadata +280 -0
@@ -0,0 +1,17 @@
1
+ # Site settings
2
+ title: Jekyll Test Site for Jekyll::GitMetadata
3
+ email: ivan.tse1@gmail.com
4
+ description: "This is a test jekyll site with git contents to properly test the Jekyll::GitMetadata generator"
5
+ baseurl: ""
6
+ url: "http://tseivan.com"
7
+ twitter_username: ivan_tse
8
+ github_username: ivantsepp
9
+
10
+ # Build settings
11
+ markdown: kramdown
12
+ permalink: pretty
13
+
14
+ # Testing collections
15
+ collections:
16
+ gizmos:
17
+ output: true
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: page
3
+ title: Yoyo
4
+ description: This is my first gizmo, a yoyo
5
+ ---
6
+ # Yoyo
7
+
8
+ This is a sample collection document that is published.
9
+
@@ -0,0 +1,61 @@
1
+ <footer class="site-footer">
2
+
3
+ <div class="wrap">
4
+
5
+ <h2 class="footer-heading">{{ site.title }}</h2>
6
+
7
+ <div class="footer-col-1 column">
8
+ <ul>
9
+ <li>{{ site.title }}</li>
10
+ <li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
11
+ </ul>
12
+ </div>
13
+
14
+ <div class="footer-col-2 column">
15
+ <ul>
16
+ {% if site.github_username %}<li>
17
+ <a href="https://github.com/{{ site.github_username }}">
18
+ <span class="icon github">
19
+ <svg version="1.1" class="github-icon-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
20
+ viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
21
+ <path fill-rule="evenodd" clip-rule="evenodd" fill="#C2C2C2" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761
22
+ 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
23
+ 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
24
+ 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
25
+ 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
26
+ 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
27
+ 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
28
+ 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
29
+ 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"/>
30
+ </svg>
31
+ </span>
32
+ <span class="username">{{ site.github_username }}</span>
33
+ </a>
34
+ </li>{% endif %}
35
+ {% if site.twitter_username %}<li>
36
+ <a href="https://twitter.com/{{ site.twitter_username }}">
37
+ <span class="icon twitter">
38
+ <svg version="1.1" class="twitter-icon-svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
39
+ viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
40
+ <path fill="#C2C2C2" 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
41
+ 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
42
+ 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
43
+ 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
44
+ 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
45
+ 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
46
+ 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"/>
47
+ </svg>
48
+ </span>
49
+ <span class="username">{{ site.twitter_username }}</span>
50
+ </a>
51
+ </li>{% endif %}
52
+ </ul>
53
+ </div>
54
+
55
+ <div class="footer-col-3 column">
56
+ <p class="text">{{ site.description }}</p>
57
+ </div>
58
+
59
+ </div>
60
+
61
+ </footer>
@@ -0,0 +1,12 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
5
+ <meta name="viewport" content="width=device-width">
6
+ <meta name="description" content="{{ site.description }}">
7
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
8
+
9
+ <!-- Custom CSS -->
10
+ <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
11
+
12
+ </head>
@@ -0,0 +1,28 @@
1
+ <header class="site-header">
2
+
3
+ <div class="wrap">
4
+
5
+ <a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
6
+
7
+ <nav class="site-nav">
8
+ <a href="#" class="menu-icon">
9
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
10
+ viewBox="0 0 18 15" enable-background="new 0 0 18 15" xml:space="preserve">
11
+ <path fill="#505050" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0
12
+ h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
13
+ <path fill="#505050" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484
14
+ h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
15
+ <path fill="#505050" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0
16
+ c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
17
+ </svg>
18
+ </a>
19
+ <div class="trigger">
20
+ {% for page in site.pages %}
21
+ {% if page.title %}<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>{% endif %}
22
+ {% endfor %}
23
+ </div>
24
+ </nav>
25
+
26
+ </div>
27
+
28
+ </header>
@@ -0,0 +1,19 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ {% include head.html %}
5
+
6
+ <body>
7
+
8
+ {% include header.html %}
9
+
10
+ <div class="page-content">
11
+ <div class="wrap">
12
+ {{ content }}
13
+ </div>
14
+ </div>
15
+
16
+ {% include footer.html %}
17
+
18
+ </body>
19
+ </html>
@@ -0,0 +1,14 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="post">
5
+
6
+ <header class="post-header">
7
+ <h1>{{ 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>{{ page.title }}</h1>
8
+ <p class="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,30 @@
1
+ ---
2
+ layout: post
3
+ title: "Welcome to Jekyll!"
4
+ date: 2014-07-14 02:00:29
5
+ categories: jekyll update
6
+ ---
7
+
8
+ You'll find this post in your `_posts` directory - edit this post and re-build (or run with the `-w` switch) to see your changes!
9
+ To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext.
10
+
11
+ Jekyll also offers powerful support for code snippets:
12
+
13
+ {% highlight ruby %}
14
+ def print_hi(name)
15
+ puts "Hi, #{name}"
16
+ end
17
+ print_hi('Tom')
18
+ #=> prints 'Hi, Tom' to STDOUT.
19
+ {% endhighlight %}
20
+
21
+ Check out the [Jekyll docs][jekyll] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll's GitHub repo][jekyll-gh].
22
+
23
+ Appending to a post.
24
+
25
+ ---
26
+
27
+ I hope Jekyll::GitMetadata will be a useful plugin!
28
+
29
+ [jekyll-gh]: https://github.com/jekyll/jekyll
30
+ [jekyll]: http://jekyllrb.com
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: page
3
+ title: About
4
+ permalink: /about/
5
+ ---
6
+
7
+ This is a test Jekyll site for Jekyll::GitMetadata. You can view the plugin at [Github](https://github.com/ivantsepp/jekyll-git_metadata).
8
+
9
+ You are welcome to submit pull requests or suggest ideas!
10
+
11
+ Adding some content
@@ -0,0 +1,410 @@
1
+ /* Base */
2
+ /* ----------------------------------------------------------*/
3
+
4
+ * {
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ html, body { height: 100%; }
10
+
11
+ body {
12
+ font-family: Helvetica, Arial, sans-serif;
13
+ font-size: 16px;
14
+ line-height: 1.5;
15
+ font-weight: 300;
16
+ background-color: #fdfdfd;
17
+ }
18
+
19
+ h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: 400; }
20
+
21
+ a { color: #2a7ae2; text-decoration: none; }
22
+ a:hover { color: #000; text-decoration: underline; }
23
+ a:visited { color: #205caa; }
24
+
25
+ /* Utility */
26
+
27
+ .wrap:before,
28
+ .wrap:after { content:""; display:table; }
29
+ .wrap:after { clear: both; }
30
+ .wrap {
31
+ max-width: 800px;
32
+ padding: 0 30px;
33
+ margin: 0 auto;
34
+ zoom: 1;
35
+ }
36
+
37
+
38
+ /* Layout Styles */
39
+ /* ----------------------------------------------------------*/
40
+
41
+ /* Site header */
42
+
43
+ .site-header {
44
+ border-top: 5px solid #333;
45
+ border-bottom: 1px solid #e8e8e8;
46
+ min-height: 56px;
47
+ background-color: white;
48
+ }
49
+
50
+ .site-title,
51
+ .site-title:hover,
52
+ .site-title:visited {
53
+ display: block;
54
+ color: #333;
55
+ font-size: 26px;
56
+ letter-spacing: -1px;
57
+ float: left;
58
+ line-height: 56px;
59
+ position: relative;
60
+ z-index: 1;
61
+ }
62
+
63
+ .site-nav {
64
+ float: right;
65
+ line-height: 56px;
66
+ }
67
+
68
+ .site-nav .menu-icon { display: none; }
69
+
70
+ .site-nav .page-link {
71
+ margin-left: 20px;
72
+ color: #727272;
73
+ letter-spacing: -.5px;
74
+ }
75
+
76
+ /* Site footer */
77
+
78
+ .site-footer {
79
+ border-top: 1px solid #e8e8e8;
80
+ padding: 30px 0;
81
+ }
82
+
83
+ .footer-heading {
84
+ font-size: 18px;
85
+ font-weight: 300;
86
+ letter-spacing: -.5px;
87
+ margin-bottom: 15px;
88
+ }
89
+
90
+ .site-footer .column { float: left; margin-bottom: 15px; }
91
+
92
+ .footer-col-1 {
93
+ width: 270px; /*fallback*/
94
+ width: -webkit-calc(35% - 10px);
95
+ width: -moz-calc(35% - 10px);
96
+ width: -o-calc(35% - 10px);
97
+ width: calc(35% - 10px);
98
+ margin-right: 10px
99
+ }
100
+ .footer-col-2 {
101
+ width: 175px; /*fallback*/
102
+ width: -webkit-calc(23.125% - 10px);
103
+ width: -moz-calc(23.125% - 10px);
104
+ width: -o-calc(23.125% - 10px);
105
+ width: calc(23.125% - 10px);
106
+ margin-right: 10px
107
+ }
108
+ .footer-col-3 {
109
+ width: 335px; /*fallback*/
110
+ width: -webkit-calc(41.875%);
111
+ width: -moz-calc(41.875%);
112
+ width: -o-calc(41.875%);
113
+ width: calc(41.875%);
114
+ }
115
+
116
+ .site-footer ul { list-style: none; }
117
+
118
+ .site-footer li,
119
+ .site-footer p {
120
+ font-size: 15px;
121
+ letter-spacing: -.3px;
122
+ color: #828282;
123
+ }
124
+
125
+ .github-icon-svg,
126
+ .twitter-icon-svg {
127
+ display: inline-block;
128
+ width: 16px;
129
+ height: 16px;
130
+ position: relative;
131
+ top: 3px;
132
+ }
133
+
134
+
135
+ /* Page Content styles */
136
+ /* ----------------------------------------------------------*/
137
+
138
+ .page-content {
139
+ padding: 30px 0;
140
+ background-color: #fff;
141
+ }
142
+
143
+
144
+ /* Home styles */
145
+ /* ----------------------------------------------------------*/
146
+
147
+ .home h1 { margin-bottom: 25px; }
148
+
149
+ .posts { list-style-type: none; }
150
+
151
+ .posts li { margin-bottom: 30px; }
152
+
153
+ .posts .post-link {
154
+ font-size: 24px;
155
+ letter-spacing: -1px;
156
+ line-height: 1;
157
+ }
158
+
159
+ .posts .post-date {
160
+ display: block;
161
+ font-size: 15px;
162
+ color: #818181;
163
+ }
164
+
165
+
166
+ /* Post styles */
167
+ /* ----------------------------------------------------------*/
168
+
169
+ .post-header { margin: 10px 0 30px; }
170
+
171
+ .post-header h1 {
172
+ font-size: 42px;
173
+ letter-spacing: -1.75px;
174
+ line-height: 1;
175
+ font-weight: 300;
176
+ }
177
+
178
+ .post-header .meta {
179
+ font-size: 15px;
180
+ color: #818181;
181
+ margin-top: 5px;
182
+ }
183
+
184
+ .post-content { margin: 0 0 30px; }
185
+
186
+ .post-content > * { margin: 20px 0; }
187
+
188
+
189
+ .post-content h1,
190
+ .post-content h2,
191
+ .post-content h3,
192
+ .post-content h4,
193
+ .post-content h5,
194
+ .post-content h6 {
195
+ line-height: 1;
196
+ font-weight: 300;
197
+ margin: 40px 0 20px;
198
+ }
199
+
200
+ .post-content h2 {
201
+ font-size: 32px;
202
+ letter-spacing: -1.25px;
203
+ }
204
+
205
+ .post-content h3 {
206
+ font-size: 26px;
207
+ letter-spacing: -1px;
208
+ }
209
+
210
+ .post-content h4 {
211
+ font-size: 20px;
212
+ letter-spacing: -1px;
213
+ }
214
+
215
+ .post-content blockquote {
216
+ border-left: 4px solid #e8e8e8;
217
+ padding-left: 20px;
218
+ font-size: 18px;
219
+ opacity: .6;
220
+ letter-spacing: -1px;
221
+ font-style: italic;
222
+ margin: 30px 0;
223
+ }
224
+
225
+ .post-content ul,
226
+ .post-content ol { padding-left: 20px; }
227
+
228
+ .post pre,
229
+ .post code {
230
+ border: 1px solid #d5d5e9;
231
+ background-color: #eef;
232
+ padding: 8px 12px;
233
+ -webkit-border-radius: 3px;
234
+ -moz-border-radius: 3px;
235
+ border-radius: 3px;
236
+ font-size: 15px;
237
+ overflow:scroll;
238
+ }
239
+
240
+ .post code { padding: 1px 5px; }
241
+
242
+ .post ul,
243
+ .post ol { margin-left: 1.35em; }
244
+
245
+ .post pre code {
246
+ border: 0;
247
+ padding-right: 0;
248
+ padding-left: 0;
249
+ }
250
+
251
+ /* terminal */
252
+ .post pre.terminal {
253
+ border: 1px solid #000;
254
+ background-color: #333;
255
+ color: #FFF;
256
+ -webkit-border-radius: 3px;
257
+ -moz-border-radius: 3px;
258
+ border-radius: 3px;
259
+ }
260
+
261
+ .post pre.terminal code { background-color: #333; }
262
+
263
+ /* Syntax highlighting styles */
264
+ /* ----------------------------------------------------------*/
265
+
266
+ .highlight { background: #ffffff; }
267
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
268
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
269
+ .highlight .k { font-weight: bold } /* Keyword */
270
+ .highlight .o { font-weight: bold } /* Operator */
271
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
272
+ .highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
273
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
274
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
275
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
276
+ .highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
277
+ .highlight .ge { font-style: italic } /* Generic.Emph */
278
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
279
+ .highlight .gh { color: #999999 } /* Generic.Heading */
280
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
281
+ .highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
282
+ .highlight .go { color: #888888 } /* Generic.Output */
283
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
284
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
285
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
286
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
287
+ .highlight .kc { font-weight: bold } /* Keyword.Constant */
288
+ .highlight .kd { font-weight: bold } /* Keyword.Declaration */
289
+ .highlight .kp { font-weight: bold } /* Keyword.Pseudo */
290
+ .highlight .kr { font-weight: bold } /* Keyword.Reserved */
291
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
292
+ .highlight .m { color: #009999 } /* Literal.Number */
293
+ .highlight .s { color: #d14 } /* Literal.String */
294
+ .highlight .na { color: #008080 } /* Name.Attribute */
295
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
296
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
297
+ .highlight .no { color: #008080 } /* Name.Constant */
298
+ .highlight .ni { color: #800080 } /* Name.Entity */
299
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
300
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
301
+ .highlight .nn { color: #555555 } /* Name.Namespace */
302
+ .highlight .nt { color: #000080 } /* Name.Tag */
303
+ .highlight .nv { color: #008080 } /* Name.Variable */
304
+ .highlight .ow { font-weight: bold } /* Operator.Word */
305
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
306
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
307
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
308
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
309
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
310
+ .highlight .sb { color: #d14 } /* Literal.String.Backtick */
311
+ .highlight .sc { color: #d14 } /* Literal.String.Char */
312
+ .highlight .sd { color: #d14 } /* Literal.String.Doc */
313
+ .highlight .s2 { color: #d14 } /* Literal.String.Double */
314
+ .highlight .se { color: #d14 } /* Literal.String.Escape */
315
+ .highlight .sh { color: #d14 } /* Literal.String.Heredoc */
316
+ .highlight .si { color: #d14 } /* Literal.String.Interpol */
317
+ .highlight .sx { color: #d14 } /* Literal.String.Other */
318
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
319
+ .highlight .s1 { color: #d14 } /* Literal.String.Single */
320
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
321
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
322
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
323
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
324
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
325
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
326
+
327
+
328
+ /* media queries */
329
+ /* ----------------------------------------------------------*/
330
+
331
+
332
+ @media screen and (max-width: 750px) {
333
+
334
+ .footer-col-1 { width: 50%; }
335
+
336
+ .footer-col-2 {
337
+ width: 45%; /*fallback*/
338
+ width: -webkit-calc(50% - 10px);
339
+ width: -moz-calc(50% - 10px);
340
+ width: -o-calc(50% - 10px);
341
+ width: calc(50% - 10px);
342
+ margin-right: 0;
343
+ }
344
+
345
+ .site-footer .column.footer-col-3 {
346
+ width: auto;
347
+ float: none;
348
+ clear: both;
349
+ }
350
+
351
+ }
352
+
353
+ @media screen and (max-width: 600px) {
354
+
355
+ .wrap { padding: 0 12px; }
356
+
357
+ .site-nav {
358
+ position: fixed;
359
+ z-index: 10;
360
+ top: 14px; right: 8px;
361
+ background-color: white;
362
+ -webkit-border-radius: 5px;
363
+ -moz-border-radius: 5px;
364
+ border-radius: 5px;
365
+ border: 1px solid #e8e8e8;
366
+ }
367
+
368
+ .site-nav .menu-icon {
369
+ display: block;
370
+ font-size: 24px;
371
+ color: #505050;
372
+ float: right;
373
+ width: 36px;
374
+ text-align: center;
375
+ line-height: 36px;
376
+ }
377
+
378
+ .site-nav .menu-icon svg { width: 18px; height: 16px; }
379
+
380
+ .site-nav .trigger {
381
+ clear: both;
382
+ margin-bottom: 5px;
383
+ display: none;
384
+ }
385
+
386
+ .site-nav:hover .trigger { display: block; }
387
+
388
+ .site-nav .page-link {
389
+ display: block;
390
+ text-align: right;
391
+ line-height: 1.25;
392
+ padding: 5px 10px;
393
+ margin: 0;
394
+ }
395
+
396
+ .post-header h1 { font-size: 36px; }
397
+ .post-content h2 { font-size: 28px; }
398
+ .post-content h3 { font-size: 22px; }
399
+ .post-content h4 { font-size: 18px; }
400
+ .post-content blockquote { padding-left: 10px; }
401
+ .post-content ul,
402
+ .post-content ol { padding-left: 10px; }
403
+
404
+ .site-footer .column {
405
+ float: none;
406
+ clear: both;
407
+ width: auto;
408
+ margin: 0 0 15px; }
409
+
410
+ }
@@ -0,0 +1 @@
1
+ Adding example collection doc for git metadata
@@ -0,0 +1 @@
1
+ ref: refs/heads/master
File without changes
@@ -0,0 +1 @@
1
+ 25d62f6feeb7190483f81564f4a76c1ec33d5118
@@ -0,0 +1,7 @@
1
+ [core]
2
+ repositoryformatversion = 0
3
+ filemode = true
4
+ bare = false
5
+ logallrefupdates = true
6
+ ignorecase = true
7
+ precomposeunicode = true
@@ -0,0 +1 @@
1
+ Unnamed repository; edit this file 'description' to name the repository.
@@ -0,0 +1,15 @@
1
+ #!/bin/sh
2
+ #
3
+ # An example hook script to check the commit log message taken by
4
+ # applypatch from an e-mail message.
5
+ #
6
+ # The hook should exit with non-zero status after issuing an
7
+ # appropriate message if it wants to stop the commit. The hook is
8
+ # allowed to edit the commit message file.
9
+ #
10
+ # To enable this hook, rename this file to "applypatch-msg".
11
+
12
+ . git-sh-setup
13
+ test -x "$GIT_DIR/hooks/commit-msg" &&
14
+ exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
15
+ :