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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cae4167e1b77d46aacca3f83d46e7d9e550d6b4856272446799de7a514228a2
4
- data.tar.gz: 75b98335bd400b072f8e4523e59eacea1d2117d16e5505675246b48705feede5
3
+ metadata.gz: 57635fc22e6dc7168cb704a898231096d26ded62c430d2833526911bb33cd763
4
+ data.tar.gz: 7ac877317df53648417a843c44150b59820a3492c087a0bed39211d5840bd10c
5
5
  SHA512:
6
- metadata.gz: 1302b1460a2ebb4bf89a841439c87b7409f4749a56a4128520859564165f75f388805537bb41ed3242d5c9f4dbfab91a63477dd8a6eefce50303db7532297599
7
- data.tar.gz: 673716f41d7bf2ebf99774572324f5d600c1604e327a97a6d9ccc7d624468c6665011a12a35171ffb549e8305896613109ad4e3f9da56ab6323e1a7f6b77c680
6
+ metadata.gz: b90b97f6987142a2931497f18be3b7b0ef685c79f8696cad6138220f6cf65bdd9f004790a0648e688effeca870277068be628f01f7f37c46af85b51176431b49
7
+ data.tar.gz: b91738116a67266ec260151ff70a44048e37cf260a57d9bd8ea13ffa69bc7db930576cd39158d729b0f2ab8f24fe837aed892b9c657a75a8707b29f0412d83b1
@@ -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,5 @@
1
1
  {
2
- "color": "#0F0E15"
2
+ "headerColor": "#0F0E15",
3
+ "color": "#0F0E15",
4
+ "staticPagesColor": "rgba(0,0,0,0.2)"
3
5
  }
@@ -1,55 +1,97 @@
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>
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
- <meta name="subject" content="Education">
34
- <meta name="copyright" content="{{site.url}}">
35
- <meta name="identifier-URL" content="{{site.url}}">
36
- <meta name="designer" content="{{site.designer}}">
37
- <meta name="author" content="{{ site.author_name }}">
38
-
39
-
40
- <!-- Favicon-->
41
- <link rel="shortcut icon" href="{{ favicon | relative_url }}">
42
-
43
- <!-- fonts -->
44
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet">
45
- <link rel="stylesheet" href="{{ 'assets/css/main.css' | relative_url }}">
46
-
47
- <!-- add fontAwesome -->
48
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
49
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
50
- <script src="https://code.jquery.com/jquery-3.5.1.js"></script>
51
-
52
-
53
- <meta name="google-site-verification" content="{{site.google_site_verification}}" />
54
- {% include google-analytics.html %}
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>
@@ -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>
@@ -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 %}
@@ -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>