blogging-site-theme 0.1.2 → 0.1.6

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: 537c93a1109f86c3ae6952bde8412428b996dc06b4a5dcab17be07a59234f4b7
4
+ data.tar.gz: 5486c60a3d336bedf32e5a2dcfce40a735ac1d92da8ff50c5dd56a163ec3f71a
5
5
  SHA512:
6
- metadata.gz: 22165dd559191bdc94ddb3ec008ca59f23ea619b8d845ff283fafc895840eca2a788d580f036df3d7aa9770853ac7177fdc3d11f761956cc6cc71a10b2bd7ec4
7
- data.tar.gz: a33f5be4523bec0a2344888194181593a1be3c7a411b386ea511c15676d7f9906499dc69885a7ec08d199772977af5933b98e41b7735f9a9c46a4d8ab49d10ef
6
+ metadata.gz: 025c50856980dd1d22f5d8242dadb3891cbee4a233e594e4528ec8a20184ee0b867ac35dc0b2a9cb62f3d0940dcf23af0db22b305cb7a286dae3af2b7387f14f
7
+ data.tar.gz: 5f08a3fc56fa1c5a3e56cd2c03135681fb9e4087ece5e5c1d4af55fdfe1649b00a1ba92b402682904a7d1d826021e4e459bc35d87e4ea6e47f8e57587e0b24ba
data/_data/theme/UI.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
+ "headerColor": "#0F0E15",
2
3
  "color": "#0F0E15",
3
4
  "staticPagesColor": "rgba(0,0,0,0.2)"
4
5
  }
@@ -1,60 +1,97 @@
1
1
  <head>
2
- {% assign favicon = site.favicon %}
3
- {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
4
- {%- if seo_description -%}
5
- {%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
6
- {%- endif -%}
7
- {%- if page.date -%}
8
- {%- assign og_type = "article" -%}
9
- {%- else -%}
10
- {%- assign og_type = "website" -%}
11
- {%- endif -%}
12
- <title data-rh="true">{{page.title}}</title>
13
-
14
- <meta charset="UTF-8">
15
- <meta data-rh="true" name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
16
- <meta name="keywords" content="{{site.keyboard}}">
17
- <meta name="description" content="{{ seo_description}}">
18
- <meta data-rh="true" property="description" content="{{ seo_description}}">
19
- <meta data-rh="true" property="og:description" content="{{ seo_description}}">
20
- <meta data-rh="true" property="og:title" content="{{ page.title | default: site.title }}">
21
- <meta data-rh="true" property="og:type" content="{{og_type}}">
22
- <meta data-rh="true" property="og:locale" content="en_US">
23
- <meta data-rh="true" property="og:site_name" content="{{site.name}}">
24
- <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}">
25
- <meta data-rh="true" property="og:image" content="{{site.url | append: favicon}}">
26
-
27
- <meta data-rh="true" property="twitter:domain" content="{{site.url | append: page.url}}">
28
- <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}">
29
- <meta data-rh="true" name="twitter:title" content="{{ page.title | default: site.title }}">
30
- <meta data-rh="true" name="twitter:description" content="{{ seo_description}}">
31
- <meta data-rh="true" name="twitter:image:src" content="{{site.url | append: favicon}}">
32
-
33
-
34
- <link rel="canonical" href="{{site.url | append: page.url}}">
35
-
36
- <meta name="subject" content="Education">
37
- <meta name="copyright" content="{{site.url}}">
38
- <meta name="identifier-URL" content="{{site.url}}">
39
- <meta name="designer" content="{{site.designer}}">
40
- <meta name="author" content="{{ site.author_name }}">
41
-
42
-
43
- <!-- Favicon-->
44
- <link rel="shortcut icon" href="{{ favicon | relative_url }}">
45
-
46
- <!-- fonts -->
47
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet">
48
- <link rel="stylesheet" href="{{ 'assets/css/main.css' | relative_url }}">
49
-
50
- <!-- add fontAwesome -->
51
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
52
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
53
- <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
54
-
55
-
56
- <meta name="google-site-verification" content="{{site.google_site_verification}}" />
57
- {% if jekyll.environment == 'production' and site.google_analytics %}
58
- {% include google-analytics.html %}
59
- {% endif %}
2
+ {% assign favicon = site.favicon %}
3
+ {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
4
+ {%- if seo_description -%}
5
+ {%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
6
+ {%- endif -%}
7
+ {%- if page.date -%}
8
+ {%- assign og_type = "article" -%}
9
+ {%- else -%}
10
+ {%- assign og_type = "website" -%}
11
+ {%- endif -%}
12
+ <title data-rh="true">{{page.title}}</title>
13
+
14
+ <meta charset="UTF-8">
15
+ <meta data-rh="true" name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
16
+ <meta name="keywords" content="{{site.keyboard}}">
17
+ <meta name="description" content="{{ seo_description}}">
18
+ <meta data-rh="true" property="description" content="{{ seo_description}}">
19
+ <meta data-rh="true" property="og:description" content="{{ seo_description}}">
20
+ <meta data-rh="true" property="og:title" content="{{ page.title | default: site.title }}">
21
+ <meta data-rh="true" property="og:type" content="{{og_type}}">
22
+ <meta data-rh="true" property="og:locale" content="en_US">
23
+ <meta data-rh="true" property="og:site_name" content="{{site.name}}">
24
+ <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}">
25
+ <meta data-rh="true" property="og:image" content="{{site.url | append: favicon}}">
26
+
27
+ <meta data-rh="true" property="twitter:domain" content="{{site.url | append: page.url}}">
28
+ <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}">
29
+ <meta data-rh="true" name="twitter:title" content="{{ page.title | default: site.title }}">
30
+ <meta data-rh="true" name="twitter:description" content="{{ seo_description}}">
31
+ <meta data-rh="true" name="twitter:image:src" content="{{site.url | append: favicon}}">
32
+
33
+
34
+ <link data-rh="true" rel="canonical" href="{{site.url | append: page.url}}">
35
+
36
+ <meta name="subject" content="Education">
37
+ <meta name="copyright" content="{{site.url}}">
38
+ <meta name="identifier-URL" content="{{site.url}}">
39
+ <meta name="designer" content="{{site.designer}}">
40
+ <meta name="author" content="{{ site.author_name }}">
41
+
42
+ <meta name="google-site-verification" content="{{site.google_site_verification}}" />
43
+
44
+ <!-- Favicon-->
45
+ <link rel="shortcut icon" href="{{ favicon | relative_url }}">
46
+
47
+ <!-- fonts -->
48
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet">
49
+ <link rel="stylesheet" href="{{ 'assets/css/main.css' | relative_url }}">
50
+
51
+ <!-- add fontAwesome -->
52
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
53
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
54
+ <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
55
+
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": 200,
82
+ "url": "{{ site.url }}{{site.favicon}}"
83
+ }
84
+ },
85
+ "mainEntityOfPage": {
86
+ "@type": "WebPage",
87
+ "@id": "{{ site.url }}{{ page.url }}"
88
+ }
89
+ }
90
+ </script>
91
+
92
+ {% if jekyll.environment == 'production' and site.google_analytics %}
93
+ {% include google-analytics.html %}
94
+ {% endif %}
95
+ <script
96
+ id="mcjs">!function (c, h, i, m, p) { m = c.createElement(h), p = c.getElementsByTagName(h)[0], m.async = 1, m.src = i, p.parentNode.insertBefore(m, p) }(document, "script", "https://chimpstatic.com/mcjs-connected/js/users/26c2cf78e37e16d44d35c5d1c/4ba439c2ff742fc68dc76b732.js");</script>
60
97
  </head>
@@ -1,6 +1,6 @@
1
1
  <!-- start Header Area -->
2
2
  {%- assign theme = site.data.theme.UI -%}
