typographical 1.0.4 → 1.0.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76ce5233264b2153a4e17d1affdaa5d56b7e6d651db6f63f77f2ddd5df97f36c
4
- data.tar.gz: 78dea5238e84b8e6793a317773c3159cd34590e33299ffe82bb7ceb3ea6cc00d
3
+ metadata.gz: a59a5915c8b076fe2c4d84ddf84454a8115b7791bcff726a85d1b220fdc7a21b
4
+ data.tar.gz: 2fb1f62cfcecdf923e04a56536f2672637e6fcc025b9c0633ca948ffa70036c6
5
5
  SHA512:
6
- metadata.gz: e5234048a7b56b57e35b4d999c330a1f2eee9eb827bfb8f3f65779c9c7f8901684e0aac58bfba4095cd5a5557eee3fedd5c6d3ab523f1637b318901af16790f6
7
- data.tar.gz: a09549c096eb40ee9a6552997b669361cbd72d95176a294185f772f564d292e7b893cc0346528b85c1bcbec0e594373ef6b1da1578a409cf225c3df99e64ce22
6
+ metadata.gz: 329d3494a9409677ef7f5c4ecead9e599f70e6ceb61567828e1a135a4b9de6463fffa324f692e98cfee9add5a1eaa613644135ca946627347ad1fe29583931e5
7
+ data.tar.gz: dd476aacb06d21fae574d0abf52194a7974af57c1d96d1d3253fed95d27e638678fb4dd4c5f87ab7780dcb9eaf87222ede1db1f6ffdca696e1ea0cfad90eb069
data/_layouts/post.html CHANGED
@@ -28,6 +28,10 @@ layout: default
28
28
  <h1 class="post-title">{{ page.title | smartify }}</h1>
29
29
  <div class="post-line"></div>
30
30
 
31
+ {% if page.subtitle %}
32
+ <h2 class="post-subtitle">{{ page.subtitle | smartify }}</h2>
33
+ {% endif %}
34
+
31
35
  {% assign drop_cap = content | strip_html | truncate: 1, '' %}
32
36
  {% if drop_cap == '‘' or drop_cap == '“' %}
33
37
  {% assign drop_cap = content | strip_html | truncate: 2, '' %}
@@ -57,6 +57,16 @@ input:focus, textarea:focus {
57
57
  text-transform: lowercase;
58
58
  }
59
59
 
60
+ .post > .post-subtitle {
61
+ font-size: $base-font-size;
62
+ font-family: $serif-primary;
63
+ font-style: italic;
64
+ font-weight: normal;
65
+ text-align: center;
66
+ margin-top: -1rem;
67
+ margin-bottom: 3rem;
68
+ }
69
+
60
70
  .relatedposts ul li {
61
71
  font-size: $base-font-size;
62
72
  list-style-type: square;
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typographical
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ram Iyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-31 00:00:00.000000000 Z
11
+ date: 2019-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll