best-blogging-theme 0.1.5 → 0.2.0

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: a4114b17f0cb38f194bc4b3e40e0feaf15b0ee8cae43c4409e7915ad8134a67c
4
- data.tar.gz: 3c6a91f6158a4e5eef4f84b9e7c9f1aec84330a31917e3b614074a7b0665a9b5
3
+ metadata.gz: e4779f43b05336801f140d2bb1c1b9cf551b23008c385d3ad3bd5b8906188de7
4
+ data.tar.gz: fbfbb5b8a33f6ff44f531375e9e4e6f4032e50c84bacb27ecb30d9f30b7f55ed
5
5
  SHA512:
6
- metadata.gz: 44b74a4788f0a09d96299764010c9b6d5068199fccdad1b222124bb5188010ea9282ad7d17e0194bf77420deef3228e609eadbced5ae80b39056737db4e82538
7
- data.tar.gz: 277fb578fe23c284270ae2725b4ddc49f16449c8d2905f6c716bd1de8b2ea8a63babf6b2d5bf020a679d9d0b5ec6cf80c028f3578358aa96f42ca52f095eb135
6
+ metadata.gz: fba06f74014f5f1fa3a2f588c8165e705fd8c82cddfb9dde40930111575f5230f5a024f439d103d66083f0e0c0f4425d7e86f17d83a043f981d06ab1d8165788
7
+ data.tar.gz: 062b19f4b6f53beaafc699579381ec62bbe5d1c40d52d9427397fce4b35c1251fe38e8400ef3bf236a0c2c9928b62c024f477e64c91ccceb39d59035fb538bf0
@@ -2,4 +2,4 @@ Manpreet:
2
2
  name: Manpreet singh
3
3
  image: /assets/images/manpreet.png
4
4
  bio: Author4 of Mediumish, a Bootstrap Medium styled template available for WordPress, HTML, Ghost and Jekyll. You are currently previewing Jekyll template demo.
