blogging-site-theme 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/custom-head.html +55 -56
  3. data/readme.md +116 -104
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 952f7ab704562012007e94a0e11bb71aff93840a2f92471b70337633d4425e38
4
- data.tar.gz: a3f82f42e0990ba136daa36ea96080e946d62bf5c06d0482565aa8320251a2f0
3
+ metadata.gz: 52f57d5d64912f8ae48dcef450e39029dc4d0b8f38d5195d070e5d2a237d3e14
4
+ data.tar.gz: 0ea79d9c1c2018bb83f181647dfb2cadddda294ad2c5e836c40d929aef6271bf
5
5
  SHA512:
6
- metadata.gz: a7991f31e854dac217e9e7a27083ba28beae4c644cb1fc4203dbee065c5041a7398ff6ccd8c1c0a37d4be64d453e65ee9abb8d851b991fdc8ca578b1fe8b10e7
7
- data.tar.gz: 23db62154082e9e7071e5ca9065299c08bf953bb8c4ec7c095b7a3fbe80623356d5f88807aaef950031b0e3d5ac018777b287f505ecbdf6ad0394aaf92d37c08
6
+ metadata.gz: fe7fa9c3187105ffb3a2be0fdc1bed6e4e2dcb34bce02fb84978b6323142ff380b6a58da61bd60271f10520192b983260f6f680f4e3b58ba3ada77e3423e90b0
7
+ data.tar.gz: d2e88c2ac3c77f85a5311632d305897c00dd5cba1f88eb8b3eb2af3ba499472c44359aa50503f968d31c596c98e22afcac58069e78dfa0a0e31db9f2aea39428
@@ -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,19 @@
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>
96
-
92
+ {% if jekyll.environment == 'production' and site.google_analytics %}
93
+ {% include google-analytics.html %}
94
+ {% endif %}
95
+ </head>
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,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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-singh