jekyll-git 0.3.3 → 0.3.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.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +7 -0
- data/Gemfile +1 -1
- data/README.md +3 -3
- data/{jekyll-git_metadata.gemspec → jekyll-git.gemspec} +4 -4
- data/lib/jekyll/git_metadata/version.rb +1 -1
- metadata +9 -165
- data/test/helper.rb +0 -32
- data/test/test_git_metadata.rb +0 -227
- data/test/test_repo/.gitignore +0 -1
- data/test/test_repo/_config.yml +0 -17
- data/test/test_repo/_gizmos/yoyo.md +0 -9
- data/test/test_repo/_includes/footer.html +0 -61
- data/test/test_repo/_includes/head.html +0 -12
- data/test/test_repo/_includes/header.html +0 -28
- data/test/test_repo/_layouts/default.html +0 -19
- data/test/test_repo/_layouts/page.html +0 -14
- data/test/test_repo/_layouts/post.html +0 -15
- data/test/test_repo/_posts/2014-07-14-welcome-to-jekyll.markdown +0 -30
- data/test/test_repo/about.md +0 -11
- data/test/test_repo/css/main.css +0 -410
- data/test/test_repo/dot_git/COMMIT_EDITMSG +0 -1
- data/test/test_repo/dot_git/HEAD +0 -1
- data/test/test_repo/dot_git/MERGE_RR +0 -0
- data/test/test_repo/dot_git/ORIG_HEAD +0 -1
- data/test/test_repo/dot_git/config +0 -7
- data/test/test_repo/dot_git/description +0 -1
- data/test/test_repo/dot_git/hooks/applypatch-msg.sample +0 -15
- data/test/test_repo/dot_git/hooks/commit-msg.sample +0 -24
- data/test/test_repo/dot_git/hooks/post-update.sample +0 -8
- data/test/test_repo/dot_git/hooks/pre-applypatch.sample +0 -14
- data/test/test_repo/dot_git/hooks/pre-commit.sample +0 -49
- data/test/test_repo/dot_git/hooks/pre-push.sample +0 -54
- data/test/test_repo/dot_git/hooks/pre-rebase.sample +0 -169
- data/test/test_repo/dot_git/hooks/prepare-commit-msg.sample +0 -36
- data/test/test_repo/dot_git/hooks/update.sample +0 -128
- data/test/test_repo/dot_git/index +0 -0
- data/test/test_repo/dot_git/info/exclude +0 -6
- data/test/test_repo/dot_git/logs/HEAD +0 -9
- data/test/test_repo/dot_git/logs/refs/heads/master +0 -8
- data/test/test_repo/dot_git/objects/00/26c4c5df4d5148a07b9fbd790620f4e11d0802 +0 -0
- data/test/test_repo/dot_git/objects/0a/842bc255214909543fb198145783107e735907 +0 -0
- data/test/test_repo/dot_git/objects/0b/6d4b0cffe0117537f4ac31c918588c394778ef +0 -0
- data/test/test_repo/dot_git/objects/0e/a9d20342677512902dde3175a73e1dd1059e67 +0 -0
- data/test/test_repo/dot_git/objects/13/30fa92b3c8d94ee3ebb645b04154e735c04cf1 +0 -0
- data/test/test_repo/dot_git/objects/1a/24ab60234bd846f0f1532f914d66ea986fadbb +0 -0
- data/test/test_repo/dot_git/objects/25/d62f6feeb7190483f81564f4a76c1ec33d5118 +0 -0
- data/test/test_repo/dot_git/objects/32/3a65e20f0feb846438bbda1a0396ea2db7616e +0 -0
- data/test/test_repo/dot_git/objects/32/fff15665e830f9bdd82ea46a906bd3cf1122b0 +0 -1
- data/test/test_repo/dot_git/objects/3d/32f2f8ec3470e6a88ad1f9096e539cec42a47a +0 -0
- data/test/test_repo/dot_git/objects/3e/d64bb62b98b0827096cda5da5a728ec1bf5e3e +0 -1
- data/test/test_repo/dot_git/objects/48/d97759a460f607e077eea99a2df7b3cd5a2601 +0 -0
- data/test/test_repo/dot_git/objects/4c/2dd956115a971f5376a998bc4b243022c8881e +0 -0
- data/test/test_repo/dot_git/objects/4d/1b13c2e1ef1c1a944aae52994682da833a5bef +0 -1
- data/test/test_repo/dot_git/objects/4d/7f8a4c1a1bac8d553ba169e18882a7f51235bd +0 -0
- data/test/test_repo/dot_git/objects/59/821b143fbc62850d08e3f70c70d02af08df684 +0 -0
- data/test/test_repo/dot_git/objects/59/bc060e8c1fbe31c985e00c6cc2fef3b46c0c62 +0 -0
- data/test/test_repo/dot_git/objects/60/9711c27d50b5ab6ecc7d8fd485082481f9fc4a +0 -0
- data/test/test_repo/dot_git/objects/62/61f5911f204a827c313081c33e2522f0dd457c +0 -0
- data/test/test_repo/dot_git/objects/70/343eb1287191b30371400048167253a883d6ca +0 -0
- data/test/test_repo/dot_git/objects/78/845656f899d0bfd86d2806b85b0c54adddd3c8 +0 -0
- data/test/test_repo/dot_git/objects/7f/9eb0e6044998d71653c06fdc6e359dfbfc4211 +0 -0
- data/test/test_repo/dot_git/objects/83/65a44c640d5c7cafc8788607a274dfd91b89bb +0 -3
- data/test/test_repo/dot_git/objects/83/8ad7a02ebe551a90bea885c94191667f29009c +0 -1
- data/test/test_repo/dot_git/objects/83/8daa5e0163161d6e47bd1b0d783ca7307066c6 +0 -0
- data/test/test_repo/dot_git/objects/88/090a3ea8ce80e49ea42d249836aaa25f257454 +0 -0
- data/test/test_repo/dot_git/objects/8d/1f788990d1f80ebcbe7b78c3e5c393b7a41943 +0 -0
- data/test/test_repo/dot_git/objects/99/117f666995e8836652d9590daa2fdcb4de8b2a +0 -0
- data/test/test_repo/dot_git/objects/9e/00340e45d33e52bb16100f1b613a36f82f9c57 +0 -0
- data/test/test_repo/dot_git/objects/a9/f5097c614e0d4be7f900c04d782d3b1d675ee2 +0 -0
- data/test/test_repo/dot_git/objects/ae/45638b71046b28d46a764d8a2f7780fec58c01 +0 -1
- data/test/test_repo/dot_git/objects/af/415865cd1f1c0a5963a5d45b1335856e23dae8 +0 -0
- data/test/test_repo/dot_git/objects/b8/ffd38affdd1cc22ee4cb830cbe5c398b4e3df1 +0 -2
- data/test/test_repo/dot_git/objects/ba/a938862bbe45533863069649b40fdebf59e81c +0 -0
- data/test/test_repo/dot_git/objects/c0/8f9add7a1d48045bec46451dfdbb5b5ebf8dc0 +0 -0
- data/test/test_repo/dot_git/objects/c8/f101653f2c1de3611232fc4c940246b06779cd +0 -0
- data/test/test_repo/dot_git/objects/da/077394cb4d5bf7ffac527dbfc652ec0592b423 +0 -2
- data/test/test_repo/dot_git/objects/e1/ec08bcf36967f7be9ec6df51c862cc86305f4f +0 -3
- data/test/test_repo/dot_git/objects/e3/c2be348eb0873f7ac3f500ae6daaa93ebd7959 +0 -0
- data/test/test_repo/dot_git/objects/e5/e6f26a0481e83434feb2de4ef29843c8a1b8b2 +0 -0
- data/test/test_repo/dot_git/objects/e7/76acafd9b27ddcdd8e8a2c973b1fa1ccd690ab +0 -3
- data/test/test_repo/dot_git/objects/ff/74852f93c8e337b7ae3088c31cfe8673def356 +0 -0
- data/test/test_repo/dot_git/refs/heads/master +0 -1
- data/test/test_repo/feed.xml +0 -30
- data/test/test_repo/index.html +0 -20
- /data/{LICENSE.txt → LICENSE} +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
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>
|
|
@@ -1,28 +0,0 @@
|
|
|
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>
|
|
@@ -1,15 +0,0 @@
|
|
|
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>
|
|
@@ -1,30 +0,0 @@
|
|
|
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
|
data/test/test_repo/about.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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
|
data/test/test_repo/css/main.css
DELETED
|
@@ -1,410 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Adding example collection doc for git metadata
|
data/test/test_repo/dot_git/HEAD
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ref: refs/heads/master
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
25d62f6feeb7190483f81564f4a76c1ec33d5118
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Unnamed repository; edit this file 'description' to name the repository.
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
:
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
#
|
|
3
|
-
# An example hook script to check the commit log message.
|
|
4
|
-
# Called by "git commit" with one argument, the name of the file
|
|
5
|
-
# that has the commit message. The hook should exit with non-zero
|
|
6
|
-
# status after issuing an appropriate message if it wants to stop the
|
|
7
|
-
# commit. The hook is allowed to edit the commit message file.
|
|
8
|
-
#
|
|
9
|
-
# To enable this hook, rename this file to "commit-msg".
|
|
10
|
-
|
|
11
|
-
# Uncomment the below to add a Signed-off-by line to the message.
|
|
12
|
-
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
|
|
13
|
-
# hook is more suited to it.
|
|
14
|
-
#
|
|
15
|
-
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
|
|
16
|
-
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
|
|
17
|
-
|
|
18
|
-
# This example catches duplicate Signed-off-by lines.
|
|
19
|
-
|
|
20
|
-
test "" = "$(grep '^Signed-off-by: ' "$1" |
|
|
21
|
-
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
|
|
22
|
-
echo >&2 Duplicate Signed-off-by lines.
|
|
23
|
-
exit 1
|
|
24
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
#
|
|
3
|
-
# An example hook script to verify what is about to be committed
|
|
4
|
-
# by 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.
|
|
8
|
-
#
|
|
9
|
-
# To enable this hook, rename this file to "pre-applypatch".
|
|
10
|
-
|
|
11
|
-
. git-sh-setup
|
|
12
|
-
test -x "$GIT_DIR/hooks/pre-commit" &&
|
|
13
|
-
exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
|
|
14
|
-
:
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
#
|
|
3
|
-
# An example hook script to verify what is about to be committed.
|
|
4
|
-
# Called by "git commit" with no arguments. The hook should
|
|
5
|
-
# exit with non-zero status after issuing an appropriate message if
|
|
6
|
-
# it wants to stop the commit.
|
|
7
|
-
#
|
|
8
|
-
# To enable this hook, rename this file to "pre-commit".
|
|
9
|
-
|
|
10
|
-
if git rev-parse --verify HEAD >/dev/null 2>&1
|
|
11
|
-
then
|
|
12
|
-
against=HEAD
|
|
13
|
-
else
|
|
14
|
-
# Initial commit: diff against an empty tree object
|
|
15
|
-
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
|
|
16
|
-
fi
|
|
17
|
-
|
|
18
|
-
# If you want to allow non-ASCII filenames set this variable to true.
|
|
19
|
-
allownonascii=$(git config --bool hooks.allownonascii)
|
|
20
|
-
|
|
21
|
-
# Redirect output to stderr.
|
|
22
|
-
exec 1>&2
|
|
23
|
-
|
|
24
|
-
# Cross platform projects tend to avoid non-ASCII filenames; prevent
|
|
25
|
-
# them from being added to the repository. We exploit the fact that the
|
|
26
|
-
# printable range starts at the space character and ends with tilde.
|
|
27
|
-
if [ "$allownonascii" != "true" ] &&
|
|
28
|
-
# Note that the use of brackets around a tr range is ok here, (it's
|
|
29
|
-
# even required, for portability to Solaris 10's /usr/bin/tr), since
|
|
30
|
-
# the square bracket bytes happen to fall in the designated range.
|
|
31
|
-
test $(git diff --cached --name-only --diff-filter=A -z $against |
|
|
32
|
-
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
|
|
33
|
-
then
|
|
34
|
-
cat <<\EOF
|
|
35
|
-
Error: Attempt to add a non-ASCII file name.
|
|
36
|
-
|
|
37
|
-
This can cause problems if you want to work with people on other platforms.
|
|
38
|
-
|
|
39
|
-
To be portable it is advisable to rename the file.
|
|
40
|
-
|
|
41
|
-
If you know what you are doing you can disable this check using:
|
|
42
|
-
|
|
43
|
-
git config hooks.allownonascii true
|
|
44
|
-
EOF
|
|
45
|
-
exit 1
|
|
46
|
-
fi
|
|
47
|
-
|
|
48
|
-
# If there are whitespace errors, print the offending file names and fail.
|
|
49
|
-
exec git diff-index --check --cached $against --
|