blogging-site-theme 0.1.3 → 0.1.7

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: 952f7ab704562012007e94a0e11bb71aff93840a2f92471b70337633d4425e38
4
- data.tar.gz: a3f82f42e0990ba136daa36ea96080e946d62bf5c06d0482565aa8320251a2f0
3
+ metadata.gz: 5530e09587a7d40d044122a0fe0334960a5f1abc4ffe97c5ca6aa0da315dbfe0
4
+ data.tar.gz: 37c06ad06794f9390e5f3bd3d90a338f6aa284aa76bfca62b427d667f81d7ee9
5
5
  SHA512:
6
- metadata.gz: a7991f31e854dac217e9e7a27083ba28beae4c644cb1fc4203dbee065c5041a7398ff6ccd8c1c0a37d4be64d453e65ee9abb8d851b991fdc8ca578b1fe8b10e7
7
- data.tar.gz: 23db62154082e9e7071e5ca9065299c08bf953bb8c4ec7c095b7a3fbe80623356d5f88807aaef950031b0e3d5ac018777b287f505ecbdf6ad0394aaf92d37c08
6
+ metadata.gz: bf4cf6e9004f1bf8687516838b5ac6d805232764acc157922ce7b32ca2975219e3abcc5920a51be6b09f291721a589118b352ece169923e9e02a1259fa371c90
7
+ data.tar.gz: 6bc3272f6a07a0d1637b5dc185ec3e3e98467aeeaabce12210abffbf510bd2f6835986df09920da557d9bb484a8bce44a6ddac9054050c03bb2cd8ed95cab146
data/_data/blog/share.yml CHANGED
@@ -1,6 +1,3 @@
1
- # Sharing options at the bottom of the post.
2
- # Icons from <https://fontawesome.com/>
3
-
4
1
  label: 'Share'
5
2
 
6
3
  platforms:
@@ -13,16 +10,3 @@ platforms:
13
10
  - type: Linkedin
14
11
  icon: 'fab fa-linkedin'
15
12
  link: 'https://www.linkedin.com/sharing/share-offsite/?url=URL'
16
- # Uncomment below if you need to.
17
- # -
18
- # type: Linkedin
19
- # icon: "fab fa-linkedin"
20
- # link: "https://www.linkedin.com/sharing/share-offsite/?url=URL"
21
- #
22
- # -
23
- # type: Weibo
24
- # icon: "fab fa-weibo"
25
- # link: "http://service.weibo.com/share/share.php?title=TITLE&url=URL"
26
- # type: Telegram
27
- # icon: "fab fa-telegram"
28
- # link: "https://telegram.me/share?text=TITLE&url=URL"
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,60 @@
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>
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
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}}">
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
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}}">
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
32
 
33
33
 
34
- <link data-rh="true" rel="canonical" href="{{site.url | append: page.url}}">
34
+ <link data-rh="true" rel="canonical" href="{{site.url | append: page.url}}">
35
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}}" />
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 }}">
43
41
 
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 }}">
42
+ <meta name="google-site-verification" content="{{site.google_site_verification}}" />
50
43
 
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>
44
+ <!-- Favicon-->
45
+ <link rel="shortcut icon" href="{{ favicon | relative_url }}">
55
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 }}">
56
50
 
57
- <script ata-rh="true" type="application/ld+json">
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
58
  {
59
59
  "@context": "https://schema.org",
60
60
  "@type": "BlogPosting",
@@ -68,7 +68,7 @@
68
68
  "dateModified": {{ page.last_modified_at | default: page.date | jsonify }},
69
69
  "author": {
70
70
  "@type": "Person",
71
- "name": {{ site.author_name | jsonify }}
71
+ "name": {{ site.author_name | jsonify }},
72
72
  "email": {{ site.email | jsonify }}
73
73
  },
74
74
  "publisher": {
@@ -77,20 +77,20 @@
77
77
  "url": "{{ site.url }}",
78
78
  "logo": {
79
79
  "@type": "ImageObject",
80
- "width": 100%,
81
- "height": 200px,
80
+ "width": 100,
81
+ "height": 200,
82
82
  "url": "{{ site.url }}{{site.favicon}}"
83
83
  }
84
84
  },
85
85
  "mainEntityOfPage": {
86
86
  "@type": "WebPage",
87
87
  "@id": "{{ site.url }}{{ page.url }}"
88
- },
88
+ }
89
89
  }
90
90
  </script>
91
91
 
92
- {% if jekyll.environment == 'production' and site.google_analytics %}
93
- {% include google-analytics.html %}
94
- {% endif %}
95
- </head>
92
+ {% if jekyll.environment == 'production' and site.google_analytics %}
93
+ {% include google-analytics.html %}
94
+ {% endif %}
96
95
 
96
+ </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 %}
@@ -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,42 @@
1
1
  <div class="container">
2
- <div class="relatedPosts">
2
+ <div class="recentPosts">
3
+ {%- if site.posts.size>0 -%}
3
4
  <h1 class="related_post_heading">Recent Posts</h1>
5
+ {%- endif -%}
4
6
  <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">
7
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
8
+ {% for post in posts limit: 3%}
9
+ <div class="col-lg-4 col-md-6 mb-4 card-group">
8
10
  <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;">
11
+ <a href="{{ post.url }}">
12
+ <img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
13
+ alt="">
12
14
  </a>
13
15
  <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 class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
17
+ <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
16
18
  </a>
17
19
  </div>
18
- {% assign author = site.data.blog.authors[recent.author] %}
19
20
  <div class="card-footer bg-white">
20
21
  <div class="wrapfooter">
21
- {% if recent.author %}
22
+ {% assign author = site.data.blog.authors[post.author] %}
23
+ {% if post.author %}
22
24
  <span class="meta-footer-thumb">
23
- <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
25
+ <img class="author-thumb" loading="lazy" src="{{author.image}}" alt="{{ authorName }}">
24
26
  </span>
25
27
  {% endif %}
26
-
27
28
  <span class="author-meta">
28
- <span class="recent-name">
29
- <a target="_blank" href="/blog">{{recent.author}}</a>
29
+ <span class="post-name">
30
+ <a target="_blank" href="/blog"> {{author.name}}</a>
30
31
  </span><br>
31
- <span class="post-date">{{recent.date | date_to_string }}</span>
32
+ <span class="post-date">{{post.date | date_to_string }}</span>
32
33
  </span>
33
- <span class="post-read-more"><a class="text-dark" href="{{ recent.url }}"
34
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
34
35
  title="Read Story">Read More</a></span>
35
36
  </div>
36
37
  </div>
37
38
  </div>
38
39
  </div>
39
- {% endif %}
40
40
  {% endfor %}
41
41
  </div>
42
42
  </div>
@@ -1,54 +1,158 @@
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 %}
12
+ {% assign sameTagCount = 0 %}
13
+ {% assign commonTags = '' %}
9
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 %}
20
+ {% assign sameTagCount = sameTagCount | plus: 1 %}
21
+ {% endif %}
22
+ {% endif %}
23
+ {% endfor %}
24
+ {%- endif -%}
13
25
 
14
- <div class="col-lg-4 col-md-6 mb-5 card-group">
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 }}" style="width:100%; border-radius: 4px; height: 200px;"
18
- class="card-img-top" alt="{{post.url}}">
42
+ <img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
43
+ alt="">
19
44
  </a>
20
45
  <div class="card-body">
21
46
  <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
22
47
  <h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
23
48
  </a>
24
49
  </div>
25
- {% assign author = site.data.blog.authors[post.author] %}
26
50
  <div class="card-footer bg-white">
27
- <div class="wrapfooter" style="justify-content: space-between;
28
- ">
51
+ <div class="wrapfooter">
29
52
  {% if post.author %}
30
53
  <span class="meta-footer-thumb">
31
- <img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}">
54
+ <img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
32
55
  </span>
33
56
  {% endif %}
34
57
 
35
- <!-- <span class="author-meta">
58
+ <span class="author-meta">
36
59
  <span class="post-name">
37
- <a target="_blank" href="/blog">{{post.author}}</a>
60
+ <a target="_blank" href="/blog">{{authorName}}</a>
38
61
  </span><br>
39
62
  <span class="post-date">{{post.date | date_to_string }}</span>
40
- </span> -->
41
- <span class="post-read-more ml-5"><a class="text-dark" href="{{ post.url }}"
42
- 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>
43
67
  </div>
44
68
  </div>
45
69
  </div>
46
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
+
47
80
 
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 -%}
48
108
  {% endif %}
49
109
  {% endif %}
50
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
+ {% assign author = site.data.blog.authors[post.author] %}
131
+
132
+ {% if post.author %}
133
+ <span class="meta-footer-thumb">
134
+ <img class="author-thumb" loading="lazy" src="{{author.image}}" alt="{{ authorName }}">
135
+ </span>
136
+ {% endif %}
137
+ <span class="author-meta">
138
+ <span class="post-name">
139
+ <a target="_blank" href="/blog">{{author.name}}</a>
140
+ </span><br>
141
+ <span class="post-date">{{post.date | date_to_string }}</span>
142
+ </span>
143
+ <span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
144
+ title="Read Story">Read
145
+ More</a></span>
146
+ </div>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ {%- endif -%}
151
+ {%- endif -%}
152
+
51
153
  {% endfor %}
154
+ {%- endif -%}
155
+
52
156
  </div>
53
157
  </div>
54
158
  </div>
data/_layouts/blog.html CHANGED
@@ -23,14 +23,13 @@
23
23
  </div>
24
24
  <!-- close -->
25
25
 
26
- <div class="row">
26
+ <div class="row">
27
27
  {% for post in paginator.posts%}
28
28
  <div class="col-lg-4 col-md-6 mb-4 card-group">
29
29
  <div class="card h-100" id="{{post.categories}}">
30
30
  <a href="{{ post.url }}">
31
- <img src="{{ post.image }}" class="card-img-top"
32
- style="width:100%; border-radius: 3px; height: 200px;"
33
- alt="{{post.url}}">
31
+ <img src="{{ post.image }}" class="card-img-top"
32
+ style="width:100%; border-radius: 3px; height: 200px;" alt="{{post.url}}">
34
33
  </a>
35
34
  <div class="card-body">
36
35
  <a href="{{ post.url }}" class="anchor_link">
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.3
4
+ version: 0.1.7
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