jekyll-theme-nn 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/components/open-graph.html +46 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30c154bf3d1e7f7dd841491b1551542b4f038de8988fb8701cbd71d7305974d7
|
4
|
+
data.tar.gz: bc33b05e3c42c8c66faacf7419eae9222680e9a4704e44303211bf7afb1678d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8dae9456b5dcb6269003e1ff7aa66851260fd1dbb0babefe8d5e37f9eccbdfdb3a6879579c3fef11f3c1649d2eb68f352d983d53bb5777f7fa9e517ddf97888
|
7
|
+
data.tar.gz: 780ec9e144feb26cbfda5d747934285810369d8c007c74d88f2067fc1b10041df3e3bd0d91682eb21c6aa71020d28dcb6c2f084a18aefaf56f7f84438a90a2d4
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<meta content="{{ site.title }}" property="og:site_name">
|
2
|
+
<meta content="{{ site.url }}/about/" property="article:author">
|
3
|
+
|
4
|
+
{% if page.title %}
|
5
|
+
<meta content="{{ page.title }}" property="og:title">
|
6
|
+
{% else %}
|
7
|
+
<meta content="{{ site.title }}" property="og:title">
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
{% if page.title %}
|
11
|
+
<meta content="article" property="og:type">
|
12
|
+
{% else %}
|
13
|
+
<meta content="website" property="og:type">
|
14
|
+
{% endif %}
|
15
|
+
|
16
|
+
{% if page.description %}
|
17
|
+
<meta content="{{ page.description }}" property="og:description">
|
18
|
+
{% else %}
|
19
|
+
<meta content="{{ site.description }}" property="og:description">
|
20
|
+
{% endif %}
|
21
|
+
|
22
|
+
{% if page.url %}
|
23
|
+
<meta content="{{ site.url }}{{ page.url }}" property="og:url">
|
24
|
+
{% endif %}
|
25
|
+
|
26
|
+
{% if page.date %}
|
27
|
+
<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time">
|
28
|
+
{% endif %}
|
29
|
+
|
30
|
+
{% if page.image %}
|
31
|
+
<meta content="{{ assets[page.featured-image].filename }}" property="og:image">
|
32
|
+
{% else %}
|
33
|
+
<meta content="{{ assets[site.logo].filename }}" property="og:image">
|
34
|
+
{% endif %}
|
35
|
+
|
36
|
+
{% if page.categories %}
|
37
|
+
{% for category in page.categories limit:1 %}
|
38
|
+
<meta content="{{ category }}" property="article:section">
|
39
|
+
{% endfor %}
|
40
|
+
{% endif %}
|
41
|
+
|
42
|
+
{% if page.tags %}
|
43
|
+
{% for tag in page.tags %}
|
44
|
+
<meta content="{{ tag }}" property="article:tag">
|
45
|
+
{% endfor %}
|
46
|
+
{% endif %}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-nn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Nooney
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- _includes/components/hero.html
|
67
67
|
- _includes/components/made-with.html
|
68
68
|
- _includes/components/menu.html
|
69
|
+
- _includes/components/open-graph.html
|
69
70
|
- _includes/components/post-snippet.html
|
70
71
|
- _includes/components/recent-posts.html
|
71
72
|
- _includes/components/series-footer.html
|