ed. 1.1.0 → 1.2.0

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: 740b0bc12b2f73dd66e72117eec1db8fe16b77c07cfb7b62be7b2c350ea94615
4
- data.tar.gz: 75f95a21d665c8a2c6148da4d9e2afaa3004c047a21df19fee43c979801b2834
3
+ metadata.gz: e4117a38079bab7f27821cc72236be4ea842fb00298097e2906434fb93d92caa
4
+ data.tar.gz: 4edf0e5bf723b54d70404bec072a6d21a76f115a5bd869bc4c7abbef21bc6051
5
5
  SHA512:
6
- metadata.gz: 81f9683b88b4f89795953f82015bfdbb17a41912d87ed46682a535527cf5600e5eaf54b39d8f127faf1de9e2a8dc16193cd3536dbd53b81cf7f3c7a318ad2928
7
- data.tar.gz: b6e948b47d7ab9da581adfcb1bdea7bb6a9554dbf77758763ade1a926839b6bfb76f6e04f14046706429227f3b53c2e1fc5df0f98f0cd55cd34c714b4ceec7a8
6
+ metadata.gz: ce0452e11d6f2957e8d09471dd96f6dd7b09e317d618fa57ffe2dd573b122850766879f58fa5b8d10739f4b3cd4ce512777875b530879b2eb51386af6750647c
7
+ data.tar.gz: 45fc2a70dfa30fff611644d89b6fae7032a1179affea998a56368db9fd0a0a258320f8db8266ef73ba6fad3284e8fa0e427e9eb5eebba6e38d827d1e183dfeed
@@ -20,7 +20,7 @@
20
20
 
21
21
  <!-- Dublin Core metadata for Zotero -->
22
22
  <meta property="dc:title" content="{{ page.title }}" />
23
- <meta property="dc:creator" content="{{ page.author }}" />
23
+ <meta property="dc:creator" content="{% if page.author %}{{ page.author }}{% else %}{{ site.author.name }}{% endif %}" />
24
24
  <meta property="dc:identifier" content="{{ resource_url }}" />
25
25
  {% if page.editor %}<meta property="dc:contributor" content="{{ page.editor }}" />{% endif %}
26
26
  {% if page.publication-date %}<meta property="dc:date" content="{{ page.publication-date }}" />{% endif %}
@@ -28,7 +28,7 @@
28
28
  <meta property="dc:source" content="{% if page.source %}{{ page.source }}{% else %}{{ site.title }}{% endif %}" />
29
29
 
30
30
  <!-- Open Graph metadata -->
31
- <meta property="og:title" content="{{page.title}}" />
31
+ <meta property="og:title" content="{{ page.title }}" />
32
32
  <meta property="og:url" content="{{ resource_url }}" />
33
33
  <meta property="og:image" content="{{ directory_url }}/assets/open-graph-logo.png" />
34
34
  <meta property="og:image:width" content="200" />
@@ -37,7 +37,7 @@
37
37
  <meta property="fb:app_id" content="589495744558280" />
38
38
 
39
39
  {% if page.layout == "default" %}
40
- <meta property="og:description" content="{{site.description}}">
40
+ <meta property="og:description" content="{{ site.description }}">
41
41
  <meta property="og:type" content="website" />
42
42
  {% else %}
43
43
  <meta property="og:description" content="An Ed edition">
@@ -5,7 +5,7 @@
5
5
  <input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
6
6
 
7
7
  <!-- Toggleable sidebar -->
8
- <div class="sidebar" id="sidebar">
8
+ <aside class="sidebar" id="sidebar">
9
9
  <div class="sidebar-item">
10
10
  <p>{{ page.title }}</p>
11
11
  </div>
@@ -26,4 +26,4 @@
26
26
  Built with <a href="https://minicomp.github.io/ed/">Ed.</a> Distributed under an MIT license.
27
27
  </p>
28
28
  </div>
29
- </div>
29
+ </aside>
@@ -5,7 +5,7 @@
5
5
  <input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
6
6
 
7
7
  <!-- Toggleable sidebar -->
8
- <div class="sidebar" id="sidebar">
8
+ <aside class="sidebar" id="sidebar">
9
9
  <div class="sidebar-item">
10
10
  <p>{{ site.description }}</p>
11
11
  </div>
@@ -45,4 +45,4 @@
45
45
  Built with <a href="https://minicomp.github.io/ed/">Ed.</a> Distributed under an MIT license.
46
46
  </p>
47
47
  </div>
48
- </div>
48
+ </aside>
@@ -17,18 +17,18 @@
17
17
  collisions with our real content.
18
18
  -->
19
19
  <div class="wrap">
20
- <div class="masthead">
20
+ <header class="masthead">
21
21
  <div class="container">
22
22
  <h3 class="masthead-title">
23
23
  <a href="{{ site.baseurl }}/" title="Home">{{ site.title | newline_to_br }}</a>
24
24
  <br><small>{{ site.tagline }}</small>
25
25
  </h3>
26
26
  </div>
27
- </div>
27
+ </header>
28
28
 
29
- <div class="container content" id="main">
29
+ <main class="container content" id="main">
30
30
  {{ content }}
31
- </div>
31
+ </main>
32
32
  </div>
33
33
 
34
34
  <label for="sidebar-checkbox" class="sidebar-toggle"></label>
@@ -2,7 +2,8 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="drama">
5
+ <article class="drama">
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
+ <p class="byline">by {{ page.author }}</p>
7
8
  {{ content }}
8
- </div>
9
+ </article>
@@ -2,8 +2,8 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="narrative">
5
+ <article class="narrative">
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
- <p class="citation"> by {{ page.author }}</p>
7
+ <p class="byline">by {{ page.author }}</p>
8
8
  {{ content }}
9
- </div>
9
+ </article>
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="page">
5
+ <article class="page">
6
6
  <h1 class="page-title">{{ page.title }}</h1>
7
7
  {{ content }}
8
- </div>
8
+ </article>
@@ -2,8 +2,8 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="poetry">
5
+ <article class="poem poetry">
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
7
  <p class="byline">{{ page.author }}</p>
8
8
  {{ content }}
9
- </div>
9
+ </article>
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="post">
5
+ <article class="post">
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
7
  {{ content }}
8
- </div>
8
+ </article>
@@ -664,7 +664,9 @@ p.small {
664
664
  }
665
665
 
666
666
  div.poem,
667
- div.narrative {
667
+ .poem,
668
+ div.narrative,
669
+ .narrative {
668
670
  margin-bottom: 5rem;
669
671
  }
670
672
 
@@ -680,6 +682,7 @@ div.toc {
680
682
  want you want to remove the hanging indent, reset the padding-left to 0 and erase text-indent
681
683
  */
682
684
 
685
+ .poem ul,
683
686
  .poetry ul,
684
687
  ul.poetry {
685
688
  list-style: none;
@@ -750,6 +753,7 @@ ul.poetry {
750
753
  padding-left: 10rem;
751
754
  }
752
755
 
756
+ .poem .byline,
753
757
  .poetry .byline {
754
758
  font-style: italic;
755
759
  font-weight: 300;
@@ -7,8 +7,6 @@ source: "Hansberry, Lorraine, and Robert Nemiroff. A Raisin in the Sun. Rep Rei
7
7
 
8
8
  ---
9
9
 
10
- <p class="citation"> by {{ page.author }}</p>
11
-
12
10
  (excerpt)
13
11
 
14
12
  MAMA: Son—how come you talk so much 'bout money?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ed.
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Gil
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-16 00:00:00.000000000 Z
12
+ date: 2019-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll