blogging-site-theme 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d09279deb660312865a71a4b8854544374b7dedea0ee1e3ad9f7c45abbacb034
4
- data.tar.gz: d57e621a11ce6dbfa8007ec62564cbb9761517310735f2845bd1600d4879c44a
3
+ metadata.gz: 952f7ab704562012007e94a0e11bb71aff93840a2f92471b70337633d4425e38
4
+ data.tar.gz: a3f82f42e0990ba136daa36ea96080e946d62bf5c06d0482565aa8320251a2f0
5
5
  SHA512:
6
- metadata.gz: 22165dd559191bdc94ddb3ec008ca59f23ea619b8d845ff283fafc895840eca2a788d580f036df3d7aa9770853ac7177fdc3d11f761956cc6cc71a10b2bd7ec4
7
- data.tar.gz: a33f5be4523bec0a2344888194181593a1be3c7a411b386ea511c15676d7f9906499dc69885a7ec08d199772977af5933b98e41b7735f9a9c46a4d8ab49d10ef
6
+ metadata.gz: a7991f31e854dac217e9e7a27083ba28beae4c644cb1fc4203dbee065c5041a7398ff6ccd8c1c0a37d4be64d453e65ee9abb8d851b991fdc8ca578b1fe8b10e7
7
+ data.tar.gz: 23db62154082e9e7071e5ca9065299c08bf953bb8c4ec7c095b7a3fbe80623356d5f88807aaef950031b0e3d5ac018777b287f505ecbdf6ad0394aaf92d37c08
@@ -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
- <meta name="google-site-verification" content="{{site.google_site_verification}}" />
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
+
@@ -1,8 +1,7 @@
1
1
  <div class="col-lg-4 col-md-6 mb-4">
2
- <div class="card h-100" id="{{post.categories}}">
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
- <div class="card h-100">
9
- <a href="{{ recent.url }}">
10
- <img src="{{ recent.image }}" class="card-img-top" alt="{{recent.url}}" style="width:100%; border-radius: 4px; height: 180px;">
11
- </a>
12
- <div class="card-body">
13
- <a class="text-decoration-none text-dark" href="{{ recent.url }}" class="anchor_link">
14
- <h4 class="card-title mb-4 text-left">{{ recent.title }}</h4>
15
- </a>
16
- </div>
17
- {% assign author = site.data.blog.authors[recent.author] %}
18
- <div class="card-footer bg-white">
19
- <div class="wrapfooter">
20
- {% if recent.author %}
21
- <span class="meta-footer-thumb">
22
- <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
23
- </span>
24
- {% endif %}
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
- <span class="author-meta">
27
- <span class="recent-name">
28
- <a target="_blank" href="/blog">{{recent.author}}</a>
29
- </span><br>
30
- <span class="post-date">{{recent.date | date_to_string }}</span>
31
- </span>
32
- <span class="post-read-more"><a class="text-dark" href="{{ recent.url }}"
33
- title="Read Story">Read More</a></span>
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
- style="width:100%; border-radius: 4px; height: 180px;"
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: 180px;"
32
+ style="width:100%; border-radius: 3px; height: 200px;"
33
33
  alt="{{post.url}}">
34
34
  </a>
35
35
  <div class="card-body">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blogging-site-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-singh