blogging-site-theme 0.1 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/blog/alertbar.yml +3 -0
- data/_data/blog/footer.json +58 -54
- data/_data/theme/UI.json +3 -1
- data/_includes/custom-head.html +95 -53
- data/_includes/footer/index.html +65 -23
- data/_includes/header/index.html +1 -1
- data/_includes/pages/about.html +66 -0
- data/_includes/pages/contact.html +44 -0
- data/_includes/pages/dd.html +33 -0
- data/_includes/pages/pp.html +34 -0
- data/_includes/pages/tnc.html +71 -0
- data/_includes/postbox.html +4 -4
- data/_includes/scripts.html +2 -1
- data/_includes/section/alertbar.html +3 -1
- data/_includes/section/recent_posts.html +36 -35
- data/_includes/section/related_post.html +5 -6
- data/_layouts/blog.html +5 -4
- data/_layouts/post.html +1 -0
- data/_layouts/staticPages.html +22 -0
- data/_sass/theme/_blog.scss +63 -0
- data/assets/js/TopScroll.js +9 -0
- data/readme.md +116 -104
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57635fc22e6dc7168cb704a898231096d26ded62c430d2833526911bb33cd763
|
4
|
+
data.tar.gz: 7ac877317df53648417a843c44150b59820a3492c087a0bed39211d5840bd10c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b90b97f6987142a2931497f18be3b7b0ef685c79f8696cad6138220f6cf65bdd9f004790a0648e688effeca870277068be628f01f7f37c46af85b51176431b49
|
7
|
+
data.tar.gz: b91738116a67266ec260151ff70a44048e37cf260a57d9bd8ea13ffa69bc7db930576cd39158d729b0f2ab8f24fe837aed892b9c657a75a8707b29f0412d83b1
|
data/_data/blog/footer.json
CHANGED
@@ -1,59 +1,63 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
"
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
"name": "
|
16
|
-
"url":"/"
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
"
|
33
|
-
"
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
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
data/_includes/custom-head.html
CHANGED
@@ -1,55 +1,97 @@
|
|
1
1
|
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
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>
|
55
97
|
</head>
|
data/_includes/footer/index.html
CHANGED
@@ -1,51 +1,93 @@
|
|
1
|
-
{%- assign
|
2
|
-
{%- assign
|
3
|
-
|
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-
|
21
|
+
<div class="col-md-11 mx-auto footer_Media">
|
6
22
|
<div class="row d-flex justify-content-between">
|
7
|
-
|
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
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
15
|
-
|
49
|
+
|
50
|
+
|
16
51
|
<div class="col-md-4">
|
17
52
|
<p class="footer_subheading">Feedback</p>
|
18
|
-
<p> Share your expierence with
|
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
|
58
|
+
<a href="#">
|
24
59
|
<button class="my_btn mt-3" value="Enter Your Email"
|
25
|
-
style="background-color:{{
|
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:{{
|
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
|
-
|
39
|
-
|
40
|
-
|
74
|
+
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
</div>
|
41
78
|
</div>
|
42
|
-
|
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
|
-
|
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>
|
data/_includes/header/index.html
CHANGED
@@ -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.
|
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 %}
|
@@ -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
|
+
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: </strong>
|
53
|
+
</span>
|
54
|
+
<a href='mailto: {{site.email}}'>{{site.email}}</a>
|
55
|
+
<br />
|
56
|
+
<span>
|
57
|
+
<strong>Instagram: </strong>
|
58
|
+
</span>
|
59
|
+
<a
|
60
|
+
href='{{site.instagram_username}}'
|
61
|
+
target='_blank'
|
62
|
+
>
|
63
|
+
{{site.instagram_username}}
|
64
|
+
</a>
|
65
|
+
</div>
|
66
|
+
</section>
|