jekyll-theme-scrawl 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/_includes/scrawl/content.md +7 -2
- data/_sass/scrawl.scss +18 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1219ef9b3494e4ebf60089aa647c09f2d6d30cf739395fd036c755c5ec827a16
|
4
|
+
data.tar.gz: cee068a7ff659a4e60109533ca1df579f9e649c446e36580c5866e022d42fc9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3a630c1e781a82a7baa2f4ffd3868c3616c7e2fa5c97365d5ee58c1029613c18d4a15e110d987b9853662c088f51fe4d0c93443319b386129802955c6388f39
|
7
|
+
data.tar.gz: acf5b1c0e47107e46c00bfadd45f53d1ed10228090e884ff14d13b5eb8579577e45909c28439db30e46476005dce1b3f8dfacb55f7e6208cf2546e35f9a7736f
|
data/README.md
CHANGED
@@ -36,8 +36,9 @@ Scrawl provides the following layouts:
|
|
36
36
|
- `base` — The `base` layout is the base layout used by all other layouts. The base layout has two side-by-side independently scrolling panes. The left pane contains the site title, the site description, and the navigation. The right pane is wider and is used for displaying the content.
|
37
37
|
- `page` — The `page` layout is the default layout that pages use. The page layout is similar to the base layout but with a few additions:
|
38
38
|
- The `title` value provided in the page's front matter is displayed as a header above the page content
|
39
|
-
- The
|
40
|
-
-
|
39
|
+
- The calculated estimated reading time. This can be disabled by setting `reading_time` to `false` in the page front matter.
|
40
|
+
- The `summary` value provided in the page's front matter is displayed below the page title and reading time
|
41
|
+
- A table of contents is displayed below the page title and summary. The table of contents is generated based on the page's level 2, 3, and 4 headers (`<h2>`, `<h3>`, and `<h4>` tags). This can be disabled by setting `toc` to `false` in the page front matter.
|
41
42
|
- `sitemap` — The `sitemap` layout breaks the navigation into four columns that takes up the width of the layout.
|
42
43
|
|
43
44
|
You can set the layout for a page in the page's Jekyll front matter:
|
data/_includes/scrawl/content.md
CHANGED
@@ -5,11 +5,11 @@ Text can be **bold**, _italic_, or ~~strikethrough~~.
|
|
5
5
|
|
6
6
|
There should be whitespace between paragraphs.
|
7
7
|
|
8
|
-
There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.
|
8
|
+
There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.[^1]
|
9
9
|
|
10
10
|
# Header 1
|
11
11
|
|
12
|
-
This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
|
12
|
+
This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.[^2]
|
13
13
|
|
14
14
|
## Header 2
|
15
15
|
|
@@ -118,3 +118,8 @@ Long, single-line code blocks should not wrap. They should horizontally scroll i
|
|
118
118
|
```
|
119
119
|
The final element.
|
120
120
|
```
|
121
|
+
|
122
|
+
## References
|
123
|
+
|
124
|
+
[^1]: This is a footnote
|
125
|
+
[^2]: [This is another footnote, which links to GitHub](https://github.com)
|
data/_sass/scrawl.scss
CHANGED
@@ -91,6 +91,24 @@ footer p:first-child {
|
|
91
91
|
margin-top: 0.25em;
|
92
92
|
}
|
93
93
|
|
94
|
+
.footnote::before{
|
95
|
+
content: "[";
|
96
|
+
}
|
97
|
+
|
98
|
+
.footnote::after{
|
99
|
+
content: "]";
|
100
|
+
}
|
101
|
+
|
102
|
+
.footnotes {
|
103
|
+
li p {
|
104
|
+
margin: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
.reversefootnote {
|
108
|
+
display: none;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
94
112
|
a.anchorjs-link:hover {
|
95
113
|
text-decoration: none;
|
96
114
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-scrawl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Light
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-pages
|