jekyll-theme-simplex 0.9.8.3 → 0.9.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/_includes/head.html +26 -0
- data/_includes/header.html +1 -1
- data/_sass/_header.scss +1 -1
- 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: f4a1f3dade79023174c6a14b0504e195d1f201cd54db1c2911936536295fcd69
|
4
|
+
data.tar.gz: a7bac0f687670ef1546581733fc9ad963958fa3bf1dc5f1fbbb0d403077b4003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd253cfc04c0a027e3643170b506221b86df2e685b1464821931a42f88fb784042e58d364e6b25a03d2f5047225715507b38b502448e20db04ae5975b178360a
|
7
|
+
data.tar.gz: 88b984d8034720df9c30af5db3ece2e906a4c0cfcf3877ab7f85b08a9142d1ba85eaf65d2cf1ba06497559e1aef3c31c91d36efcf77c5d7dc5645d891461a42d
|
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}}
|
data/_includes/header.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<a href="{{ site.url }}/" class="logo__link">
|
4
4
|
{% if site.logo_img != nil %}
|
5
5
|
<h1 style="display: none;">{{ site.title }}</h1>
|
6
|
-
<img class="logo__link__img" src={{site.logo_img}}/>
|
6
|
+
<img class="logo__link__img" src="{{site.logo_img}}" />
|
7
7
|
{% else %}
|
8
8
|
<h1>{{ site.title }}</h1>
|
9
9
|
{% endif %}
|
data/_sass/_header.scss
CHANGED