5
- twitter: https://twitter.com/home
5
+ link: https://twitter.com/home
@@ -1,4 +1,5 @@
1
1
  {
2
+ "color": "deepskyblue",
2
3
  "footerMenu": {
3
4
  "dropdown": [{
4
5
  "categoryName":"Cricket Posts",
@@ -48,4 +48,7 @@
48
48
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
49
49
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
50
50
  <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
51
+
52
+
53
+ {% include google-analytics.html %}
51
54
  </head>
@@ -1,6 +1,7 @@
1
1
  {%- assign footerData = site.data.blog.footer.footerMenu.dropdown -%}
2
+ {%- assign footerData2 = site.data.blog.footer -%}
2
3
  <div class="container-fluid">
3
- <div class="main_row row py-5 px-5 mx-0">
4
+ <div class="main_row row py-5 samePad mx-0">
4
5
  <div class="col-md-10 mx-auto">
5
6
  <div class="row d-flex justify-content-between">
6
7
  {%- for item in footerData -%}
@@ -20,7 +21,8 @@
20
21
  <input type="text" placeholder="Enter Your Email" class="input__design">
21
22
  </div>
22
23
  <a href="#">
23
- <button class="my_btn mt-3" value="Enter Your Email">Submit</button>
24
+ <button class="my_btn mt-3" value="Enter Your Email"
25
+ style="background-color:{{footerData2.color}}">Submit</button>
24
26
  </a>
25
27
  </div>
26
28
  <div class="col-12 mt-2">
@@ -28,7 +30,7 @@
28
30
  <div class="icons d-flex align-items-center justify-content-center">
29
31
  {%- for item in site.data.blog.footer.socialIcon -%}
30
32
  <a target="{{item.target}}" href="{{item.href}}">
31
- <i class="{{item.i}} s_link"></i>
33
+ <i class="{{item.i}} s_link" style="color:{{footerData2.color}}"></i>
32
34
  </a>
33
35
  {%- endfor -%}
34
36
  </div>
@@ -37,7 +39,7 @@
37
39
  </div>
38
40
  </div>
39
41
  </div>
40
- <div class="row m-0 py-3" style="background-color: #00ab6b;">
42
+ <div class="row m-0 py-3" style="background-color: {{footerData2.color}};">
41
43
  <div class="col-12">
42
44
  <div class="d-flex justify-content-between px-md-5 px-0 footer__flexbox">
43
45
  <p class="m-0 text-white">{{site.copyright_text}}</p>
@@ -0,0 +1,8 @@
1
+ <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
2
+ <script>
3
+ window.dataLayer = window.dataLayer || [];
4
+ function gtag(){dataLayer.push(arguments);}
5
+ gtag('js', new Date());
6
+
7
+ gtag('config', '{{ site.google_analytics }}');
8
+ </script>
@@ -1,6 +1,6 @@
1
1
  <!-- start Header Area -->
2
2
  <div class="container-fluid navigationBottomLine">
3
- <div class="container px-5">
3
+ <div class="container samePad">
4
4
  <header>
5
5
  {% include header/nav-menu.html %}
6
6
  </header>
@@ -1,7 +1,7 @@
1
1
  <div class="col-lg-3 col-md-6 mb-4 card-group">
2
2
  <div class="card h-100" style="border-radius:16px" id="{{post.categories}}">
3
3
  <a href="{{ post.url }}">
4
- <img src="{{ post.image }}" class="card-img-top p-3" style="border-radius: 25px; height: 170px;"
4
+ <img src="{{ post.image }}" class="card-img-top p-3" style="border-radius: 25px;"
5
5
  alt="not found">
6
6
  </a>
7
7
  <div class="card-body">
@@ -1,4 +1,5 @@
1
- <div class="explore">
1
+ {%- assign footerData2 = site.data.blog.footer -%}
2
+ <div class="explore" style="background: {{footerData2.color}}">
2
3
  <h2 class="animate__animated animate__bounce animate__infinite">Explore</h2>
3
4
  <span class="d-none d-md-inline animate__animated animate__backInDown animate__infinite"
4
5
  style="font-size: 25px;">&#x2193;</span>
data/_layouts/blog.html CHANGED
@@ -29,7 +29,7 @@
29
29
  <div class="col-lg-3 col-md-6 mb-4 card-group">
30
30
  <div class="card h-100" style="border-radius:16px" id="{{post.categories}}">
31
31
  <a href="{{ post.url }}">
32
- <img src="{{ post.image }}" class="card-img-top p-3" style="border-radius: 25px; height: 170px;"
32
+ <img src="{{ post.image }}" class="card-img-top p-3" style="border-radius: 25px;"
33
33
  alt="not found">
34
34
  </a>
35
35
  <div class="card-body">
data/_layouts/post.html CHANGED
@@ -3,7 +3,8 @@
3
3
  {% include custom-head.html %}
4
4
  <style>
5
5
  .post-content img{
6
- width:100%;
6
+ width:auto;
7
+ max-width: 100%;
7
8
  }
8
9
  </style>
9
10
  <body>
@@ -1,3 +1,4 @@
1
+
1
2
  .card:hover{
2
3
  transform: translateY(-20px);
3
4
  transition: all 0.15s ease;
@@ -22,6 +22,20 @@ body {
22
22
  font-family: Quicksand, sans-serif !important;
23
23
  }
24
24
 
25
+ pre{
26
+ display: block;
27
+ padding: 9.5px;
28
+ margin: 0 0 10px;
29
+ font-size: 13px;
30
+ line-height: 1.42857143;
31
+ color: #333;
32
+ word-break: break-all;
33
+ word-wrap: break-word;
34
+ background-color: #f5f5f5;
35
+ border: 1px solid #ccc;
36
+ border-radius: 4px;
37
+ }
38
+
25
39
  .navigationBottomLine {
26
40
  position: sticky;
27
41
  top: 0;
@@ -149,8 +163,17 @@ body {
149
163
  }
150
164
  }
151
165
 
166
+ .samePad{
167
+ padding:0 3rem;
168
+ }
169
+
170
+
171
+
152
172
  @media (max-width: 768px) {
153
173
  .bd-search {
154
174
  padding: 10px 25px;
155
175
  }
176
+ .samePad{
177
+ padding: 0 !important;
178
+ }
156
179
  }
Binary file
data/readme.md CHANGED
@@ -196,6 +196,7 @@ platforms:
196
196
  #### footer.json
197
197
  {
198
198
  "footerMenu": {
199
+ "color": "deepskyblue",
199
200
  "dropdown": [{
200
201
  "categoryName":"Cricket Posts",
201
202
  "links": [
@@ -304,11 +305,26 @@ disquss:
304
305
  after that you can see that comment system added to your website.
305
306
 
306
307
 
308
+ ## so now you can also change color of theme for ex:) footer color,socialicons,expore section etc. and also added google analtyics
309
+
310
+ you just need to put you google analatyics id in _config.yml
311
+ for example look like-
312
+ google_analytics: 'G-Your Id'
313
+
314
+ and also change the color in data driven files that we will provide in the top. now updated you can see that );;
315
+
307
316
 
308
317
  ## ENJOY THE BLOGGING THEME
309
318
 
310
319
 
311
320
 
321
+ ## Theme Demo
322
+ ## https://thefrondend.com/
323
+
324
+ ## https://ultimateshyari.netlify.app/
325
+
326
+
327
+
312
328
 
313
329
 
314
330
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: best-blogging-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-choudhary
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-21 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -68,6 +68,7 @@ files:
68
68
  - _includes/custom-head.html
69
69
  - _includes/disqus_comments.html
70
70
  - _includes/footer/index.html
71
+ - _includes/google-analytics.html
71
72
  - _includes/header/index.html
72
73
  - _includes/header/nav-menu.html
73
74
  - _includes/pagination.html
@@ -88,6 +89,7 @@ files:
88
89
  - _sass/theme/pagination2.scss
89
90
  - assets/css/main.scss
90
91
  - assets/images/bebo-logo.svg
92
+ - assets/images/bg.jpg
91
93
  - assets/images/blogger-logotype.svg
92
94
  - assets/images/cancel.png
93
95
  - assets/images/favicon-16x16.png