krad 3.1.9 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head.html +6 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a276997875f1816eb6472452ecc713c47ab5874a
|
4
|
+
data.tar.gz: 642648d5da33979a82f3016a89f4cb511e213815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c84b7364d62f0c55c09e2b2e6a3cefbee191bb714e4860e4e5f4cd70536782ebc9037aa3c411f871a32bc9f56ef5b708b48140525e79e73645376b7fd8e8f7e0
|
7
|
+
data.tar.gz: 794e5b9a479f2a5e1fe25bdc3bd1ce68e4a602fc34cdedf1ac43764337e0725dfd8099fae53e417877d547611282c7a022c71e8f09a4641436d88255b26193d0
|
data/_includes/head.html
CHANGED
@@ -4,29 +4,19 @@
|
|
4
4
|
<!-- Responsiveee -->
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
6
6
|
<!-- New META! -->
|
7
|
-
<meta name="description" content="{
|
8
|
-
<meta name="keywords" content="{% if page.keywords %}{{ page.keywords
|
7
|
+
<meta name="description" content="{% if page.title == "Home" %}{{ site.description }}{% else %}{{ page.content | strip_html | normalize_whitespace | truncate: 60 | escape }}{% endif %}">
|
8
|
+
<meta name="keywords" content="{% if page.keywords %}{{ page.keywords | concat: site.keywords | uniq | join: ", " }}{% else %}{{ site.keywords | join: ", " }}{% endif %}">
|
9
9
|
<meta name="author" content="{{ site.author.name }}">
|
10
10
|
<!-- Open Graph -->
|
11
11
|
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" />
|
12
12
|
<meta property="og:url" content="{{ page.url | replace:'index.html','' | remove_first:'/' | absolute_url }}" />
|
13
|
-
{
|
14
|
-
<meta property="og:
|
15
|
-
{%- endif -%}
|
16
|
-
<meta property="og:description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 60 | escape }}" />
|
13
|
+
{% if page.featured_image %}<meta property="og:image" content="{{ page.featured_image }}" />{% endif %}
|
14
|
+
<meta property="og:description" content="{% if page.title == "Home" %}{{ site.description }}{% else %}{{ page.content | strip_html | normalize_whitespace | truncate: 60 | escape }}{% endif %}" />
|
17
15
|
<meta property="og:site_name" content="{{ site.title }}" />
|
18
|
-
{
|
19
|
-
<meta content="article" property="og:type" />
|
20
|
-
{%- else -%}
|
21
|
-
<meta property="og:type" content="website" />
|
22
|
-
{%- endif -%}
|
16
|
+
{% if page.title %}<meta content="article" property="og:type" />{% else %}<meta property="og:type" content="website" />{% endif %}
|
23
17
|
<meta property="fb:app_id" content="{{ site.fb_app_id }}" />
|
24
18
|
<title>
|
25
|
-
{
|
26
|
-
{{ site.title }} · {{ site.tagline }}
|
27
|
-
{%- else -%}
|
28
|
-
{{ page.title }} · {{ site.title }}
|
29
|
-
{%- endif -%}
|
19
|
+
{% if page.title == "Home" %}{{ site.title }} · {{ site.tagline }}{% else %}{{ page.title }} · {{ site.title }}{% endif %}
|
30
20
|
</title>
|
31
21
|
|
32
22
|
<!-- Outworld Decorator -->
|
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.
|
4
|
+
version: 3.2.0
|
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-
|
11
|
+
date: 2016-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|