krad 3.1.8 → 3.1.9b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/head.html +10 -16
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbed21237892f719bf351fd38ccd8d108ab84c68
4
- data.tar.gz: d20bc04badbf0e5b4d7b9b5e0f2a9d6ef6ffe1d1
3
+ metadata.gz: 5641d7df370292529808e08308f0beb2c803a2ad
4
+ data.tar.gz: 5d3978a3e608041f07b315ee330bfe8dc09eac5a
5
5
  SHA512:
6
- metadata.gz: ddb818b4a4e2680e42044424fb9112414ee5f6387f529facbfced19f7cf2a5728ea597dd93b1f486d58a6cf21cf73c0f94fc86e08b763fcc63e801b003e8fffe
7
- data.tar.gz: b7be27a5b317040f44c10c753a140878b2fe2a1c7751b28ea45943a17043cbca1496e8c6389310cb5fd725151038445d174491d4b2c32a08106d6148694f35b2
6
+ metadata.gz: c35f108d99d85848ccb4ac4cbd134f40ccc12f8aded09c57d9cb377f24c9f6bc9be56067449757ebb67c16a432ef57d8a388d3a506b3b2d272f44d881c799d0f
7
+ data.tar.gz: 62f6bbc6978bac7b5877bd749434b80d53e00e84988364f99842cc1a030549d90c19e442419b0c54849681a115c3530875d92d835ca30c372a150cde69634a5b
@@ -1,27 +1,22 @@
1
1
  <head>
2
2
  <meta charset="UTF-8">
3
3
 
4
- <!-- Responsiveeeeeee -->
4
+ <!-- Responsiveee -->
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <!-- New META! -->
7
+ <meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 60 | escape }}">
8
+ <meta name="keywords" content="{% if page.keywords %}{{ page.keywords }}, {{ site.keywords }}{% else %}{{ site.keywords }}{% endif %}">
9
+ <meta name="author" content="{{ site.author.name }}">
6
10
  <!-- Open Graph -->
7
11
  <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
8
12
  <meta property="og:url" content="{{ page.url | replace:'index.html','' | remove_first:'/' | absolute_url }}" />
9
- {% if page.featured_image %}
10
- <meta property="og:image" content="{{ page.featured_image }}" />
11
- {% endif %}
12
- <meta property="og:description" content="{% if page.content %}{{ page.content | strip_html | escape | truncatewords: 50 }}{% else %}{{ site.description }}{% endif %}" />
13
+ {% if page.featured_image %}<meta property="og:image" content="{{ page.featured_image }}" />{% endif %}
14
+ <meta property="og:description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 60 | escape }}" />
13
15
  <meta property="og:site_name" content="{{ site.title }}" />
14
- {% if page.title %}
15
- <meta content="article" property="og:type" />
16
- {% else %}<meta content="website" property="og:type" />
17
- {% endif %}
16
+ {% if page.title %}<meta content="article" property="og:type" />{% else %}<meta property="og:type" content="website" />{% endif %}
18
17
  <meta property="fb:app_id" content="{{ site.fb_app_id }}" />
19
18
  <title>
20
- {% if page.title == "Home" %}
21
- {{ site.title }} &middot; {{ site.tagline }}
22
- {% else %}
23
- {{ page.title }} &middot; {{ site.title }}
24
- {% endif %}
19
+ {% if page.title == "Home" %}{{ site.title }} &middot; {{ site.tagline }}{% else %}{{ page.title }} &middot; {{ site.title }}{% endif %}
25
20
  </title>
26
21
 
27
22
  <!-- Outworld Decorator -->
@@ -34,11 +29,10 @@
34
29
  <!--[if gt IE 8]><!-->
35
30
  <link rel="stylesheet" href="{{ "/assets/lib/pure/grids-responsive-min.css" | relative_url }}">
36
31
  <!--<![endif]-->
37
-
38
32
  <link rel="stylesheet" type="text/css" href="{{ "/assets/styles/syntax.css" | relative_url }}">
39
33
  <link rel="stylesheet" type="text/css" href="{{ "/assets/styles/krad.css" | relative_url }}">
40
34
  <link rel="shortcut icon" href="{{ "/assets/favicon.ico" | relative_url }}">
41
-
35
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
42
36
  <!-- RSS -->
43
37
  <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ "/feed.xml" | absolute_url }}">
44
38
  </head>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: krad
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.8
4
+ version: 3.1.9b
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lê Thanh Tùng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-25 00:00:00.000000000 Z
11
+ date: 2016-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -165,9 +165,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
- - - ">="
168
+ - - ">"
169
169
  - !ruby/object:Gem::Version
170
- version: '0'
170
+ version: 1.3.1
171
171
  requirements: []
172
172
  rubyforge_project:
173
173
  rubygems_version: 2.4.6