3
- <div class="container-fluid navigationBottomLine" style="background: {{theme.color}};">
3
+ <div class="container-fluid navigationBottomLine" style="background: {{theme.headerColor}};">
4
4
  <div class="container samePad">
5
5
  <header>
6
6
  {% include header/nav-menu.html %}
@@ -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">
@@ -6,7 +6,8 @@
6
6
  <div class="mc-field-group">
7
7
  <input type="email" placeholder="Email" name="EMAIL" class="required email" id="mce-EMAIL"
8
8
  autocomplete="on" required="">
9
- <input type="submit" style="background: {{theme.color}}; border: {{theme.color}}" value="Subscribe" name="subscribe">
9
+ <input type="submit" style="background: {{theme.color}}; border: {{theme.color}}" value="Subscribe"
10
+ name="subscribe">
10
11
  </div>
11
12
  </form>
12
13
  </div>
@@ -1,42 +1,45 @@
1
1
  <div class="container">
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 %}
2
+ <div class="recentPosts">
3
+ {%- if site.posts.size>0 -%}
4
+ <h1 class="related_post_heading">Recent Posts</h1>
5
+ {%- endif -%}
6
+ <div class="row">
7
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
8
+ {% for post in posts limit: 3%}
9
+
10
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
11
+ <div class="card h-100">
12
+ <a href="{{ post.url }}">
13
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
14
+ alt="">
15
+ </a>
16
+ <div class="card-body">
17
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
18
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
19
+ </a>
20
+ </div>
21
+ <div class="card-footer bg-white">
22
+ <div class="wrapfooter">
23
+ {% assign author = site.data.blog.authors[post.author] %}
25
24
 
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>
25
+ {% if post.author %}
26
+ <span class="meta-footer-thumb">
27
+ <img class="author-thumb" loading="lazy" src="{{author.image}}" alt="{{ authorName }}">
28
+ </span>
29
+ {% endif %}
30
+ <span class="author-meta">
31
+ <span class="post-name">
32
+ <a target="_blank" href="/blog"> {{author.name}}</a>
33
+ </span><br>
34
+ <span class="post-date">{{post.date | date_to_string }}</span>
35
+ </span>
36
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
37
+ title="Read Story">Read More</a></span>
38
+ </div>
39
+ </div>
40
+ </div>
34
41
  </div>
42
+ {% endfor %}
35
43
  </div>
36
44
  </div>
37
- </div>
38
- {% endif %}
39
- {% endfor %}
40
- </div>
41
- </div>
42
45
  </div>
@@ -1,55 +1,156 @@
1
1
  <div class="container">
2
2
  <div class="relatedPosts">
3
- {%- if page.categories -%}
3
+
4
4
  <h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
5
- {%- endif -%}
5
+
6
+ {% assign maxRelated = 6 %}
7
+ {% assign minCommonTags = 1 %}
8
+ {% assign maxRelatedCounter = 0 %}
6
9
 
7
10
  <div class="row">
8
11
  {% for post in site.posts %}
9
-
12
+ {% assign sameTagCount = 0 %}
13
+ {% assign commonTags = '' %}
14
+
15
+
16
+ {%- if page.categories-%}
10
17
  {% for category in post.categories %}
11
18
  {% if post.url != page.url %}
12
19
  {% if page.categories contains category %}
13
-
14
- <div class="col-lg-4 col-md-6 mb-5 card-group">
20
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
21
+ {% endif %}
22
+ {% endif %}
23
+ {% endfor %}
24
+ {%- endif -%}
25
+
26
+ {%- if page.tags -%}
27
+ {% for tag in post.tags %}
28
+ {% if post.url != page.url %}
29
+ {% if page.tags contains tag %}
30
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
31
+ {% endif %}
32
+ {%- endif -%}
33
+ {% endfor %}
34
+ {%- endif -%}
35
+
36
+
37
+ {% if sameTagCount >= minCommonTags %}
38
+
39
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
15
40
  <div class="card h-100">
