blogging-site-theme 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59487a88c89580c5909c2621061c2bc501e9c06a444ec89022cffcb5329e89d6
4
- data.tar.gz: a9270487ea8c8bebeec61aa978a7721f2308d7bf8ac668fa26376412f057073e
3
+ metadata.gz: d09279deb660312865a71a4b8854544374b7dedea0ee1e3ad9f7c45abbacb034
4
+ data.tar.gz: d57e621a11ce6dbfa8007ec62564cbb9761517310735f2845bd1600d4879c44a
5
5
  SHA512:
6
- metadata.gz: 2dddf95384795284a99b09aee6dbe4d1013e173b9d2404dc26cb47fc7dfe49eae348f57157eb321a4040820905105e437ba6b5c8fc86ea0befddda02e6fdb392
7
- data.tar.gz: 755f303b1bf7c04c8aa9aa1bb068bffb10696c2f8d96450d6bbc71f5a02854665d670c4f9dc0367b6423dc4f5b87086f1e00ae169df5ab574d77ef9de417c7f8
6
+ metadata.gz: 22165dd559191bdc94ddb3ec008ca59f23ea619b8d845ff283fafc895840eca2a788d580f036df3d7aa9770853ac7177fdc3d11f761956cc6cc71a10b2bd7ec4
7
+ data.tar.gz: a33f5be4523bec0a2344888194181593a1be3c7a411b386ea511c15676d7f9906499dc69885a7ec08d199772977af5933b98e41b7735f9a9c46a4d8ab49d10ef
@@ -0,0 +1,3 @@
1
+ ---
2
+ span: Blogging-Website.com   Never miss a
3
+ <b>story</b> from us, subscribe to our newsletter
@@ -1,59 +1,63 @@
1
1
  {
2
- "footerMenu": {
3
- "dropdown": [{
4
- "categoryName":"Cricket Posts",
5
- "links": [
6
- {
7
- "name": "blog1",
8
- "url":"/"
9
- },
10
- {
11
- "name": "blog2",
12
- "url":"/"
13
- },
14
- {
15
- "name": "blog3",
16
- "url":"/"
17
- }
18
- ]
19
- },
20
- {
21
- "categoryName":"Latest Posts",
22
- "links": [
23
- {
24
- "name": "blog1",
25
- "url":"/"
26
- },
27
- {
28
- "name": "blog1",
29
- "url":"/"
30
- },
2
+
3
+
4
+ "categoryName":"WebDevelopment",
5
+
6
+
7
+ "QuickLinks":[
8
+ {
9
+ "target": "_blank",
10
+ "name": "About",
11
+ "url": "/about"
12
+ },
13
+ {
14
+ "target": "_blank",
15
+ "name": "Contact",
16
+ "url": "/contact"
17
+ },
18
+ {
19
+ "target": "_blank",
20
+ "name": "Sitemap",
21
+ "url": "/sitemap.xml"
22
+ },
31
23
  {
32
- "name": "blog1",
33
- "url":"/"
34
- }
35
-
36
- ]
37
- },
38
- {
39
- "categoryName":"Website Name",
40
- "links": [
41
- {
42
- "name": "Terms and conditions",
43
- "url":"/"
44
- },
45
- {
46
- "name": "Privacy Policy",
47
- "url":"/"
48
- },
49
- {
50
- "name": "Disclaimer",
51
- "url":"/"
52
- }
53
- ]
54
- }
55
- ]
56
- },
24
+ "target": "_blank",
25
+ "name": "Github Repo",
26
+ "url": "https://github.com/ManpreetChoudhary/Blogging-Theme"
27
+ },
28
+ ],
29
+
30
+
31
+
32
+ "StaticPages":[
33
+ {
34
+ "target": "_blank",
35
+ "name": "Terms and conditions",
36
+ "url": "/terms-and-conditions"
37
+ },
38
+ {
39
+ "target": "_blank",
40
+ "name": "Privacy Policy",
41
+ "url": "/privacy-policy"
42
+ },
43
+ {
44
+ "target": "_blank",
45
+ "name": "Disclaimer",
46
+ "url": "/disclaimer"
47
+ }
48
+
49
+ ],
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
57
61
 
