jekyll-theme-putih-bersih 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 0585016f529ad82efe9cbeeabd03c56d3bd0b460
4
- data.tar.gz: 4916dc28b31aac9fac1efdaeb34994b144e7521a
3
+ metadata.gz: 6e54cc5e09281e5cddb68675870317843b2645c4
4
+ data.tar.gz: 00a53adbd0d27d0fb465b96c2d11b3f6ec9ea321
5
5
  SHA512:
6
- metadata.gz: 787c3f670ae4c41f60aa5c7b65c45adcdfdaaff75e738f81008aacea3df67a2ae3e5ef88ce12376ec3b03b924dec4904202419d3d950a737bd40162fbf44813a
7
- data.tar.gz: 21cb447eeb36dab79d52852951f6ee25ee17df77d06a6d225cf990fcb9da92e3f32cf0ce5a59b4aa3180f0adb533535c29a4ba97cdf795bbb106491e323ad9ff
6
+ metadata.gz: 2ac887b9ce88e5e71f831d404cb775ada36d3e6ec44d619daafe2f51b9acb39916136d3d33ebb5fae6a4a50f122b1a7bf63ea337f2543dc56deaf9f16439a820
7
+ data.tar.gz: a9534d0963011b90038bebc0d1e11af7ddec503c3990ca0f6ce07507ab70b1379b3b80dd818d3471e96a60e7bf466f8925294d1ea14775a212670660019894ac
data/_includes/head.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
  <meta name="keywords" content="{{ page.meta_keyword | sanitize }}">
7
- <meta name="description" content="{{ page.meta_description | sanitize }}">
7
+ <meta name="description" content="{{ page. | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
8
8
 
9
- <title>{{ site.title | sanitize }}</title>
9
+ <title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
10
10
  <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
11
11
  </head>
@@ -92,10 +92,17 @@ h1, h2, h3 {
92
92
  &__title {
93
93
  clear: both;
94
94
  display: inline-block;
95
+ width: 450px;
95
96
 
96
97
  h2 {
97
98
  font-size: $normal-font-size;
98
99
  font-weight: 500;
100
+ white-space: nowrap;
101
+ overflow: hidden;
102
+ text-overflow: ellipsis;
103
+ line-height: 1;
104
+ margin: 0px;
105
+ padding: 0px;
99
106
 
100
107
  a {
101
108
  text-decoration: none;
@@ -8,10 +8,11 @@
8
8
  .highlight {
9
9
  border-top: 1px solid $soft-grey-color;
10
10
  border-bottom: 1px solid $soft-grey-color;
11
- overflow: scroll;
11
+ overflow-x: auto;
12
12
 
13
13
  .highlighter-rouge {
14
14
  background: #eef;
15
+ padding: 5px 30px;
15
16
  }
16
17
 
17
18
  .c { color: #998; font-style: italic } // Comment
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-putih-bersih
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilianto Indrawan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-02 00:00:00.000000000 Z
11
+ date: 2017-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll