blogging-site-theme 0.1.2 → 0.1.3
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/_includes/custom-head.html +39 -3
- data/_includes/postbox.html +2 -3
- data/_includes/section/recent_posts.html +36 -35
- data/_includes/section/related_post.html +4 -5
- data/_layouts/blog.html +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: 952f7ab704562012007e94a0e11bb71aff93840a2f92471b70337633d4425e38
|
|
4
|
+
data.tar.gz: a3f82f42e0990ba136daa36ea96080e946d62bf5c06d0482565aa8320251a2f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7991f31e854dac217e9e7a27083ba28beae4c644cb1fc4203dbee065c5041a7398ff6ccd8c1c0a37d4be64d453e65ee9abb8d851b991fdc8ca578b1fe8b10e7
|
|
7
|
+
data.tar.gz: 23db62154082e9e7071e5ca9065299c08bf953bb8c4ec7c095b7a3fbe80623356d5f88807aaef950031b0e3d5ac018777b287f505ecbdf6ad0394aaf92d37c08
|
data/_includes/custom-head.html
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<meta data-rh="true" name="twitter:image:src" content="{{site.url | append: favicon}}">
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
<link rel="canonical" href="{{site.url | append: page.url}}">
|
|
34
|
+
<link data-rh="true" rel="canonical" href="{{site.url | append: page.url}}">
|
|
35
35
|
|
|
36
36
|
<meta name="subject" content="Education">
|
|
37
37
|
<meta name="copyright" content="{{site.url}}">
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
<meta name="designer" content="{{site.designer}}">
|
|
40
40
|
<meta name="author" content="{{ site.author_name }}">
|
|
41
41
|
|
|
42
|
+
<meta name="google-site-verification" content="{{site.google_site_verification}}" />
|
|
42
43
|
|
|
43
44
|
<!-- Favicon-->
|
|
44
45
|
<link rel="shortcut icon" href="{{ favicon | relative_url }}">
|
|
@@ -53,8 +54,43 @@
|
|
|
53
54
|
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
|
|
54
55
|
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
<script ata-rh="true" type="application/ld+json">
|
|
58
|
+
{
|
|
59
|
+
"@context": "https://schema.org",
|
|
60
|
+
"@type": "BlogPosting",
|
|
61
|
+
"url": "{{ site.url }}{{ page.url }}",
|
|
62
|
+
"name": {{ page.title | jsonify }},
|
|
63
|
+
"headline": {{ page.title | jsonify }},
|
|
64
|
+
"keywords": {{ page.categories | join: ',' | jsonify }},
|
|
65
|
+
"description": {{ seo_description | jsonify }},
|
|
66
|
+
"articleBody": {{ seo_description | jsonify }},
|
|
67
|
+
"datePublished": {{ page.date | jsonify }},
|
|
68
|
+
"dateModified": {{ page.last_modified_at | default: page.date | jsonify }},
|
|
69
|
+
"author": {
|
|
70
|
+
"@type": "Person",
|
|
71
|
+
"name": {{ site.author_name | jsonify }}
|
|
72
|
+
"email": {{ site.email | jsonify }}
|
|
73
|
+
},
|
|
74
|
+
"publisher": {
|
|
75
|
+
"@type": "Organization",
|
|
76
|
+
"name": {{ site.title | jsonify }},
|
|
77
|
+
"url": "{{ site.url }}",
|
|
78
|
+
"logo": {
|
|
79
|
+
"@type": "ImageObject",
|
|
80
|
+
"width": 100%,
|
|
81
|
+
"height": 200px,
|
|
82
|
+
"url": "{{ site.url }}{{site.favicon}}"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"mainEntityOfPage": {
|
|
86
|
+
"@type": "WebPage",
|
|
87
|
+
"@id": "{{ site.url }}{{ page.url }}"
|
|
88
|
+
},
|
|
89
|
+
}
|
|
90
|
+
</script>
|
|
91
|
+
|
|
57
92
|
{% if jekyll.environment == 'production' and site.google_analytics %}
|
|
58
93
|
{% include google-analytics.html %}
|
|
59
94
|
{% endif %}
|
|
60
|
-
</head>
|
|
95
|
+
</head>
|
|
96
|
+
|
data/_includes/postbox.html
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
<div class="col-lg-4 col-md-6 mb-4">
|
|
2
|
-
<div class="card h-100"
|
|
2
|
+
<div class="card h-100" id="{{post.categories}}">
|
|
3
3
|
<a href="{{ post.url }}">
|
|
4
|
-
<img src="{{ post.image }}" class="card-img-top p-0"
|
|
5
|
-
style="width:100%; border-radius: 3px; height: 180px;"
|
|
4
|
+
<img src="{{ post.image }}" class="card-img-top p-0" style="width:100%; border-radius: 3px; height: 200px;"
|
|
6
5
|
alt="{{post.url}}">
|
|
7
6
|
</a>
|
|
8
7
|
<div class="card-body">
|
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
<div class="container">
|
|
2
2
|
<div class="relatedPosts">
|
|
3
|
-
<h1 class="related_post_heading">Recent Posts</h1>
|
|
4
|
-
<div class="row">
|
|
5
|
-
{% for recent in site.posts offset:1 limit:3 %}
|
|
6
|
-
{% if recent.url != page.url %}
|
|
7
|
-
<div class="col-lg-4 col-md-6 mb-5 card-group">
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
3
|
+
<h1 class="related_post_heading">Recent Posts</h1>
|
|
4
|
+
<div class="row">
|
|
5
|
+
{% for recent in site.posts offset:1 limit:3 %}
|
|
6
|
+
{% if recent.url != page.url %}
|
|
7
|
+
<div class="col-lg-4 col-md-6 mb-5 card-group">
|
|
8
|
+
<div class="card h-100">
|
|
9
|
+
<a href="{{ recent.url }}">
|
|
10
|
+
<img src="{{ recent.image }}" class="card-img-top" alt="{{recent.url}}"
|
|
11
|
+
style="width:100%; border-radius: 4px; height: 200px;">
|
|
12
|
+
</a>
|
|
13
|
+
<div class="card-body">
|
|
14
|
+
<a class="text-decoration-none text-dark" href="{{ recent.url }}" class="anchor_link">
|
|
15
|
+
<h4 class="card-title mb-4 text-left">{{ recent.title }}</h4>
|
|
16
|
+
</a>
|
|
17
|
+
</div>
|
|
18
|
+
{% assign author = site.data.blog.authors[recent.author] %}
|
|
19
|
+
<div class="card-footer bg-white">
|
|
20
|
+
<div class="wrapfooter">
|
|
21
|
+
{% if recent.author %}
|
|
22
|
+
<span class="meta-footer-thumb">
|
|
23
|
+
<img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
|
|
24
|
+
</span>
|
|
25
|
+
{% endif %}
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
<span class="author-meta">
|
|
28
|
+
<span class="recent-name">
|
|
29
|
+
<a target="_blank" href="/blog">{{recent.author}}</a>
|
|
30
|
+
</span><br>
|
|
31
|
+
<span class="post-date">{{recent.date | date_to_string }}</span>
|
|
32
|
+
</span>
|
|
33
|
+
<span class="post-read-more"><a class="text-dark" href="{{ recent.url }}"
|
|
34
|
+
title="Read Story">Read More</a></span>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
34
38
|
</div>
|
|
39
|
+
{% endif %}
|
|
40
|
+
{% endfor %}
|
|
35
41
|
</div>
|
|
36
42
|
</div>
|
|
37
|
-
</div>
|
|
38
|
-
{% endif %}
|
|
39
|
-
{% endfor %}
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
43
|
</div>
|
|
@@ -6,17 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
<div class="row">
|
|
8
8
|
{% for post in site.posts %}
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
{% for category in post.categories %}
|
|
11
11
|
{% if post.url != page.url %}
|
|
12
12
|
{% if page.categories contains category %}
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
<div class="col-lg-4 col-md-6 mb-5 card-group">
|
|
15
15
|
<div class="card h-100">
|
|
16
16
|
<a href="{{ post.url }}">
|
|
17
|
-
<img src="{{ post.image }}"
|
|
18
|
-
|
|
19
|
-
class="card-img-top" alt="{{post.url}}">
|
|
17
|
+
<img src="{{ post.image }}" style="width:100%; border-radius: 4px; height: 200px;"
|
|
18
|
+
class="card-img-top" alt="{{post.url}}">
|
|
20
19
|
</a>
|
|
21
20
|
<div class="card-body">
|
|
22
21
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
data/_layouts/blog.html
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<div class="card h-100" id="{{post.categories}}">
|
|
30
30
|
<a href="{{ post.url }}">
|
|
31
31
|
<img src="{{ post.image }}" class="card-img-top"
|
|
32
|
-
style="width:100%; border-radius: 3px; height:
|
|
32
|
+
style="width:100%; border-radius: 3px; height: 200px;"
|
|
33
33
|
alt="{{post.url}}">
|
|
34
34
|
</a>
|
|
35
35
|
<div class="card-body">
|