jekyll-theme-amethyst 0.4.0 → 0.4.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 +4 -4
- data/_layouts/group.html +1 -0
- data/_layouts/page-api.html +16 -0
- data/_sass/amethyst.scss +5 -0
- data/amethyst.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d478567d792fb9752288273d79106286df6ef6ef3031d87fdcf16d63020c0d7d
|
|
4
|
+
data.tar.gz: 938cf6b1fe0b22eecb926cc6dc4315e27949e644c3682df2312fc3e90749f409
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 581e0dd5940ff83d59bddaa0ffa0ccd2e03de9c3359cf2e2b89a101d50d54e2d1613ec3af8ae197588a8e77c30812066c5e1fc1c0bb15537914ba0f1533e6ab1
|
|
7
|
+
data.tar.gz: 404fe3d0b4e3abe29168e9a8e644d6e5f482e821c4b05eec34d30e3c976bacbb73f78ed1b0d2e639f8a05438ab9d234ee7dedc63de19e7c21fa26b00392581df
|
data/_layouts/group.html
CHANGED
data/_layouts/page-api.html
CHANGED
|
@@ -6,9 +6,25 @@ layout: wrapper
|
|
|
6
6
|
# - version_added: semver string (e.g. "1.2.3"). Can be linked by setting `site.amethyst.release_base`.
|
|
7
7
|
# - version_deprecated: semver string
|
|
8
8
|
# - version_removed: semver string
|
|
9
|
+
# - amethyst.prepend_description_heading: boolean. Default: true.
|
|
9
10
|
#
|
|
10
11
|
---
|
|
11
12
|
|
|
13
|
+
{%- comment -%}
|
|
14
|
+
Prepend "Description" header.
|
|
15
|
+
This makes sure the accessibility tree is valid since we generally want to
|
|
16
|
+
use H3 within the top section before later sections like "Changelog" and
|
|
17
|
+
"Examples". But, visually we merge the page title and "Description" together.
|
|
18
|
+
|
|
19
|
+
Rather than require a special class to be put on every page, we instead
|
|
20
|
+
do that here for convenience.
|
|
21
|
+
{%- endcomment -%}
|
|
22
|
+
{%- unless page.amethyst.prepend_description_heading == false or layout.amethyst.prepend_description_heading == false -%}
|
|
23
|
+
{%- capture content -%}
|
|
24
|
+
<h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
|
|
25
|
+
{{ content }}
|
|
26
|
+
{%- endcapture -%}
|
|
27
|
+
{%- endunless -%}
|
|
12
28
|
<div class="main main--columns wrapper">
|
|
13
29
|
<div class="content" role="main">
|
|
14
30
|
<h1>{{ page.title }}</h1>
|
data/_sass/amethyst.scss
CHANGED
data/amethyst.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |spec|
|
|
2
2
|
spec.name = "jekyll-theme-amethyst"
|
|
3
|
-
spec.version = "0.4.
|
|
3
|
+
spec.version = "0.4.1"
|
|
4
4
|
spec.summary = "https://github.com/qunitjs/jekyll-theme-amethyst"
|
|
5
5
|
spec.authors = ["Timo Tijhof", "Trent Willis"]
|
|
6
6
|
spec.files = `git ls-files -z`.split("\x0")
|