16
41
  <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}}">
42
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
43
+ alt="">
20
44
  </a>
21
45
  <div class="card-body">
22
46
  <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
23
47
  <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
24
48
  </a>
25
49
  </div>
26
- {% assign author = site.data.blog.authors[post.author] %}
27
50
  <div class="card-footer bg-white">
28
- <div class="wrapfooter" style="justify-content: space-between;
29
- ">
51
+ <div class="wrapfooter">
30
52
  {% if post.author %}
31
53
  <span class="meta-footer-thumb">
32
- <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
54
+ <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
33
55
  </span>
34
56
  {% endif %}
35
57
 
36
- <!-- <span class="author-meta">
58
+ <span class="author-meta">
37
59
  <span class="post-name">
38
- <a target="_blank" href="/blog">{{post.author}}</a>
60
+ <a target="_blank" href="/blog">{{authorName}}</a>
39
61
  </span><br>
40
62
  <span class="post-date">{{post.date | date_to_string }}</span>
41
- </span> -->
42
- <span class="post-read-more ml-5"><a class="text-dark" href="{{ post.url }}"
43
- title="Read Story">Read More</a></span>
63
+ </span>
64
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
65
+ title="Read Story">Read
66
+ More</a></span>
44
67
  </div>
45
68
  </div>
46
69
  </div>
47
70
  </div>