58
62
  "socialIcon":[
59
63
  {
data/_data/theme/UI.json CHANGED
@@ -1,3 +1,4 @@
1
1
  {
2
- "color": "#0F0E15"
2
+ "color": "#0F0E15",
3
+ "staticPagesColor": "rgba(0,0,0,0.2)"
3
4
  }
@@ -30,6 +30,9 @@
30
30
  <meta data-rh="true" name="twitter:description" content="{{ seo_description}}">
31
31
  <meta data-rh="true" name="twitter:image:src" content="{{site.url | append: favicon}}">
32
32
 
33
+
34
+ <link rel="canonical" href="{{site.url | append: page.url}}">
35
+
33
36
  <meta name="subject" content="Education">
34
37
  <meta name="copyright" content="{{site.url}}">
35
38
  <meta name="identifier-URL" content="{{site.url}}">
@@ -51,5 +54,7 @@
51
54
 
52
55
 
53
56
  <meta name="google-site-verification" content="{{site.google_site_verification}}" />
54
- {% include google-analytics.html %}
57
+ {% if jekyll.environment == 'production' and site.google_analytics %}
58
+ {% include google-analytics.html %}
59
+ {% endif %}
55
60
  </head>
@@ -1,51 +1,93 @@
1
- {%- assign footerData = site.data.blog.footer.footerMenu.dropdown -%}
2
- {%- assign footerData2 = site.data.blog.footer -%}
3
- <div class="container-fluid">
1
+ {%- assign footer = site.data.blog.footer -%}
2
+ {%- assign theme = site.data.theme.UI -%}
3
+
4
+ <style>
5
+ .anchr__link{
6
+ text-decoration: none;
7
+ }
8
+ .anchr__link:hover{
9
+ text-decoration: underline;
10
+ }
11
+ @media(max-width:768px){
12
+ .footer_Media{
13
+ padding: 2rem;
14
+ }
15
+ }
16
+ </style>
17
+
18
+ <div class="container-fluid py-5 px-0">
19
+ <div style="border-top: 1px solid rgba(0, 0, 0, 0.1);"></div>
4
20
  <div class="main_row row py-5 samePad mx-0">
5
- <div class="col-md-10 mx-auto">
21
+ <div class="col-md-11 mx-auto footer_Media">
6
22
  <div class="row d-flex justify-content-between">
7
- {%- for item in footerData -%}
23
+ <div class="col-md-3">
24
+ <p class="font-weight-bold footer_subheading">{{footer.categoryName}}</p>
25
+ {%- for item in site.posts limit: 4-%}
26
+ <a class="anchr__link" href="{{item.url}}" style="color: {{theme.color}}">
27
+ <p class="text-muted">{{item.title | truncate: 35, }}</p>
28
+ </a>
29
+ {% endfor %}
30
+ </div>
31
+
32
+ <div class="col-md-2">
33
+ <p class="font-weight-bold footer_subheading">Quick Links</p>
34
+ {%- for item in footer.QuickLinks -%}
35
+ <a class="anchr__link" href="{{item.url}}" target="{{item.target}}" style="color: {{theme.color}}">
36
+ <p class="text-muted">{{item.name }}</p>
37
+ </a>
38
+ {% endfor %}
39
+ </div>
40
+
8
41
  <div class="col-md-2">
9
- <p class="font-weight-bold footer_subheading">{{item.categoryName}}</p>
10
- {%- for item in item.links -%}
11
- <p><a class="footer__link" href="{{item.url}}">{{item.name}}</a></p>
12
- {% endfor %}
42
+ <p class="font-weight-bold footer_subheading">{{site.name}}</p>
43
+ {%- for item in footer.StaticPages -%}
44
+ <a class="anchr__link" href="{{item.url}}" target="{{item.target}}" style="color: {{theme.color}}">
45
+ <p class="text-muted">{{item.name}}</p>
46
+ </a>
47
+ {% endfor %}
13
48
  </div>
14
- {% endfor %}
15
-
49
+
50
+
16
51
  <div class="col-md-4">
17
52
  <p class="footer_subheading">Feedback</p>
18
- <p> Share your expierence with Math-World</p>
53
+ <p> Share your expierence with {{site.name}}</p>
19
54
  <div class="input_div">
20
55
  <i class="far fa-envelope"></i>
21
56
  <input type="text" placeholder="Enter Your Email" class="input__design">
22
57
  </div>
23
- <a href="#">
58
+ <a href="#">
24
59
  <button class="my_btn mt-3" value="Enter Your Email"
25
- style="background-color:{{footerData2.color}}">Submit</button>
60
+ style="background-color:{{theme.color}}">Submit</button>
26
61
  </a>
27
62
  </div>
63
+
28
64
  <div class="col-12 mt-2">
29
65
  <p class="footer_subheading text-center">Follow us on</p>
30
66
  <div class="icons d-flex align-items-center justify-content-center">
31
67
  {%- for item in site.data.blog.footer.socialIcon -%}
32
68
  <a target="{{item.target}}" href="{{item.href}}">
33
- <i class="{{item.i}} s_link" style="color:{{footerData2.color}}"></i>
69
+ <i class="{{item.i}} s_link" style="color:{{theme.color}}"></i>
34
70
  </a>
35
71
  {%- endfor -%}
36
72
  </div>
37
73
  </div>
38
- </div>
39
- </div>
40
- </div>
74
+
75
+ </div>
76
+ </div>
77
+ </div>
41
78
  </div>
42
- <div class="row m-0 py-3" style="background-color: {{footerData2.color}};">
79
+
80
+
81
+
82
+
83
+
84
+ <div class="row m-0 py-3" style="background-color: {{theme.color}};">
43
85
  <div class="col-12">
44
- <div class="d-flex justify-content-between px-md-5 px-0 footer__flexbox">
86
+ <!-- <div class="d-flex justify-content-between px-md-5 px-0 footer__flexbox">
45
87
  <p class="m-0 text-white">{{site.copyright_text}}</p>
46
- <!-- <p class="m-0"><a class="footer__link" href="/about-us">About Us</a>
88
+ <p class="m-0"><a class="footer__link" href="/about-us">About Us</a>
47
89
  <a class="footer__link" href="/contact-us">| Contact Us</a>
48
- </p> -->
49
- </div>
90
+ </p>
91
+ </div> -->
50
92
  </div>
51
93
  </div>
@@ -0,0 +1,66 @@
1
+ {%- assign theme = site.data.theme.UI -%}
2
+ <!-- Start page-top section -->
3
+ <section class="page-top-section" style="background: {{theme.staticPagesColor}}">
4
+ <div class="container">
5
+ <div class="row justify-content-between align-items-center">
6
+ <div class="col-lg-6 col-md-6">
7
+ <h1 class="text-white">About</h1>
8
+ </div>
9
+ <div class="col-lg-6 col-md-6 page-top-nav" style="text-align: right;">
10
+ <div>
11
+ <a href="/" class="text-white">Home</a>
12
+ <i class="fa fa-arrow-right text-white"></i>
13
+ <a href="/about" class="text-white">About</a>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </section>
19
+ <!-- End page-top section -->
20
+
21
+ <!-- Start main body content -->
22
+ <section class="features-content section-gap">
23
+ <div class="container">
24
+ <h3 class='subheading text-center'>About this Website</h3>
25
+ <h5>Introduction</h5>
26
+
27
+ <h5 className='mt-4'>Who founded {{site.name}}?</h5>
28
+ <p className='about_colors_p'>
29
+ {{site.name}} founded by
30
+ <a href='{{site.url}}'
31
+ className='same'
32
+ target='_blank'
33
+ >
34
+ {{site.author}}
35
+ </a>
36
+
37
+ <a
38
+ href='https://manpreetchoudhary.github.io/'
39
+ target='_blank'
40
+ className='same'
41
+ >
42
+ </a>
43
+ &nbsp;Manpreet Singh. (WEB DEVELOPER)
44
+ </p>
45
+
46
+ <h5 className='mt-4'>Contact us</h5>
47
+ <p className='about_colors_p'>
48
+ If you have any quieries, suggestions or other requests feel free
49
+ to contact us! <br>We are always happy to hear from you!
50
+ </p>
51
+ <span>
52
+ <strong>Email:&nbsp; </strong>
53
+ </span>
54
+ <a href='mailto: {{site.email}}'>{{site.email}}</a>
55
+ <br />
56
+ <span>
57
+ <strong>Instagram: &nbsp;</strong>
58
+ </span>
59
+ <a
60
+ href='{{site.instagram_username}}'
61
+ target='_blank'
62
+ >
63
+ {{site.instagram_username}}
64
+ </a>
65
+ </div>
66
+ </section>
@@ -0,0 +1,44 @@
1
+ {%- assign theme = site.data.theme.UI -%}
2
+ <!-- Start page-top section -->
3
+ <section class="page-top-section" style="background: {{theme.staticPagesColor}}">
4
+ <div class="container">
5
+ <div class="row justify-content-between align-items-center">
6
+ <div class="col-lg-6 col-md-6">
7
+ <h1 class="text-white">Contact</h1>
8
+ </div>
9
+ <div class="col-lg-6 col-md-6 page-top-nav" style="text-align: right;">
10
+ <div>
11
+ <a href="/" class="text-white">Home</a>
12
+ <i class="fa fa-arrow-right text-white"></i>
13
+ <a href="/contact" class="text-white">Contact</a>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </section>
19
+ <!-- End page-top section -->
20
+
21
+ <!-- Start main body content -->
22
+ <section class="features-content section-gap">
23
+ <div class="container">
24
+ <span>
25
+ <strong>Email:&nbsp; </strong>
26
+ </span>
27
+ <a href='mailto: {{site.email}}'>{{site.email}}</a>
28
+ <br />
29
+ <span>
30
+ <strong>Instagram: &nbsp;</strong>
31
+ </span>
32
+ <a
33
+ href='{{site.instagram_username}}'
34
+ target='_blank'
35
+ >
36
+ {{site.instagram_username}}
37
+ </a>
38
+ <br/>
39
+ <span>
40
+ <strong>PhoneNumber: &nbsp;</strong>
41
+ {{site.phone}}
42
+ </span>
43
+ </div>
44
+ </section>
@@ -0,0 +1,33 @@
1
+ {%- assign theme = site.data.theme.UI -%}
2
+ <!-- Start page-top section -->
3
+ <section class="page-top-section" style="background: {{theme.staticPagesColor}}">
4
+ <div class="container">
5
+ <div class="row justify-content-between align-items-center">
6
+ <div class="col-lg-6 col-md-6">
7
+ <h1 class="text-white">Disclaimer</h1>
8
+ </div>
9
+ <div class="col-lg-6 col-md-6 page-top-nav" style="text-align: right;">
10
+ <div>
11
+ <a href="/" class="text-white">Home</a>
12
+ <i class="fa fa-arrow-right text-white"></i>
13
+ <a href="/disclaimer" class="text-white">Disclaimer</a>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </section>
19
+ <!-- End page-top section -->
20
+
21
+ <!-- Start main body content -->
22
+ <section class="features-content section-gap">
23
+ <div class="container">
24
+ <p>
25
+ <b>Updated at - </b>{{site.name}} hereby grants you to {{site.url}} and invites you to freely used the million color's services .
26
+
27
+ </p>
28
+ <p>
29
+ <p>While the information on this website has been verified to the best of our abilities, <br> we cannot
30
+ guarantee that there are no mistakes or errors.</p>
31
+ </p>
32
+ </div>
33
+ </section>
@@ -0,0 +1,34 @@
1
+ {%- assign theme = site.data.theme.UI -%}
2
+ <!-- Start page-top section -->
3
+ <section class="page-top-section" style="background: {{theme.staticPagesColor}}">
4
+ <div class="container">
5
+ <div class="row justify-content-between align-items-center">
6
+ <div class="col-lg-6 col-md-6">
7
+ <h1 class="text-white">Privacy &amp; Policy</h1>
8
+ </div>
9
+ <div class="col-lg-6 col-md-6 page-top-nav" style="text-align: right;">
10
+ <div>
11
+ <a href="/" class="text-white">Home</a>
12
+ <i class="fa fa-arrow-right text-white"></i>
13
+ <a href="/privacy-policy" class="text-white"> Privacy &amp; Policy</a>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </section>
19
+ <!-- End page-top section -->
20
+
21
+ <!-- Start main body content -->
22
+ <section class="features-content section-gap">
23
+ <div class="container">
24
+ <p>
25
+ <b>{{site.url}}</b> doesn't collect any Personal Data from its Users.
26
+ </p>
27
+ <p>
28
+ <h3 class="font-weight-bold mb-4">Owner and Data Controller</h3>
29
+ {{site.name}}: <b>Punjab, India</b>
30
+ <p>Contact email: {{site.email}}</p>
31
+ <p><b>{{site.name}} is provided by:</b> Manpreet Singh</p>
32
+ </p>
33
+ </div>
34
+ </section>
@@ -0,0 +1,71 @@
1
+ {%- assign theme = site.data.theme.UI -%}
2
+ <!-- Start page-top section -->
3
+ <section class="page-top-section" style="background: {{theme.staticPagesColor}}">
4
+ <div class="container">
5
+ <div class="row justify-content-between align-items-center">
6
+ <div class="col-lg-6 col-md-6">
7
+ <h1 class="text-white">Terms &amp; Conditions</h1>
8
+ </div>
9
+ <div class="col-lg-6 col-md-6 page-top-nav" style="text-align: right;">
10
+ <div>
11
+ <a href="/" class="text-white">Home</a>
12
+ <i class="fa fa-arrow-right text-white"></i>
13
+ <a href="/terms-and-conditions" class="text-white"> Terms &amp; Conditions</a>
14
+ </div>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </section>
19
+ <!-- End page-top section -->
20
+
21
+ <!-- Start main body content -->
22
+ <section class="features-content section-gap">
23
+ <div class="container">
24
+ <p>
25
+ These Terms govern the use of
26
+ <b>{{site.url}}</b> and any other related Agreement or legal relationship with the Owner in a legally
27
+ binding way. 
28
+ </p>
29
+
30
+ <b>The User must read this document carefully.</b>
31
+
32
+ <p>
33
+ <h3 class="font-weight-bold mb-4">Content on million color</h3>
34
+ all content available on {{site.name}} is owned or provided by the Owner or its licensors.The Owner undertakes
35
+ its utmost effort to ensure that the content provided on million color infringes no applicable legal provisions
36
+ or third-party rights. 
37
+ <p class="my-3"><b>Rights regarding content on {{site.name}} - All rights reserved</b></p>
38
+ <p>The Owner holds and reserves all intellectual property rights for any such content.
39
+ the User may download, copy and/or share some content available through million color for its sole personal
40
+ and non-commercial use and provided that the copyright attributions and all the other attributions requested
41
+ by the Owner are correctly implemented.</p>
42
+ </p>
43
+ <h3 class="font-weight-bold mb-4">Acceptable use</h3>
44
+ <p class="my-3">
45
+ {{site.url}} services may only be used within the scope of what they are provided for, under these Terms
46
+ and applicable law.
47
+ Users are solely responsible for making sure that their use of {{site.url}} services violates no
48
+ applicable law, regulations or third-party rights.
49
+ </p>
50
+
51
+
52
+ <p>
53
+ <h3 class="font-weight-bold mb-4">Software license</h3>
54
+ <p class="my-3">
55
+ Any intellectual or industrial property rights, and any other exclusive rights on software or technical
56
+ applications embedded in or related to million color are held by the Owner .
57
+ Subject to Users’ compliance with and notwithstanding any divergent provision of these Terms, the Owner
58
+ merely grants Users a revocable, non-exclusive, non-sublicensable and non-transferable license to use the
59
+ software and/or any other technical means embedded in the Service within the scope and for the purposes of
60
+ million color and the Service offered.
61
+ This license does not grant Users any rights to access, usage or disclosure of the original source code. All
62
+ techniques, algorithms, and procedures contained in the software and any documentation thereto related is
63
+ the Owner’s or its licensors’ sole property.
64
+ </p>
65
+ <p class="p-0 my-3">
66
+ All rights and license grants to Users shall immediately terminate upon any termination or expiration of the
67
+ Agreement.
68
+ </p>
69
+ </p>
70
+ </div>
71
+ </section>
@@ -1,8 +1,9 @@
1
- <div class="col-lg-3 col-md-6 mb-4 card-group">
2
- <div class="card h-100" style="border-radius:16px" id="{{post.categories}}">
1
+ <div class="col-lg-4 col-md-6 mb-4">
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-3" style="border-radius: 25px; height: 180px"
5
- alt="not found">
4
+ <img src="{{ post.image }}" class="card-img-top p-0"
5
+ style="width:100%; border-radius: 3px; height: 180px;"
6
+ alt="{{post.url}}">
6
7
  </a>
7
8
  <div class="card-body">
8
9
  <a href="{{ post.url }}" class="anchor_link">
@@ -1,2 +1,3 @@
1
1
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"></script>
2
- <script src="/assets/js/thefrontendworld.js"></script>
2
+ <script src="/assets/js/thefrontendworld.js"></script>
3
+ <script src="{{ '/assets/js/TopScroll.js' | relative_url }}"></script>
@@ -1,3 +1,4 @@
1
+ {%- assign theme = site.data.theme.UI -%}
1
2
  <div class="alertbar" style="display: none;">
2
3
  <div class="container text-center">
3
4
  <span style="font-size: 15px;">{{site.data.blog.alertbar.span}}</span>
@@ -5,7 +6,7 @@
5
6
  <div class="mc-field-group">
6
7
  <input type="email" placeholder="Email" name="EMAIL" class="required email" id="mce-EMAIL"
7
8
  autocomplete="on" required="">
8
- <input type="submit" value="Subscribe" name="subscribe">
9
+ <input type="submit" style="background: {{theme.color}}; border: {{theme.color}}" value="Subscribe" name="subscribe">
9
10
  </div>
10
11
  </form>
11
12
  </div>
@@ -4,10 +4,10 @@
4
4
  <div class="row">
5
5
  {% for recent in site.posts offset:1 limit:3 %}
6
6
  {% if recent.url != page.url %}
7
- <div class="col-lg-4 col-md-6 mb-4 card-group">
7
+ <div class="col-lg-4 col-md-6 mb-5 card-group">
8
8
  <div class="card h-100">
9
9
  <a href="{{ recent.url }}">
10
- <img src="{{ recent.image }}" class="card-img-top" alt="" style="height: 180px">
10
+ <img src="{{ recent.image }}" class="card-img-top" alt="{{recent.url}}" style="width:100%; border-radius: 4px; height: 180px;">
11
11
  </a>
12
12
  <div class="card-body">
13
13
  <a class="text-decoration-none text-dark" href="{{ recent.url }}" class="anchor_link">
@@ -11,12 +11,12 @@
11
11
  {% if post.url != page.url %}
12
12
  {% if page.categories contains category %}
13
13
 
14
- <div class="col-lg-4 col-md-6 mb-4 card-group">
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="height: 150px; border-radius: 5px;"
19
- class="card-img-top" alt="">
17
+ <img src="{{ post.image }}"
18
+ style="width:100%; border-radius: 4px; height: 180px;"
19
+ class="card-img-top" alt="{{post.url}}">
20
20
  </a>
21
21
  <div class="card-body">
22
22
  <a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
data/_layouts/blog.html CHANGED
@@ -26,10 +26,11 @@
26
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
- <div class="card h-100" style="border-radius:16px" id="{{post.categories}}">
29
+ <div class="card h-100" id="{{post.categories}}">
30
30
  <a href="{{ post.url }}">
31
- <img src="{{ post.image }}" class="card-img-top p-3" style="border-radius: 25px; height: 180px;"
32
- alt="not found">
31
+ <img src="{{ post.image }}" class="card-img-top"
32
+ style="width:100%; border-radius: 3px; height: 180px;"
33
+ alt="{{post.url}}">
33
34
  </a>
34
35
  <div class="card-body">
35
36
  <a href="{{ post.url }}" class="anchor_link">
@@ -65,7 +66,7 @@
65
66
  </section>
66
67
 
67
68
  {%- include section/recent_posts.html -%}
68
- <!-- {% include section/faq.html %} -->
69
+ {% include section/alertbar.html %}
69
70
 
70
71
  {% include footer/index.html %}
71
72
 
data/_layouts/post.html CHANGED
@@ -70,6 +70,7 @@
70
70
  </div>
71
71
  </section>
72
72
  {%- include section/count.html -%}
73
+ {% include section/alertbar.html %}
73
74
 
74
75
  {%- include footer/index.html -%}
75
76
  {% include scripts.html %}
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ {% include custom-head.html %}
5
+
6
+ <body>
7
+ {%- include header/index.html -%}
8
+ <section class="section_post p-0">
9
+ <div class="container-fluid p-0 m-0">
10
+
11
+ <!-- categories post -->
12
+ <div class="main-content p-0">
13
+ {{content}}
14
+ </div>
15
+ <!-- close -->
16
+
17
+ {% include footer/index.html %}
18
+
19
+ {% include scripts.html %}
20
+ </body>
21
+
22
+ </html>
@@ -240,3 +240,66 @@ a:hover {
240
240
  padding-top: 75px;
241
241
  display: inline-block;
242
242
  }
243
+
244
+
245
+ /* BLOG-alertbar stlying */
246
+ .alertbar {
247
+ box-shadow: 0 -3px 10px 0 rgba(0,0,0,.11);
248
+ position: fixed;
249
+ bottom: 0;
250
+ left: 0;
251
+ background-color: #fff;
252
+ width: 100%;
253
+ padding: 14px 0;
254
+ z-index: 1;
255
+ form {
256
+ display: inline-block;
257
+ }
258
+
259
+ input[type='email'] {
260
+ font-size: 0.85rem;
261
+ padding: 3px 40px 3px 10px;
262
+ border-top-left-radius: 3px;
263
+ border-bottom-left-radius: 3px;
264
+ border: 1px solid #ddd;
265
+ border-right: 0;
266
+ margin-right: -10px;
267
+ height: 34px;
268
+ letter-spacing: 0.5px;
269
+ margin-left: 5px;
270
+ outline: 0;
271
+ } input[type='submit'] {
272
+ background-color: #1c9963;
273
+ border: 1px solid #1c9963;
274
+ color: #fff;
275
+ fill: #fff;
276
+ font-size: 12px;
277
+ border-radius: 0;
278
+ padding: 4px 10px;
279
+ border-top-right-radius: 3px;
280
+ border-bottom-right-radius: 3px;
281
+ font-weight: 600;
282
+ height: 34px;
283
+ letter-spacing: 0.5px;
284
+ cursor: pointer;
285
+ }
286
+ }
287
+ /* close */
288
+
289
+
290
+ /* TNC PP DS stylre */
291
+ .page-top-section{
292
+ background: #FF6060;
293
+ font-size: 16px;
294
+ padding-top: 250px;
295
+ padding-bottom: 40px;
296
+ }
297
+ .features-content{
298
+ padding: 120px 0;
299
+ font-size: 25px;
300
+ color: #50668f;
301
+ font-size: 16px;
302
+ font-weight: 400;
303
+ line-height: 30px;
304
+ }
305
+
@@ -0,0 +1,9 @@
1
+
2
+ const alertbar = document.querySelector('.alertbar')
3
+ window.addEventListener('scroll', () => {
4
+ if (pageYOffset > 200) {
5
+ alertbar.style.display = 'block'
6
+ } else {
7
+ alertbar.style.display = 'none'
8
+ }
9
+ })
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - manpreet-singh
@@ -59,6 +59,7 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - _data/blog/alertbar.yml
62
63
  - _data/blog/authors.yml
63
64
  - _data/blog/blog.yml
64
65
  - _data/blog/footer.json
@@ -73,6 +74,11 @@ files:
73
74
  - _includes/google-analytics.html
74
75
  - _includes/header/index.html
75
76
  - _includes/header/nav-menu.html
77
+ - _includes/pages/about.html
78
+ - _includes/pages/contact.html
79
+ - _includes/pages/dd.html
80
+ - _includes/pages/pp.html
81
+ - _includes/pages/tnc.html
76
82
  - _includes/pagination.html
77
83
  - _includes/paginationPostPage.html
78
84
  - _includes/postbox.html
@@ -86,6 +92,7 @@ files:
86
92
  - _layouts/blog.html
87
93
  - _layouts/categories.html
88
94
  - _layouts/post.html
95
+ - _layouts/staticPages.html
89
96
  - _sass/_main.scss
90
97
  - _sass/theme/_blog.scss
91
98
  - _sass/theme/_faq.scss
@@ -103,6 +110,7 @@ files:
103
110
  - assets/images/manpreet.png
104
111
  - assets/images/menu.png
105
112
  - assets/images/ram.png
113
+ - assets/js/TopScroll.js
106
114
  - assets/js/lazyload.js
107
115
  - assets/js/lunr.js
108
116
  - assets/js/lunrsearchengine.js