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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a49edb57949eab4b25bb93c300a3193fd616eebbec32377f4c228d7763800999
4
- data.tar.gz: b6ef381aec61b1cf185285686ae097103b1b6fe5fa8dc00b77568579cae7c82f
3
+ metadata.gz: 1219ef9b3494e4ebf60089aa647c09f2d6d30cf739395fd036c755c5ec827a16
4
+ data.tar.gz: cee068a7ff659a4e60109533ca1df579f9e649c446e36580c5866e022d42fc9a
5
5
  SHA512:
6
- metadata.gz: 36355dea144024e23300c980af1a7b7339bc8fd68332156365cf8b905d6fd9b4215211dd2ce1345f73c4feb164c6ae9d3f845a544a6a3164744dbe88daae3d9c
7
- data.tar.gz: de909fb05b1e876532bbd3e325691554ea9b537c69c6a2513d48111244b20a1b045ff5e3c82b63ca3bbce322f4b81c7b55b21e1bfd30535fe5284d373e359c30
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 `summary` value provided in the page's front matter is displayed below the page title
40
- - 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).
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:
@@ -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.21
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-15 00:00:00.000000000 Z
11
+ date: 2018-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github-pages