jekyll-info 0.0.1
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +22 -0
- data/jekyll-info.gemspec +22 -0
- data/lib/jekyll-info.rb +9 -0
- data/lib/jekyll-info/generator.rb +56 -0
- data/lib/jekyll-info/jekyll-info.html +497 -0
- data/lib/jekyll-info/page-without-a-file.rb +9 -0
- data/lib/jekyll-info/version.rb +7 -0
- metadata +66 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 459123013f2b1c645322b858697396e317b1e6f2
|
|
4
|
+
data.tar.gz: e2d49d5313ad2331729f290be90869eae8062488
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0c2694465d022fb5dffd3f0b5eaad8940200c61036279a313983fd9ea68cff0fa8d18b253a3f947ec354d7007e11e4e1a607e88cb4a1859be68b1eb6c4ea0c39
|
|
7
|
+
data.tar.gz: 35537c5ead4eaed6c40038cf1fc21d25df43e51a4cc4e548fbdb6bd783b8c94adb17a408f1dd045719ee1bed71640475c591772b5e73c35ac331c3c8fd2313c4
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Steven Westmoreland
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Jekyll Info plugin
|
|
2
|
+
|
|
3
|
+
A Jekyll plugin to provide information about your Jekyll site
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Add this line to your site's Gemfile:
|
|
8
|
+
|
|
9
|
+
```ruby
|
|
10
|
+
gem 'jekyll-info'
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
And then add this line to your site's `_config.yml`:
|
|
14
|
+
|
|
15
|
+
```yml
|
|
16
|
+
plugins:
|
|
17
|
+
- jekyll-info
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
The plugin will automatically generate a page at `/jekyll-info.html`.
|
data/jekyll-info.gemspec
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
+
require "jekyll-info/version"
|
|
6
|
+
|
|
7
|
+
Gem::Specification.new do |spec|
|
|
8
|
+
spec.name = "jekyll-info"
|
|
9
|
+
spec.version = Jekyll::Info::VERSION
|
|
10
|
+
spec.authors = ["Steven Westmoreland"]
|
|
11
|
+
spec.email = ["steven.westmoreland@gmail.com"]
|
|
12
|
+
spec.summary = "A Jekyll plugin to provide information about your Jekyll site"
|
|
13
|
+
spec.homepage = "https://github.com/swestmoreland/jekyll-info"
|
|
14
|
+
spec.license = "MIT"
|
|
15
|
+
|
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
|
17
|
+
spec.executables = spec.files.grep(%r!^bin/!) { |f| File.basename(f) }
|
|
18
|
+
spec.test_files = spec.files.grep(%r!^(test|spec|features)/!)
|
|
19
|
+
spec.require_paths = ["lib"]
|
|
20
|
+
|
|
21
|
+
spec.add_dependency "jekyll", "~> 3.3"
|
|
22
|
+
end
|
data/lib/jekyll-info.rb
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module JekyllInfo
|
|
4
|
+
class Generator < Jekyll::Generator
|
|
5
|
+
safe true
|
|
6
|
+
priority :lowest
|
|
7
|
+
|
|
8
|
+
# Main plugin action, called by Jekyll-core
|
|
9
|
+
def generate(site)
|
|
10
|
+
@site = site
|
|
11
|
+
return if file_exists?(template_path)
|
|
12
|
+
@site.pages << content_for_file(template_path, template_source_path)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
private
|
|
16
|
+
|
|
17
|
+
# Matches all whitespace that follows
|
|
18
|
+
# 1. A '>', which closes an XML tag or
|
|
19
|
+
# 2. A '}', which closes a Liquid tag
|
|
20
|
+
# We will strip all of this whitespace to minify the template
|
|
21
|
+
MINIFY_REGEX = %r!(?<=>|})\s+!
|
|
22
|
+
|
|
23
|
+
# Path to jekyll-info from config, or jekyll-info.html for default
|
|
24
|
+
def template_path
|
|
25
|
+
if @site.config["info"] && @site.config["info"]["path"]
|
|
26
|
+
@site.config["info"]["path"]
|
|
27
|
+
else
|
|
28
|
+
"jekyll-info.html"
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Path to jekyll-info.html template file
|
|
33
|
+
def template_source_path
|
|
34
|
+
File.expand_path "jekyll-info.html", __dir__
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Checks if a file already exists in the site source
|
|
38
|
+
def file_exists?(file_path)
|
|
39
|
+
if @site.respond_to?(:in_source_dir)
|
|
40
|
+
File.exist? @site.in_source_dir(file_path)
|
|
41
|
+
else
|
|
42
|
+
File.exist? Jekyll.sanitized_path(@site.source, file_path)
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# Generates contents for a file
|
|
47
|
+
def content_for_file(file_path, file_source_path)
|
|
48
|
+
file = PageWithoutAFile.new(@site, __dir__, "", file_path)
|
|
49
|
+
file.content = File.read(file_source_path).gsub(MINIFY_REGEX, "")
|
|
50
|
+
file.data["layout"] = nil
|
|
51
|
+
file.data["sitemap"] = false
|
|
52
|
+
file.output
|
|
53
|
+
file
|
|
54
|
+
end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
6
|
+
<meta name="robots" content="noindex, nofollow, noarchive">
|
|
7
|
+
<title>Jekyll v{{ jekyll.version }}</title>
|
|
8
|
+
<style type="text/css">
|
|
9
|
+
body {
|
|
10
|
+
background: #fff;
|
|
11
|
+
color: #212529;
|
|
12
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
13
|
+
font-size: .875rem;
|
|
14
|
+
line-height: 1.5;
|
|
15
|
+
margin: 1.5rem;
|
|
16
|
+
}
|
|
17
|
+
h1 {
|
|
18
|
+
font-size: 1.75rem;
|
|
19
|
+
margin: 1.5rem 0 .5rem;
|
|
20
|
+
}
|
|
21
|
+
h2 {
|
|
22
|
+
font-size: 1.25rem;
|
|
23
|
+
margin: .5rem 0;
|
|
24
|
+
}
|
|
25
|
+
table {
|
|
26
|
+
border-collapse: collapse;
|
|
27
|
+
margin: .5rem 0;
|
|
28
|
+
max-width: 100%;
|
|
29
|
+
table-layout: fixed;
|
|
30
|
+
width: 100%;
|
|
31
|
+
}
|
|
32
|
+
table th,
|
|
33
|
+
table td {
|
|
34
|
+
border: 1px solid #dee2e6;
|
|
35
|
+
padding: .33rem;
|
|
36
|
+
text-align: left;
|
|
37
|
+
vertical-align: top;
|
|
38
|
+
}
|
|
39
|
+
table thead th {
|
|
40
|
+
background-color: #e9ecef;
|
|
41
|
+
color: #495057;
|
|
42
|
+
}
|
|
43
|
+
table thead th,
|
|
44
|
+
table thead td {
|
|
45
|
+
border-bottom: 2px solid #dee2e6;
|
|
46
|
+
text-align: left;
|
|
47
|
+
vertical-align: bottom;
|
|
48
|
+
}
|
|
49
|
+
table tbody th {
|
|
50
|
+
background-color: #f8f9fa;
|
|
51
|
+
}
|
|
52
|
+
table tbody + tbody {
|
|
53
|
+
border-top: 2px solid #dee2e6;
|
|
54
|
+
}
|
|
55
|
+
.indent {
|
|
56
|
+
text-indent: 1rem;
|
|
57
|
+
}
|
|
58
|
+
.right {
|
|
59
|
+
text-align: right;
|
|
60
|
+
}
|
|
61
|
+
</style>
|
|
62
|
+
</head>
|
|
63
|
+
<body>
|
|
64
|
+
<main class="page" role="main">
|
|
65
|
+
|
|
66
|
+
<h1 id="jekyll-info">Jekyll-Info</h1>
|
|
67
|
+
<table>
|
|
68
|
+
<tbody>
|
|
69
|
+
<tr>
|
|
70
|
+
<th>Time</th>
|
|
71
|
+
<td class="right">{{ site.time }}</td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>URL</th>
|
|
75
|
+
<td class="right"><a href="{{ site.url }}">{{ site.url }}</a></td>
|
|
76
|
+
</tr>
|
|
77
|
+
</tbody>
|
|
78
|
+
</table>
|
|
79
|
+
<table>
|
|
80
|
+
<tbody>
|
|
81
|
+
<tr>
|
|
82
|
+
<th><a href="#collections">Collections</a></th>
|
|
83
|
+
<td class="right">{{ site.collections | size }}</td>
|
|
84
|
+
</tr>
|
|
85
|
+
{% for collection in site.collections %}
|
|
86
|
+
<tr>
|
|
87
|
+
<th class="indent"><a href="#documents-in-{{ collection.label }}">{{ collection.label }}</a></th>
|
|
88
|
+
<td class="right">{{ collection.docs | size }}</td>
|
|
89
|
+
</tr>
|
|
90
|
+
{% endfor %}
|
|
91
|
+
<tr>
|
|
92
|
+
<th><a href="#data-files">Data Files</a></th>
|
|
93
|
+
<td class="right">{{ site.data | size }}</td>
|
|
94
|
+
</tr>
|
|
95
|
+
<tr>
|
|
96
|
+
<th><a href="#pages">Pages</a></th>
|
|
97
|
+
<td class="right">{{ site.pages | size }}</td>
|
|
98
|
+
</tr>
|
|
99
|
+
<tr>
|
|
100
|
+
<th><a href="#static-files">Static Files</a></th>
|
|
101
|
+
<td class="right">{{ site.static_files | size }}</td>
|
|
102
|
+
</tr>
|
|
103
|
+
</tbody>
|
|
104
|
+
</table>
|
|
105
|
+
<table>
|
|
106
|
+
<tbody>
|
|
107
|
+
<tr>
|
|
108
|
+
<th>Categories</th>
|
|
109
|
+
<td>
|
|
110
|
+
{%- for category in site.categories -%}
|
|
111
|
+
{{category[0]}}{% unless forloop.last %}, {% endunless %}
|
|
112
|
+
{%- endfor -%}
|
|
113
|
+
</td>
|
|
114
|
+
</tr>
|
|
115
|
+
<tr>
|
|
116
|
+
<th>Tags</th>
|
|
117
|
+
<td>
|
|
118
|
+
{%- for tag in site.tags -%}
|
|
119
|
+
{{tag[0]}}{% unless forloop.last %}, {% endunless %}
|
|
120
|
+
{%- endfor -%}
|
|
121
|
+
</td>
|
|
122
|
+
</tr>
|
|
123
|
+
</tbody>
|
|
124
|
+
</table>
|
|
125
|
+
|
|
126
|
+
<h1 id="configuration">Configuration</h1>
|
|
127
|
+
<table>
|
|
128
|
+
<thead>
|
|
129
|
+
<tr>
|
|
130
|
+
<th colspan="2">jekyll</th>
|
|
131
|
+
</tr>
|
|
132
|
+
</thead>
|
|
133
|
+
<tbody>
|
|
134
|
+
<tr>
|
|
135
|
+
<th>version</th>
|
|
136
|
+
<td>{{ jekyll.version }}</td>
|
|
137
|
+
</tr>
|
|
138
|
+
<tr>
|
|
139
|
+
<th>environment</th>
|
|
140
|
+
<td>{{ jekyll.environment }}</td>
|
|
141
|
+
</tr>
|
|
142
|
+
</tbody>
|
|
143
|
+
<thead>
|
|
144
|
+
<tr>
|
|
145
|
+
<th colspan="2">site</th>
|
|
146
|
+
</tr>
|
|
147
|
+
</thead>
|
|
148
|
+
<tbody>
|
|
149
|
+
<tr>
|
|
150
|
+
<th>source</th>
|
|
151
|
+
<td>{{ site.source }}</td>
|
|
152
|
+
</tr>
|
|
153
|
+
<tr>
|
|
154
|
+
<th>destination</th>
|
|
155
|
+
<td>{{ site.destination }}</td>
|
|
156
|
+
</tr>
|
|
157
|
+
<tr>
|
|
158
|
+
<th>collections_dir</th>
|
|
159
|
+
<td>{{ site.collections_dir }}</td>
|
|
160
|
+
</tr>
|
|
161
|
+
<tr>
|
|
162
|
+
<th>data_dir</th>
|
|
163
|
+
<td>{{ site.data_dir }}</td>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
166
|
+
<th>includes_dir</th>
|
|
167
|
+
<td>{{ site.includes_dir }}</td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr>
|
|
170
|
+
<th>layouts_dir</th>
|
|
171
|
+
<td>{{ site.layouts_dir }}</td>
|
|
172
|
+
</tr>
|
|
173
|
+
<tr>
|
|
174
|
+
<th>plugins_dir</th>
|
|
175
|
+
<td>{{ site.plugins_dir }}</td>
|
|
176
|
+
</tr>
|
|
177
|
+
<tr>
|
|
178
|
+
<th>safe</th>
|
|
179
|
+
<td>{{ site.safe }}</td>
|
|
180
|
+
</tr>
|
|
181
|
+
<tr>
|
|
182
|
+
<th>include</th>
|
|
183
|
+
<td>{{ site.include | join: ", " }}</td>
|
|
184
|
+
</tr>
|
|
185
|
+
<tr>
|
|
186
|
+
<th>exclude</th>
|
|
187
|
+
<td>{{ site.exclude | join: ", " }}</td>
|
|
188
|
+
</tr>
|
|
189
|
+
<tr>
|
|
190
|
+
<th>keep_files</th>
|
|
191
|
+
<td>{{ site.keep_files | join: ", " }}</td>
|
|
192
|
+
</tr>
|
|
193
|
+
<tr>
|
|
194
|
+
<th>encoding</th>
|
|
195
|
+
<td>{{ site.encoding }}</td>
|
|
196
|
+
</tr>
|
|
197
|
+
<tr>
|
|
198
|
+
<th>markdown_ext</th>
|
|
199
|
+
<td>{{ site.markdown_ext }}</td>
|
|
200
|
+
</tr>
|
|
201
|
+
<tr>
|
|
202
|
+
<th>strict_front_matter</th>
|
|
203
|
+
<td>{{ site.strict_front_matter }}</td>
|
|
204
|
+
</tr>
|
|
205
|
+
<tr>
|
|
206
|
+
<th>show_drafts</th>
|
|
207
|
+
<td>{{ site.show_drafts }}</td>
|
|
208
|
+
</tr>
|
|
209
|
+
<tr>
|
|
210
|
+
<th>limit_posts</th>
|
|
211
|
+
<td>{{ site.limit_posts }}</td>
|
|
212
|
+
</tr>
|
|
213
|
+
<tr>
|
|
214
|
+
<th>future</th>
|
|
215
|
+
<td>{{ site.future }}</td>
|
|
216
|
+
</tr>
|
|
217
|
+
<tr>
|
|
218
|
+
<th>unpublished</th>
|
|
219
|
+
<td>{{ site.unpublished }}</td>
|
|
220
|
+
</tr>
|
|
221
|
+
<tr>
|
|
222
|
+
<th>whitelist</th>
|
|
223
|
+
<td>{{ site.whitelist | join: ", " }}</td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<th>plugins</th>
|
|
227
|
+
<td>{{ site.plugins | join: ", " }}</td>
|
|
228
|
+
</tr>
|
|
229
|
+
<tr>
|
|
230
|
+
<th>markdown</th>
|
|
231
|
+
<td>{{ site.markdown }}</td>
|
|
232
|
+
</tr>
|
|
233
|
+
<tr>
|
|
234
|
+
<th>highlighter</th>
|
|
235
|
+
<td>{{ site.highlighter }}</td>
|
|
236
|
+
</tr>
|
|
237
|
+
<tr>
|
|
238
|
+
<th>lsi</th>
|
|
239
|
+
<td>{{ site.lsi }}</td>
|
|
240
|
+
</tr>
|
|
241
|
+
<tr>
|
|
242
|
+
<th>excerpt_separator</th>
|
|
243
|
+
<td>{{ site.excerpt_separator }}</td>
|
|
244
|
+
</tr>
|
|
245
|
+
<tr>
|
|
246
|
+
<th>incremental</th>
|
|
247
|
+
<td>{{ site.incremental }}</td>
|
|
248
|
+
</tr>
|
|
249
|
+
<tr>
|
|
250
|
+
<th>detach</th>
|
|
251
|
+
<td>{{ site.detach }}</td>
|
|
252
|
+
</tr>
|
|
253
|
+
<tr>
|
|
254
|
+
<th>port</th>
|
|
255
|
+
<td>{{ site.port }}</td>
|
|
256
|
+
</tr>
|
|
257
|
+
<tr>
|
|
258
|
+
<th>host</th>
|
|
259
|
+
<td>{{ site.host }}</td>
|
|
260
|
+
</tr>
|
|
261
|
+
<tr>
|
|
262
|
+
<th>baseurl</th>
|
|
263
|
+
<td>{{ site.baseurl }}</td>
|
|
264
|
+
</tr>
|
|
265
|
+
<tr>
|
|
266
|
+
<th>show_dir_listing</th>
|
|
267
|
+
<td>{{ site.show_dir_listing }}</td>
|
|
268
|
+
</tr>
|
|
269
|
+
<tr>
|
|
270
|
+
<th>permalink</th>
|
|
271
|
+
<td>{{ site.permalink }}</td>
|
|
272
|
+
</tr>
|
|
273
|
+
<tr>
|
|
274
|
+
<th>paginate_path</th>
|
|
275
|
+
<td>{{ site.paginate_path }}</td>
|
|
276
|
+
</tr>
|
|
277
|
+
<tr>
|
|
278
|
+
<th>timezone</th>
|
|
279
|
+
<td>{{ site.timezone }}</td>
|
|
280
|
+
</tr>
|
|
281
|
+
<tr>
|
|
282
|
+
<th>quiet</th>
|
|
283
|
+
<td>{{ site.quiet }}</td>
|
|
284
|
+
</tr>
|
|
285
|
+
<tr>
|
|
286
|
+
<th>verbose</th>
|
|
287
|
+
<td>{{ site.verbose }}</td>
|
|
288
|
+
</tr>
|
|
289
|
+
</tbody>
|
|
290
|
+
{% for collection in site.collections %}
|
|
291
|
+
<thead>
|
|
292
|
+
<tr>
|
|
293
|
+
<th colspan="2">site.collections.{{ collection.label }}</th>
|
|
294
|
+
</tr>
|
|
295
|
+
</thead>
|
|
296
|
+
<tbody>
|
|
297
|
+
<tr>
|
|
298
|
+
<th>relative_directory</th>
|
|
299
|
+
<td>{{ collection.relative_directory }}</td>
|
|
300
|
+
</tr>
|
|
301
|
+
<tr>
|
|
302
|
+
<th>directory</th>
|
|
303
|
+
<td>{{ collection.directory }}</td>
|
|
304
|
+
</tr>
|
|
305
|
+
<tr>
|
|
306
|
+
<th>output</th>
|
|
307
|
+
<td>{{ collection.output }}</td>
|
|
308
|
+
</tr>
|
|
309
|
+
</tbody>
|
|
310
|
+
{% endfor %}
|
|
311
|
+
<thead>
|
|
312
|
+
<tr>
|
|
313
|
+
<th colspan="2">site.defaults</th>
|
|
314
|
+
</tr>
|
|
315
|
+
</thead>
|
|
316
|
+
{% for default in site.defaults %}
|
|
317
|
+
<tbody>
|
|
318
|
+
<tr>
|
|
319
|
+
<th colspan="2">scope</th>
|
|
320
|
+
</tr>
|
|
321
|
+
{% for value in default.scope %}
|
|
322
|
+
<tr>
|
|
323
|
+
<th class="indent">{{ value[0] }}</th>
|
|
324
|
+
<td>{{ value[1] }}</td>
|
|
325
|
+
</tr>
|
|
326
|
+
{% endfor %}
|
|
327
|
+
<tr>
|
|
328
|
+
<th colspan="2">values</th>
|
|
329
|
+
</tr>
|
|
330
|
+
{% for value in default.values %}
|
|
331
|
+
<tr>
|
|
332
|
+
<th class="indent">{{ value[0] }}</th>
|
|
333
|
+
<td>{{ value[1] }}</td>
|
|
334
|
+
</tr>
|
|
335
|
+
{% endfor %}
|
|
336
|
+
</tbody>
|
|
337
|
+
{% endfor %}
|
|
338
|
+
<thead>
|
|
339
|
+
<tr>
|
|
340
|
+
<th colspan="2">site.liquid</th>
|
|
341
|
+
</tr>
|
|
342
|
+
</thead>
|
|
343
|
+
<tbody>
|
|
344
|
+
<tr>
|
|
345
|
+
<th>error_mode</th>
|
|
346
|
+
<td>{{ site.liquid.error_mode }}</td>
|
|
347
|
+
</tr>
|
|
348
|
+
<tr>
|
|
349
|
+
<th>strict_filters</th>
|
|
350
|
+
<td>{{ site.liquid.strict_filters }}</td>
|
|
351
|
+
</tr>
|
|
352
|
+
<tr>
|
|
353
|
+
<th>strict_variables</th>
|
|
354
|
+
<td>{{ site.liquid.strict_variables }}</td>
|
|
355
|
+
</tr>
|
|
356
|
+
</tbody>
|
|
357
|
+
<thead>
|
|
358
|
+
<tr>
|
|
359
|
+
<th colspan="2">site.rdiscount</th>
|
|
360
|
+
</tr>
|
|
361
|
+
</thead>
|
|
362
|
+
<tbody>
|
|
363
|
+
<tr>
|
|
364
|
+
<th>extensions</th>
|
|
365
|
+
<td>{{ site.rdiscount.extensions | join: ", " }}</td>
|
|
366
|
+
</tr>
|
|
367
|
+
</tbody>
|
|
368
|
+
<thead>
|
|
369
|
+
<tr>
|
|
370
|
+
<th colspan="2">site.redcarpet</th>
|
|
371
|
+
</tr>
|
|
372
|
+
</thead>
|
|
373
|
+
<tbody>
|
|
374
|
+
<tr>
|
|
375
|
+
<th>extensions</th>
|
|
376
|
+
<td>{{ site.redcarpet.extensions | join: ", " }}</td>
|
|
377
|
+
</tr>
|
|
378
|
+
</tbody>
|
|
379
|
+
<thead>
|
|
380
|
+
<tr>
|
|
381
|
+
<th colspan="2">site.kramdown</th>
|
|
382
|
+
</tr>
|
|
383
|
+
</thead>
|
|
384
|
+
<tbody>
|
|
385
|
+
<tr>
|
|
386
|
+
<th>auto_ids</th>
|
|
387
|
+
<td>{{ site.kramdown.auto_ids }}</td>
|
|
388
|
+
</tr>
|
|
389
|
+
<tr>
|
|
390
|
+
<th>entity_output</th>
|
|
391
|
+
<td>{{ site.kramdown.entity_output }}</td>
|
|
392
|
+
</tr>
|
|
393
|
+
<tr>
|
|
394
|
+
<th>toc_levels</th>
|
|
395
|
+
<td>{{ site.kramdown.toc_levels }}</td>
|
|
396
|
+
</tr>
|
|
397
|
+
<tr>
|
|
398
|
+
<th>smart_quotes</th>
|
|
399
|
+
<td>{{ site.kramdown.smart_quotes }}</td>
|
|
400
|
+
</tr>
|
|
401
|
+
<tr>
|
|
402
|
+
<th>input</th>
|
|
403
|
+
<td>{{ site.kramdown.input }}</td>
|
|
404
|
+
</tr>
|
|
405
|
+
<tr>
|
|
406
|
+
<th>hard_wrap</th>
|
|
407
|
+
<td>{{ site.kramdown.hard_wrap }}</td>
|
|
408
|
+
</tr>
|
|
409
|
+
<tr>
|
|
410
|
+
<th>footnote_nr</th>
|
|
411
|
+
<td>{{ site.kramdown.footnote_nr }}</td>
|
|
412
|
+
</tr>
|
|
413
|
+
<tr>
|
|
414
|
+
<th>show_warnings</th>
|
|
415
|
+
<td>{{ site.kramdown.show_warnings }}</td>
|
|
416
|
+
</tr>
|
|
417
|
+
</tbody>
|
|
418
|
+
</table>
|
|
419
|
+
|
|
420
|
+
<h1 id="collections">Collections</h1>
|
|
421
|
+
{% for collection in site.collections %}
|
|
422
|
+
<h2 id="documents-in-{{ collection.label }}">Documents in {{ collection.label }}</h2>
|
|
423
|
+
<table>
|
|
424
|
+
<colgroup>
|
|
425
|
+
<col class="title">
|
|
426
|
+
<col class="path">
|
|
427
|
+
<col class="date">
|
|
428
|
+
</colgroup>
|
|
429
|
+
<thead>
|
|
430
|
+
<tr>
|
|
431
|
+
<th>title</th>
|
|
432
|
+
<th>path</th>
|
|
433
|
+
<th>date</th>
|
|
434
|
+
</tr>
|
|
435
|
+
</thead>
|
|
436
|
+
<tbody>
|
|
437
|
+
{% for doc in collection.docs %}
|
|
438
|
+
<tr>
|
|
439
|
+
<td><a href="{{ doc.url | absolute_url }}">{{ doc.title }}</a></td>
|
|
440
|
+
<td>{{ doc.path }}</td>
|
|
441
|
+
<td>{{ doc.date | date_to_xmlschema }}</td>
|
|
442
|
+
</tr>
|
|
443
|
+
{% endfor %}
|
|
444
|
+
</tbody>
|
|
445
|
+
</table>
|
|
446
|
+
{% endfor %}
|
|
447
|
+
|
|
448
|
+
<h1 id="pages">Pages</h1>
|
|
449
|
+
<table>
|
|
450
|
+
<colgroup>
|
|
451
|
+
<col class="title">
|
|
452
|
+
<col class="path">
|
|
453
|
+
<col class="date">
|
|
454
|
+
</colgroup>
|
|
455
|
+
<thead>
|
|
456
|
+
<tr>
|
|
457
|
+
<th>title</th>
|
|
458
|
+
<th>path</th>
|
|
459
|
+
<th>date</th>
|
|
460
|
+
</tr>
|
|
461
|
+
</thead>
|
|
462
|
+
<tbody>
|
|
463
|
+
{% for doc in site.pages %}
|
|
464
|
+
<tr>
|
|
465
|
+
<td><a href="{{ doc.url | absolute_url }}">{{ doc.title }}</a></td>
|
|
466
|
+
<td>{{ doc.path }}</td>
|
|
467
|
+
<td>{{ doc.date | date_to_xmlschema }}</td>
|
|
468
|
+
</tr>
|
|
469
|
+
{% endfor %}
|
|
470
|
+
</tbody>
|
|
471
|
+
</table>
|
|
472
|
+
|
|
473
|
+
<h1 id="static-files">Static Files</h1>
|
|
474
|
+
<table>
|
|
475
|
+
<colgroup>
|
|
476
|
+
<col class="path">
|
|
477
|
+
<col class="modified_time">
|
|
478
|
+
</colgroup>
|
|
479
|
+
<thead>
|
|
480
|
+
<tr>
|
|
481
|
+
<th>path</th>
|
|
482
|
+
<th>modified_time</th>
|
|
483
|
+
</tr>
|
|
484
|
+
</thead>
|
|
485
|
+
<tbody>
|
|
486
|
+
{% for file in site.static_files %}
|
|
487
|
+
<tr>
|
|
488
|
+
<td>{{ file.path | remove_first: "/" }}</td>
|
|
489
|
+
<td>{{ file.modified_time | date_to_xmlschema }}</td>
|
|
490
|
+
</tr>
|
|
491
|
+
{% endfor %}
|
|
492
|
+
</tbody>
|
|
493
|
+
</table>
|
|
494
|
+
|
|
495
|
+
</main>
|
|
496
|
+
</body>
|
|
497
|
+
</html>
|
metadata
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: jekyll-info
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Steven Westmoreland
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2018-06-19 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: jekyll
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '3.3'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '3.3'
|
|
27
|
+
description:
|
|
28
|
+
email:
|
|
29
|
+
- steven.westmoreland@gmail.com
|
|
30
|
+
executables: []
|
|
31
|
+
extensions: []
|
|
32
|
+
extra_rdoc_files: []
|
|
33
|
+
files:
|
|
34
|
+
- LICENSE
|
|
35
|
+
- README.md
|
|
36
|
+
- jekyll-info.gemspec
|
|
37
|
+
- lib/jekyll-info.rb
|
|
38
|
+
- lib/jekyll-info/generator.rb
|
|
39
|
+
- lib/jekyll-info/jekyll-info.html
|
|
40
|
+
- lib/jekyll-info/page-without-a-file.rb
|
|
41
|
+
- lib/jekyll-info/version.rb
|
|
42
|
+
homepage: https://github.com/swestmoreland/jekyll-info
|
|
43
|
+
licenses:
|
|
44
|
+
- MIT
|
|
45
|
+
metadata: {}
|
|
46
|
+
post_install_message:
|
|
47
|
+
rdoc_options: []
|
|
48
|
+
require_paths:
|
|
49
|
+
- lib
|
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '0'
|
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - ">="
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '0'
|
|
60
|
+
requirements: []
|
|
61
|
+
rubyforge_project:
|
|
62
|
+
rubygems_version: 2.6.10
|
|
63
|
+
signing_key:
|
|
64
|
+
specification_version: 4
|
|
65
|
+
summary: A Jekyll plugin to provide information about your Jekyll site
|
|
66
|
+
test_files: []
|