pandoc-markdown-jekyll-theme 0.9.0 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/_includes/default.html +1 -6
- data/_includes/footer.html +5 -0
- data/_includes/head.html +3 -1
- data/_template.html5 +5 -0
- data/assets/css/theme.css +5 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e472cee1ec64ac9538341192dc14e8a946703d99e9dedfd9ea6ee0580e76c46e
|
4
|
+
data.tar.gz: d818665109de31c2d9ac3615c75828d63eb4450de89bc74dd8e97d0a3cb5b745
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 188dd9ba83d9a81450eea1807384d7d0f843a8b32275d6c8738a14be7f37f98b69f4d38edd827e10cb87fa5d6fcfff4dff09dbba2dd06e0f125049821b7f5c6f
|
7
|
+
data.tar.gz: 4dad9fa5cd8c9944b121096dce52c284eb0ca1e704655953f247be22aa3591b7616b66e4bde5e4433fe9d4f633c9603f0554f2ae1226b994b05d1795bd864fb6
|
data/README.md
CHANGED
@@ -36,6 +36,8 @@ And then run:
|
|
36
36
|
bundle install
|
37
37
|
# Copy out one file that has to live in the site folder, not the theme
|
38
38
|
cp $(bundle info pandoc-markdown-jekyll-theme --path)/_template.html5 .
|
39
|
+
# Bust the Jekyll cache (Jekyll doesn't track _template.html5 changes)
|
40
|
+
rm -rf .jekyll-cache
|
39
41
|
```
|
40
42
|
|
41
43
|
And finally, update your `_config.yml` file:
|
@@ -75,6 +77,7 @@ The following variables are used by this theme.
|
|
75
77
|
- `page.title`
|
76
78
|
- `site.author`
|
77
79
|
- `page.author`
|
80
|
+
- `page.author_url`
|
78
81
|
- `site.baseurl`
|
79
82
|
- Make sure you don't have a trailing slash here
|
80
83
|
- `site.header_includes`
|
@@ -93,6 +96,7 @@ The following variables are used by this theme.
|
|
93
96
|
- `index` won't have a "Return home" link at the bottom of the page
|
94
97
|
- `page.subtitle`
|
95
98
|
- Shows up in the page.
|
99
|
+
- `site.description`
|
96
100
|
- `page.description`
|
97
101
|
- Only shows up in the `<head>` section, as a `<meta>` tag.
|
98
102
|
- `page.date`
|
@@ -117,7 +121,7 @@ To make a release:
|
|
117
121
|
|
118
122
|
```bash
|
119
123
|
vim pandoc-markdown-jekyll-theme.gemspec
|
120
|
-
git commit pandoc-markdown-jekyll-theme.gemspec -m
|
124
|
+
git commit pandoc-markdown-jekyll-theme.gemspec -m "$version"
|
121
125
|
git tag "$version"
|
122
126
|
git push --tags origin master
|
123
127
|
gem build pandoc-markdown-jekyll-theme.gemspec
|
data/_includes/default.html
CHANGED
@@ -9,12 +9,7 @@
|
|
9
9
|
|
10
10
|
{{ content }}
|
11
11
|
|
12
|
-
{%
|
13
|
-
<footer>
|
14
|
-
<p class="signoff"><a href="{{ site.baseurl }}/">← Return home</a></p>
|
15
|
-
</footer>
|
16
|
-
{% endif -%}
|
17
|
-
|
12
|
+
{% include footer.html %}
|
18
13
|
{% include enable_checkboxes.html %}
|
19
14
|
{% include after.html %}
|
20
15
|
</body>
|
data/_includes/head.html
CHANGED
@@ -14,13 +14,15 @@
|
|
14
14
|
{% endif -%}
|
15
15
|
{% if page.description -%}
|
16
16
|
<meta name="description" content="{{ page.description }}">
|
17
|
+
{% elsif site.description -%}
|
18
|
+
<meta name="description" content="{{ site.description }}">
|
17
19
|
{% endif -%}
|
18
20
|
<title>{{ page.title }}{% if site.title %} – {{ site.title }}{% endif %}</title>
|
19
21
|
|
20
22
|
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/theme.css">
|
21
23
|
{% unless site.pandoc_markdown_skip_syntax_theme -%}
|
22
24
|
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/skylighting-solarized-theme.css">
|
23
|
-
{%
|
25
|
+
{% endunless -%}
|
24
26
|
|
25
27
|
{% include math.html %}
|
26
28
|
|
data/_template.html5
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
$-- Do not edit this file to allow updating. Update with:
|
2
2
|
$-- cp $(bundle info pandoc-markdown-jekyll-theme --path)/_template.html5 .
|
3
|
+
$-- rm -rf .jekyll-cache
|
3
4
|
$if(toc)$
|
4
5
|
<nav id="TOC" role="doc-toc">
|
5
6
|
<a href="$site__baseurl$">Home</a><br>
|
@@ -7,6 +8,10 @@ $if(toc)$
|
|
7
8
|
<input type="checkbox" id="contents">
|
8
9
|
$table-of-contents$
|
9
10
|
</nav>
|
11
|
+
$else$
|
12
|
+
<nav id="TOC" role="doc-toc">
|
13
|
+
<a href="$site__baseurl$">← Return home</a><br>
|
14
|
+
</nav>
|
10
15
|
$endif$
|
11
16
|
|
12
17
|
<main>
|
data/assets/css/theme.css
CHANGED
@@ -393,7 +393,8 @@ span.mark.purple, mark.purple { background-color: var(--highlight-purple); }
|
|
393
393
|
margin-bottom: 0;
|
394
394
|
}
|
395
395
|
.signoff {
|
396
|
-
margin: calc(4 * var(--line-height))
|
396
|
+
margin-top: calc(4 * var(--line-height));
|
397
|
+
margin-bottom: calc(4 * var(--line-height));
|
397
398
|
}
|
398
399
|
|
399
400
|
/* Pandoc utility classes */
|
@@ -531,7 +532,9 @@ pre.tight-code {
|
|
531
532
|
}
|
532
533
|
|
533
534
|
pre.tight-code code,
|
534
|
-
.tight-code pre code
|
535
|
+
.tight-code pre code,
|
536
|
+
.tight-code pre > code.sourceCode > span,
|
537
|
+
pre.tight-code > code.sourceCode > span {
|
535
538
|
line-height: var(--tight-code-line-height);
|
536
539
|
}
|
537
540
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pandoc-markdown-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake Zimmerman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll-pandoc
|
@@ -78,6 +78,7 @@ files:
|
|
78
78
|
- _includes/before.html
|
79
79
|
- _includes/default.html
|
80
80
|
- _includes/enable_checkboxes.html
|
81
|
+
- _includes/footer.html
|
81
82
|
- _includes/head.html
|
82
83
|
- _includes/header.html
|
83
84
|
- _includes/math.html
|