71
+ {% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
72
+ {% if maxRelatedCounter >= maxRelated %}
73
+ {% break %}
74
+ {% endif %}
75
+ {%- else -%}
76
+ {%- endif -%}
77
+ {% endfor %}
78
+ {%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
79
+
80
+
48
81
 
82
+
83
+ {%- if remamingPosts > 0 -%}
84
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
85
+ {% for post in posts %}
86
+ {%- if remamingPosts > 0 -%}
87
+ {%- assign tagData = true -%}
88
+ {%- assign catData = true -%}
89
+ {%- if page.tags -%}
90
+ {% for tag in post.tags %}
91
+ {% if post.url != page.url %}
92
+ {% if page.tags contains tag %}
93
+ {%- assign tagData = false -%}
94
+ {%- break -%}
95
+ {% endif %}
96
+ {%- endif -%}
97
+ {% endfor %}
98
+ {%- endif -%}
99
+ {%- if page.categories-%}
100
+ {%- if tagData == false -%}
101
+ {%- continue -%}
102
+ {%- else -%}
103
+ {% for category in post.categories %}
104
+ {% if post.url != page.url %}
105
+ {% if page.categories contains category %}
106
+ {%- assign catData = false -%}
107
+ {%- break -%}
49
108
  {% endif %}
50
109
  {% endif %}
51
110
  {% endfor %}
111
+ {%- endif -%}
112
+ {%- if catData == false -%}
113
+ {%- continue -%}
114
+ {%- endif -%}
115
+ {%- assign remamingPosts = remamingPosts | minus: 1 -%}
116
+
117
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
118
+ <div class="card h-100">
119
+ <a href="{{ post.url }}">
120
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
121
+ alt="">
122
+ </a>
123
+ <div class="card-body">
124
+ <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
125
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
126
+ </a>
127
+ </div>
128
+ <div class="card-footer bg-white">
129
+ <div class="wrapfooter">
130
+ {% if post.author %}
131
+ <span class="meta-footer-thumb">
132
+ <img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
133
+ </span>
134
+ {% endif %}
135
+ <span class="author-meta">
136
+ <span class="post-name">
137
+ <a target="_blank" href="/blog">{{authorName}}</a>
138
+ </span><br>
139
+ <span class="post-date">{{post.date | date_to_string }}</span>
140
+ </span>
141
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
142
+ title="Read Story">Read
143
+ More</a></span>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ {%- endif -%}
149
+ {%- endif -%}
150
+
52
151
  {% endfor %}
152
+ {%- endif -%}
153
+
53
154
  </div>
54
155
  </div>
55
156
  </div>
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">
data/_layouts/post.html CHANGED
@@ -6,8 +6,9 @@
6
6
  width: auto;
7
7
  max-width: 100%;
8
8
  }
9
- @media(max-width:768px){
10
- .main_h1{
9
+
10
+ @media(max-width:768px) {
11
+ .main_h1 {
11
12
  font-size: 1rem !important;
12
13
  }
13
14
  }
@@ -58,20 +59,22 @@
58
59
  <div class="post-content fetch-posts-content mt-5">
59
60
  {{ content }}
60
61
  </div>
61
-
62
+
62
63
  {%- include paginationPostPage.html -%}
63
- {%- include section/related_post.html -%}
64
+
64
65
  <div class="commentsection">
65
66
  {%- if site.disqus.shortname -%}
66
67
  {%- include disqus_comments.html -%}
67
68
  {%- endif -%}
68
69
  </div>
70
+
69
71
  </div>
70
72
  </div>
73
+ {%- include section/related_post.html -%}
71
74
  </section>
72
75
  {%- include section/count.html -%}
73
76
  {% include section/alertbar.html %}
74
-
77
+
75
78
  {%- include footer/index.html -%}
76
79
  {% include scripts.html %}
77
80
  </body>
data/readme.md CHANGED
@@ -1,3 +1,8 @@
1
+ -----------------------------
2
+ DEMO - https://bloggingwebsite.netlify.app/
3
+ -------------------------------
4
+
5
+
1
6
  --------------------------------------
2
7
  # BEST-BLOGGING-THEME
3
8
  --------------------------------------
@@ -92,144 +97,170 @@ OR ANYWHERE ITS DEPEND UPON YOU.
92
97
  //ensure that file extention will be .html, if .md then i am sure that you blog post pagination won't works.
93
98
 
94
99
  ---
95
- layout: blog
96
- title: BloggingSite //Title of blog
100
+
101
+ layout: blog
102
+ title: BloggingSite //Title of blog
103
+
97
104
  ---
98
105
 
99
106
  another example:
107
+
100
108
  #### blog/index.html //inside blog folder
101
109
 
102
110
  ---
103
- layout: blog
104
- title: BloggingSite //Title of blog
111
+
112
+ layout: blog
113
+ title: BloggingSite //Title of blog
114
+
105
115
  ---
106
116
 
107
- *******************************
108
- CREATE FILE FOR CATEGORIES LAYOUT IN ROOT DIR:
109
- *********************************
117
+ ---
118
+
119
+ CREATE FILE FOR CATEGORIES LAYOUT IN ROOT DIR:
120
+
121
+ ---
110
122
 
111
123
  #### FOR EXAMPLE
124
+
112
125
  #### categories.md
126
+
113
127
  ---
128
+
114
129
  layout: categories
115
130
  title: BloggingSite Categories // TITLE OF BLOG Categories
116
131
  permalink: /categories
132
+
117
133
  ---
118
134
 
119
135
  #### IF YOU ARE USING BLOG LAYUT UNDER BLOG FOLDER
136
+
120
137
  ---
138
+
121
139
  layout: categories
122
140
  title: BloggingSite Categories // TITLE OF BLOG Categories
123
- permalink: /blog/categories
124
- ---
141
+ permalink: /blog/categories
125
142
 
143
+ ---
126
144
 
127
- #### Now, you can see blog layout is visible in your project.
145
+ #### Now, you can see blog layout is visible in your project.
128
146
 
129
147
  THESE LAYOUTS DATA DRIVEN BY JSON DATA OR YML FILES, YOU IF YOU WANT CHANGE FOR EXAMPLE:
148
+
130
149
  #### TITLE, META, NAVLINK, LOGO, BLOGTITLE, TAGLINE, FOOTERLINK ETC.
131
150
 
151
+ ---
132
152
 
133
- --------------------------------------------------------------------------
134
- #### CREATE blog(folder) in _data(dir), for ex:) _data/blog
153
+ #### CREATE blog(folder) in \_data(dir), for ex:) \_data/blog
135
154
 
136
155
  UNDER THESE FOLLOWING JSON OR YML FILES. YOU CAN CHANGE DATA ACOORDING ON YOUR PROJECT.
137
156
 
138
157
  #### 1. authors.yml
158
+
139
159
  #### 2. blog.yml
160
+
140
161
  #### 3. nav.json
162
+
141
163
  #### 4. share.yml
164
+
142
165
  #### 5. footer.json
166
+
143
167
  #### 6. disquss comment system
144
168
 
145
169
  #### authors.yml // BLOG POST AUTHOR CAN CHANGE HERE.
146
170
 
147
171
  Manpreet:
148
- name: Manpreet singh
149
- image: /assets/images/manpreet.png
150
- bio: Author4 of Mediumish, a Bootstrap Medium styled template available for WordPress, HTML, Ghost and Jekyll. You are currently previewing Jekyll template demo.
151
- twitter: https://twitter.com/home
172
+ name: Manpreet singh
173
+ image: /assets/images/manpreet.png
174
+ bio: Author4 of Mediumish, a Bootstrap Medium styled template available for WordPress, HTML, Ghost and Jekyll. You are currently previewing Jekyll template demo.
175
+ twitter: https://twitter.com/home
176
+
177
+ #### blog.yml //CHANGE H1 OR TAGLING OF BLOG
152
178
 
153
- #### blog.yml //CHANGE H1 OR TAGLING OF BLOG
154
179
  ---
180
+
155
181
  h1: Latest Posts from our Blog
156
182
  tagline: Best Blogging Site
157
183
 
158
- ---
159
- // REMOVE --- END OF THE LINE, ITS NOT REQUIRED.
184
+ ---
185
+
186
+ // REMOVE --- END OF THE LINE, ITS NOT REQUIRED.
160
187
 
161
188
  #### nav.json // NAVLINK CAN BE CHANGE .
189
+
162
190
  {
163
- "navbarBrandText": "", //NAVTEXT LIKE "bloggingsite"
164
- "navbarBrandLogo": "/assets/images/bebo-logo.svg", //LOGO
165
- "navItems":[
166
- {
167
- "name":"home", //navlinks
168
- "url":"/home" // navurl
169
- },
170
- {
171
- "name":"blog",
172
- "url":"/blog"
173
- }
174
- ]
191
+ "navbarBrandText": "", //NAVTEXT LIKE "bloggingsite"
192
+ "navbarBrandLogo": "/assets/images/bebo-logo.svg", //LOGO
193
+ "navItems":[
194
+ {
195
+ "name":"home", //navlinks
196
+ "url":"/home" // navurl
197
+ },
198
+ {
199
+ "name":"blog",
200
+ "url":"/blog"
201
+ }
202
+ ]
175
203
  }
176
204
 
177
205
  you can add nav links according to your requirements.
178
206
 
179
207
  #### share.yml //if you want change sharing handle then you can
180
- #### Sharing options at the bottom of the post.
181
- #### Icons from <https://fontawesome.com/>
208
+
209
+ #### Sharing options at the bottom of the post.
210
+
211
+ #### Icons from <https://fontawesome.com/>
182
212
 
183
213
  label: 'Share'
184
214
  platforms:
185
- - type: Twitter
186
- icon: 'fab fa-twitter'
187
- link: 'https://twitter.com/intent/tweet?url=URL'
188
- - type: Facebook
189
- icon: 'fab fa-facebook-square'
190
- link: 'https://www.facebook.com/sharer/sharer.php?u=URL'
191
- - type: Linkedin
192
- icon: 'fab fa-linkedin'
193
- link: 'https://www.linkedin.com/sharing/share-offsite/?url=URL'
194
-
195
-
196
- #### footer.json
215
+
216
+ - type: Twitter
217
+ icon: 'fab fa-twitter'
218
+ link: 'https://twitter.com/intent/tweet?url=URL'
219
+ - type: Facebook
220
+ icon: 'fab fa-facebook-square'
221
+ link: 'https://www.facebook.com/sharer/sharer.php?u=URL'
222
+ - type: Linkedin
223
+ icon: 'fab fa-linkedin'
224
+ link: 'https://www.linkedin.com/sharing/share-offsite/?url=URL'
225
+
226
+ #### footer.json
227
+
197
228
  {
198
- "footerMenu": {
199
- "color": "deepskyblue",
200
- "dropdown": [{
201
- "categoryName":"Cricket Posts",
202
- "links": [
203
- {
204
- "name": "blog1",
205
- "url":"/"
206
- },
207
- {
208
- "name": "blog2",
209
- "url":"/"
210
- },
211
- {
212
- "name": "blog3",
213
- "url":"/"
214
- }
215
- ]
216
- },
217
- {
218
- "categoryName":"Latest Posts",
219
- "links": [
220
- {
221
- "name": "blog1",
222
- "url":"/"
223
- },
224
- {
225
- "name": "blog1",
226
- "url":"/"
227
- },
228
- {
229
- "name": "blog1",
230
- "url":"/"
231
- }
232
-
229
+ "footerMenu": {
230
+ "color": "deepskyblue",
231
+ "dropdown": [{
232
+ "categoryName":"Cricket Posts",
233
+ "links": [
234
+ {
235
+ "name": "blog1",
236
+ "url":"/"
237
+ },
238
+ {
239
+ "name": "blog2",
240
+ "url":"/"
241
+ },
242
+ {
243
+ "name": "blog3",
244
+ "url":"/"
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "categoryName":"Latest Posts",
250
+ "links": [
251
+ {
252
+ "name": "blog1",
253
+ "url":"/"
254
+ },
255
+ {
256
+ "name": "blog1",
257
+ "url":"/"
258
+ },
259
+ {
260
+ "name": "blog1",
261
+ "url":"/"
262
+ }
263
+
233
264
  ]
234
265
  },
235
266
  {
@@ -279,13 +310,11 @@ platforms:
279
310
  "i": "fab fa-slack"
280
311
  }
281
312
  ]
313
+
282
314
  }
283
315
 
284
316
  <!-- IF YOU WANT TO CHANGE COPYRIGHT TEXT THEN GO TO CONFIG.YML FILE AND EDIT COPYRIGHT TEXT VARIABLE -->
285
317
 
286
-
287
-
288
-
289
318
  #### disquss comment system
290
319
 
291
320
  sO, NOW YOU CAN DISQUSS COMMENT SYSTEM VERY EASILY IN YOUR PROJECT.
@@ -300,39 +329,22 @@ FOR EXAMPLE:
300
329
  CONFIG.YML
301
330
 
302
331
  disquss:
303
- shortname: yourshortname
332
+ shortname: yourshortname
304
333
 
305
334
  after that you can see that comment system added to your website.
306
335
 
307
-
308
336
  ## so now you can also change color of theme for ex:) footer color,socialicons,expore section etc. and also added google analtyics
309
337
 
310
- you just need to put you google analatyics id in _config.yml
311
- for example look like-
338
+ you just need to put you google analatyics id in \_config.yml
339
+ for example look like-
312
340
  google_analytics: 'G-Your Id'
313
341
 
314
342
  and also change the color in data driven files that we will provide in the top. now updated you can see that );;
315
343
 
316
-
317
344
  ## ENJOY THE BLOGGING THEME
318
345
 
319
-
320
-
321
346
  ## Theme Demo
347
+
322
348
  ## https://thefrondend.com/
323
349
 
324
350
  ## https://ultimateshyari.netlify.app/
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
metadata CHANGED
@@ -1,14 +1,14 @@
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.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-singh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-06 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll