jekyll-theme-simplex 0.9.8.3 → 0.9.8.4
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 +4 -4
- data/README.md +6 -0
- data/_includes/head.html +26 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb548bd3f72aca8b24c35961ce59f8b2fcd30037deed64b31e3edb643fbfa36e
|
|
4
|
+
data.tar.gz: 4a9c7d239080b4d71d3e16c4b90b7866df29bf4033b6d4e35f15ef7d3e9ce80b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18efc03f55683d26a65269268a7f9d561d1718426023bebf74c19baddbaeffa2357ec9e645ed9a14a8030225409ecabeab375afe868574e29aae83914aaa09d6
|
|
7
|
+
data.tar.gz: 03c2fe7fa1f67124c6ecc4feddd7b67040ce65989525e2c60fbfc4b2c4d63a5e8c804edf790d1fd42230cc967b06feb5dd669963c692ec678a9931d1ce28b4b9
|
data/README.md
CHANGED
|
@@ -21,6 +21,8 @@ A *simple* yet neat blogging theme. Developed for the [golas blog](https://golas
|
|
|
21
21
|
### Lity Lightbox
|
|
22
22
|
Supports images, videos, iFrames and more. See below for syntax.
|
|
23
23
|
|
|
24
|
+
### Open Graph tags
|
|
25
|
+
|
|
24
26
|
## ℹ Installation
|
|
25
27
|
|
|
26
28
|
Add this line to your Jekyll site's `Gemfile`:
|
|
@@ -118,6 +120,10 @@ layout: post #Do not change.
|
|
|
118
120
|
category: [programming, testing] #One, more categories or no at all.
|
|
119
121
|
title: "Lorem ipsum" #Article title.
|
|
120
122
|
author: andy #Author's nick.
|
|
123
|
+
nextPart: _posts/2021-01-30-example.md #Next part.
|
|
124
|
+
prevPart: _posts/2021-01-30-example.md #Previous part.
|
|
125
|
+
og_image: assets/example.png #Open Graph preview image.
|
|
126
|
+
og_description: "Example description." #Open Graph description.
|
|
121
127
|
---
|
|
122
128
|
Your markdown content here.
|
|
123
129
|
```
|
data/_includes/head.html
CHANGED
|
@@ -9,6 +9,32 @@
|
|
|
9
9
|
<meta charset="UTF-8">
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
11
11
|
|
|
12
|
+
<meta property="og:site_name" content="{{ site.title }}" />
|
|
13
|
+
<meta
|
|
14
|
+
property=“og:title”
|
|
15
|
+
content="
|
|
16
|
+
{% if page.title != nil %}
|
|
17
|
+
{{page.title}}
|
|
18
|
+
{% else %}
|
|
19
|
+
{{site.title}}
|
|
20
|
+
{% endif %}
|
|
21
|
+
"
|
|
22
|
+
/>
|
|
23
|
+
{% if page.og_description != nil %}
|
|
24
|
+
<meta property="og:description" content="{{ page.og_description }}" />
|
|
25
|
+
{% endif %}
|
|
26
|
+
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
|
|
27
|
+
{% if page.og_type != nil %}
|
|
28
|
+
<meta property="og:type" content="{{ page.og_type }}" />
|
|
29
|
+
{% else %}
|
|
30
|
+
<meta property="og:type" content="article" />
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if page.og_image != nil %}
|
|
33
|
+
<meta property="og:image" content="{{ page.og_image }}" />
|
|
34
|
+
<meta property="og:image:secure_url" content="{{ page.og_image }}" />
|
|
35
|
+
{% endif %}
|
|
36
|
+
|
|
37
|
+
|
|
12
38
|
<title>
|
|
13
39
|
{% if page.title != nil %}
|
|
14
40
|
{{page.title}}
|