appscms-tools-theme 0.4.2 → 0.4.7
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 +4 -4
- data/LICENSE.txt +21 -21
- data/README.md +52 -52
- data/_data/{pages → about/en}/about.json +11 -7
- data/_data/blog/alertbar.yml +3 -3
- data/_data/blog/authors.yml +11 -11
- data/_data/blog/blog.yml +3 -3
- data/_data/blog/nav.json +13 -13
- data/_data/blog/share.yml +28 -29
- data/_data/contact/en/contact.json +40 -0
- data/_data/disclaimer/en/disclaimer.json +36 -0
- data/_data/feature/en/compress-pdf.json +142 -77
- data/_data/feature/en/split-pdf.json +143 -0
- data/_data/feature/hi/compress-pdf.json +81 -30
- data/_data/footer/en/data.json +84 -84
- data/_data/footer/hi/data.json +85 -0
- data/_data/header/en/data.json +144 -58
- data/_data/header/hi/data.json +137 -0
- data/_data/{pages → help/en}/help.json +6 -7
- data/_data/home/en/en.json +80 -0
- data/_data/home/{hi.json → hi/hi.json} +48 -31
- data/_data/languagesupport/compress-pdf-langs.json +12 -0
- data/_data/languagesupport/index-langs.json +12 -0
- data/_data/privacy/en/privacyPolicy.json +264 -0
- data/_data/termAndCondition/en/termAndCondition.json +357 -0
- data/_includes/author_bio.html +11 -11
- data/_includes/custom-head.html +29 -33
- data/_includes/disqus_comments.html +10 -10
- data/_includes/dropdown/langdropdown.html +22 -0
- data/_includes/footer/index.html +55 -75
- data/_includes/head/index.html +44 -48
- data/_includes/header/blogHeader.html +31 -31
- data/_includes/header/index.html +56 -33
- data/_includes/paginationBlogPage.html +34 -34
- data/_includes/paginationPostPage.html +14 -14
- data/_includes/postbox.html +37 -37
- data/_includes/script.html +11 -4
- data/_includes/section/alertbar.html +11 -11
- data/_includes/section/count.html +23 -23
- data/_includes/share/socialshare.html +22 -0
- data/_layouts/aboutUs.html +19 -24
- data/_layouts/blog.html +71 -75
- data/_layouts/categories.html +24 -24
- data/_layouts/contactUs.html +46 -23
- data/_layouts/default.html +1 -1
- data/_layouts/disclaimer.html +47 -0
- data/_layouts/feature.html +121 -138
- data/_layouts/help.html +20 -23
- data/_layouts/home.html +41 -45
- data/_layouts/page.html +5 -5
- data/_layouts/post.html +63 -68
- data/_layouts/privacyPolicy.html +48 -0
- data/_layouts/termAndCondition.html +46 -23
- data/assets/cross.svg +4 -4
- data/assets/css/blog.css +464 -464
- data/assets/css/tools.css +1426 -3052
- data/assets/facebook.svg +4 -4
- data/assets/instagram.svg +4 -4
- data/assets/js/TopScroll.js +8 -9
- data/assets/linkdin.svg +4 -4
- data/assets/pdf.svg +20 -20
- data/assets/star.svg +4 -4
- data/assets/twitter.svg +4 -4
- data/assets/youtube.svg +4 -4
- metadata +23 -15
- data/_data/head/en/data.json +0 -0
- data/_data/home/en.json +0 -48
- data/_data/pages/contact.json +0 -8
- data/_data/pages/termAndCondition.json +0 -8
- data/_includes/uploader/index.html +0 -69
data/_includes/author_bio.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<div class="wrapfooter">
|
|
2
|
-
<span class="author_image">
|
|
3
|
-
<img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}" id="author_img">
|
|
4
|
-
</span>
|
|
5
|
-
<span class="author-meta">
|
|
6
|
-
<span class="post-name">
|
|
7
|
-
<a class="postName" target="_blank" href="{{author.twitter}}">{{author.name}}</a>
|
|
8
|
-
<a class="btn_follow text-decoration-none" target="_blank" href="{{author.twitter}}">Follow</a>
|
|
9
|
-
</span><br>
|
|
10
|
-
<span class="author_bio">{{author.bio}}</span>
|
|
11
|
-
</span>
|
|
1
|
+
<div class="wrapfooter">
|
|
2
|
+
<span class="author_image">
|
|
3
|
+
<img class="author-thumb" src="{{ author.image }}" alt="{{ author.name }}" id="author_img">
|
|
4
|
+
</span>
|
|
5
|
+
<span class="author-meta">
|
|
6
|
+
<span class="post-name">
|
|
7
|
+
<a class="postName" target="_blank" href="{{author.twitter}}">{{author.name}}</a>
|
|
8
|
+
<a class="btn_follow text-decoration-none" target="_blank" href="{{author.twitter}}">Follow</a>
|
|
9
|
+
</span><br>
|
|
10
|
+
<span class="author_bio">{{author.bio}}</span>
|
|
11
|
+
</span>
|
|
12
12
|
</div>
|
data/_includes/custom-head.html
CHANGED
|
@@ -1,34 +1,30 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
|
|
3
|
-
{%- if seo_description -%}
|
|
4
|
-
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
|
|
5
|
-
{%- endif -%}
|
|
6
|
-
{%- if page.date -%}
|
|
7
|
-
{%- assign og_type = "article" -%}
|
|
8
|
-
{%- else -%}
|
|
9
|
-
{%- assign og_type = "website" -%}
|
|
10
|
-
{%- endif -%}
|
|
11
|
-
|
|
12
|
-
<meta
|
|
13
|
-
<meta name="
|
|
14
|
-
<meta name="
|
|
15
|
-
<meta name="description" content="{{ seo_description}}">
|
|
16
|
-
<meta
|
|
17
|
-
<meta property="og:
|
|
18
|
-
<meta property="og:
|
|
19
|
-
<meta property="og:
|
|
20
|
-
<meta property="og:
|
|
21
|
-
<meta
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<link href="https://
|
|
28
|
-
<link
|
|
29
|
-
|
|
30
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
|
|
31
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css">
|
|
32
|
-
<link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}">
|
|
33
|
-
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
|
|
1
|
+
<head>
|
|
2
|
+
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
|
|
3
|
+
{%- if seo_description -%}
|
|
4
|
+
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
|
|
5
|
+
{%- endif -%}
|
|
6
|
+
{%- if page.date -%}
|
|
7
|
+
{%- assign og_type = "article" -%}
|
|
8
|
+
{%- else -%}
|
|
9
|
+
{%- assign og_type = "website" -%}
|
|
10
|
+
{%- endif -%}
|
|
11
|
+
<meta charset="UTF-8">
|
|
12
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
13
|
+
<meta name="keywords" content="{{site.keyboard}}">
|
|
14
|
+
<meta name="description" content="{{ seo_description}}">
|
|
15
|
+
<meta name="og:description" content="{{ seo_description}}">
|
|
16
|
+
<meta property="og:title" content="{{ page.title | default: site.title }}">
|
|
17
|
+
<meta property="og:type" content="{{og_type}}">
|
|
18
|
+
<meta property="og:locale" content="en_US">
|
|
19
|
+
<meta property="og:site_name" content="{{site.name}}">
|
|
20
|
+
<meta property="og:url" content="{{site.url | append: page.url}}">
|
|
21
|
+
<meta name="author" content="{{ site.author_name }}">
|
|
22
|
+
<title>{{page.title}}</title>
|
|
23
|
+
<!-- fonts -->
|
|
24
|
+
<link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet">
|
|
25
|
+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
|
|
26
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
|
|
27
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css">
|
|
28
|
+
<link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}">
|
|
29
|
+
<script src="https://code.jquery.com/jquery-3.5.1.js"></script>
|
|
34
30
|
</head>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<div id="disqus_thread"></div>
|
|
2
|
-
<script>
|
|
3
|
-
(function () {
|
|
4
|
-
var d = document, s = d.createElement('script');
|
|
5
|
-
s.src = 'https://
|
|
6
|
-
s.setAttribute('data-timestamp', +new Date());
|
|
7
|
-
(d.head || d.body).appendChild(s);
|
|
8
|
-
})();
|
|
9
|
-
</script>
|
|
10
|
-
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
|
|
1
|
+
<div id="disqus_thread"></div>
|
|
2
|
+
<script>
|
|
3
|
+
(function () {
|
|
4
|
+
var d = document, s = d.createElement('script');
|
|
5
|
+
s.src = 'https://{{site.disqus.shortname}}.disqus.com/embed.js';
|
|
6
|
+
s.setAttribute('data-timestamp', +new Date());
|
|
7
|
+
(d.head || d.body).appendChild(s);
|
|
8
|
+
})();
|
|
9
|
+
</script>
|
|
10
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by
|
|
11
11
|
Disqus.</a></noscript>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{% assign file = page.fileName %}
|
|
2
|
+
{% assign lang = page.lang %}
|
|
3
|
+
{% assign folder = page.folderName %}
|
|
4
|
+
{% assign langData = site.data[folder][lang][file] %}
|
|
5
|
+
{%- assign langsupport = page.langsupport -%}
|
|
6
|
+
{%- assign variable = site.data.languagesupport[langsupport]-%}
|
|
7
|
+
{%- if variable.langsupport -%}
|
|
8
|
+
<div class="lang-dropdown">
|
|
9
|
+
<button class="btn btn-light dropdown-toggle lang-dropdown-btn" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-expanded="false">
|
|
10
|
+
{{langData.Language}}
|
|
11
|
+
</button>
|
|
12
|
+
<ul class="dropdown-menu drop-down-wrapper" aria-labelledby="dropdownMenu2">
|
|
13
|
+
{%- for item in variable.langsupport -%}
|
|
14
|
+
{%- if langData.Language == item.lang -%}
|
|
15
|
+
<a class="lang-dropdown-item py-1" style="background-color:rgba(149, 148, 151, 0.397);" class=".lang-dropdown-item" href="{{item.permalink}}">{{item.lang}}</a>
|
|
16
|
+
{%- else -%}
|
|
17
|
+
<a class="lang-dropdown-item py-1" href="{{item.permalink}}">{{item.lang}}</a>
|
|
18
|
+
{%- endif -%}
|
|
19
|
+
{%- endfor -%}
|
|
20
|
+
</ul>
|
|
21
|
+
</div>
|
|
22
|
+
{%- endif -%}
|
data/_includes/footer/index.html
CHANGED
|
@@ -1,76 +1,56 @@
|
|
|
1
|
-
<!-- Footer -->
|
|
2
|
-
{% assign lang = page.lang %}
|
|
3
|
-
{% assign dataToShow = site.data.footer[lang].data %}
|
|
4
|
-
<footer>
|
|
5
|
-
<div class="
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<div class="
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
<div class="sc-1fplln8-0 ffGyct">
|
|
59
|
-
<div class="bitun5-1 inueBp">
|
|
60
|
-
<div class="bitun5-0 NsBVV">
|
|
61
|
-
<div class="sc-1fplln8-1 ffOUGC">
|
|
62
|
-
<div class="sc-1fplln8-2 ffXrkL">{{dataToShow.messege}}
|
|
63
|
-
</div>
|
|
64
|
-
<div class="sc-1fplln8-3 fgfNOU">
|
|
65
|
-
<div class="sc-1fplln8-4 fgoktd"><a class="lqkt1b-0 fdItuc" href="/legal">Privacy &
|
|
66
|
-
Terms</a></div>
|
|
67
|
-
<div class="sc-1fplln8-4 fgoktd"><a class="lqkt1b-0 fdItuc" href="/contact">Contact Us</a></div>
|
|
68
|
-
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
</footer>
|
|
75
|
-
|
|
1
|
+
<!-- Footer -->
|
|
2
|
+
{% assign lang = page.lang %}
|
|
3
|
+
{% assign dataToShow = site.data.footer[lang].data %}
|
|
4
|
+
<footer class="footer">
|
|
5
|
+
<div class="container">
|
|
6
|
+
<div class="footer-wrapper">
|
|
7
|
+
{%- if dataToShow.logo -%}
|
|
8
|
+
<div class="footer-logo-cont"><img src="{{dataToShow.logo}}" title="logo"
|
|
9
|
+
class="footer-logo">
|
|
10
|
+
<div class="footer-title">{{dataToShow.heading}}</div>
|
|
11
|
+
</div>
|
|
12
|
+
{%- endif -%}
|
|
13
|
+
<nav class="footer-nav">
|
|
14
|
+
<ul class="footer-ul">
|
|
15
|
+
<h2 class="footer-ul-title">Company</h2>
|
|
16
|
+
{% for data in dataToShow.company %}
|
|
17
|
+
<a class="footer-link" href="{{data.url}}">{{data.name}}</a>
|
|
18
|
+
{% endfor %}
|
|
19
|
+
</ul>
|
|
20
|
+
<ul class="footer-ul">
|
|
21
|
+
<h2 class="footer-ul-title">Product</h2>
|
|
22
|
+
{% for data in dataToShow.product %}
|
|
23
|
+
<a class="footer-link" href="{{data.url}}">{{data.name}}</a>
|
|
24
|
+
{% endfor %}
|
|
25
|
+
</ul>
|
|
26
|
+
<ul class="footer-ul">
|
|
27
|
+
<h2 class="footer-ul-title">Network sites</h2>
|
|
28
|
+
{% for data in dataToShow.networkSites %}
|
|
29
|
+
<a class="footer-link" href="{{data.url}}">{{data.name}}</a>
|
|
30
|
+
{% endfor %}
|
|
31
|
+
</ul>
|
|
32
|
+
</nav>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="jKLUgT"></div>
|
|
35
|
+
<div class="d-flex py-4">
|
|
36
|
+
{% for data in dataToShow.social %}
|
|
37
|
+
<a class="cVpsCJ px-3" target="_blank" rel="noopener noreferrer"
|
|
38
|
+
href="{{data.url}}" title="LinkedIn">
|
|
39
|
+
<div class="sDfHB" style="width:24px;height:24px">
|
|
40
|
+
<img src="{{data.logo}}" title="{{data.title}}">
|
|
41
|
+
</div>
|
|
42
|
+
</a>
|
|
43
|
+
{% endfor %}
|
|
44
|
+
</div>
|
|
45
|
+
<div class="privacy-footer">
|
|
46
|
+
<div class="footer-msg">{{dataToShow.messege}}
|
|
47
|
+
</div>
|
|
48
|
+
<div class="privacy-links">
|
|
49
|
+
<div class="privacy-links-item"><a href="/legal">Privacy &
|
|
50
|
+
Terms</a></div>
|
|
51
|
+
<div class="privacy-links-item"><a href="/contact">Contact Us</a></div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</footer>
|
|
55
|
+
|
|
76
56
|
<!-- Footer End -->
|
data/_includes/head/index.html
CHANGED
|
@@ -1,49 +1,45 @@
|
|
|
1
|
-
<head>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<meta
|
|
10
|
-
|
|
11
|
-
<meta name="
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
|
|
23
|
-
<meta property="
|
|
24
|
-
<meta property="
|
|
25
|
-
<meta
|
|
26
|
-
<meta
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<link rel="preload" href="/build/95cf74e5f89f93cfd5f97d16fa673f05.svg" as=image>
|
|
46
|
-
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
|
|
47
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
|
|
48
|
-
<link rel="stylesheet" href="/assets/css/tools.css">
|
|
1
|
+
<head>
|
|
2
|
+
{% assign file = page.fileName %}
|
|
3
|
+
{% assign lang = page.lang %}
|
|
4
|
+
{% assign dataArr = site.data.[page.folderName][lang][file] %}
|
|
5
|
+
{% assign dataToShow = dataArr %}
|
|
6
|
+
{% assign title = dataToShow.TITLE | replace:"$variable", page.value | default: site.title %}
|
|
7
|
+
{% assign description = dataToShow.META | replace:"$variable", page.value | default: site.description %}
|
|
8
|
+
{% assign favicon = site.favicon %}
|
|
9
|
+
<meta charset="utf-8">
|
|
10
|
+
<link rel="shortcut icon" href="{{favicon}}">
|
|
11
|
+
<meta name="viewport" content="width=device-width">
|
|
12
|
+
<title>{{title}}</title>
|
|
13
|
+
<meta name="description" content="{{description}}">
|
|
14
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
|
|
15
|
+
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
|
|
16
|
+
<link rel="canonical" href="{{site.url}}">
|
|
17
|
+
<meta data-rh="true" property="og:image" content="{{site.url}}/{{favicon}}">
|
|
18
|
+
<meta property="og:title" content="{{title}}">
|
|
19
|
+
<meta property="og:description" content="{{description}}">
|
|
20
|
+
<meta property="og:type" content="website">
|
|
21
|
+
<meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}">
|
|
22
|
+
<meta data-rh="true" property="og:site_name" content="{{site.name}}">
|
|
23
|
+
<meta data-rh="true" property="twitter:domain" content="{{site.url}}">
|
|
24
|
+
<meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}">
|
|
25
|
+
<meta data-rh="true" name="twitter:title" content="{{title}}">
|
|
26
|
+
<meta data-rh="true" name="twitter:description" content="{{description}}">
|
|
27
|
+
<meta data-rh="true" name="twitter:image:src" content="{{site.url}}/{{favicon}}">
|
|
28
|
+
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
|
|
29
|
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
|
|
30
|
+
<link rel="stylesheet" href="/assets/css/tools.css">
|
|
31
|
+
<script type="application/ld+json">
|
|
32
|
+
{"@context": "https://schema.org","@graph": [{{dataToShow.StructuredDataorganization | replace: "=>",":" }},
|
|
33
|
+
{%- if dataToShow.StructuredDataBreadcrumb | replace: "=>",":" -%}
|
|
34
|
+
{{dataToShow.StructuredDataBreadcrumb | replace: "=>",":" | append: ',' }}
|
|
35
|
+
{%- endif -%}
|
|
36
|
+
{%- if dataToShow.StructuredDataFaq -%}
|
|
37
|
+
{{dataToShow.StructuredDataFaq | replace: "=>",":" | append: ',' }}
|
|
38
|
+
{%- endif -%}
|
|
39
|
+
{%- if dataToShow.StructuredDataHowTo -%}
|
|
40
|
+
{{dataToShow.StructuredDataHowTo | replace: "=>",":" }}
|
|
41
|
+
{%- endif -%}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
</script>
|
|
49
45
|
</head>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<!-- header starts -->
|
|
2
|
-
<header id="header">
|
|
3
|
-
<!-- navigation startss -->
|
|
4
|
-
<nav class="navbar navbar-expand-lg navbar-dark bg-light">
|
|
5
|
-
{%- assign navbar = site.data.blog.nav -%}
|
|
6
|
-
{% if navbar.navbarBrandText != "" %}
|
|
7
|
-
<a class="navbar-brand" href="/" title="{{navbar.navbarBrandText}}">{{navbar.navbarBrandText}}</a>
|
|
8
|
-
|
|
9
|
-
{% else %}
|
|
10
|
-
<a href="/">
|
|
11
|
-
<img src="{{navbar.navbarBrandLogo}}" alt="{{navbar.navbarBrandLogo}}" class="navbar-brand-image">
|
|
12
|
-
|
|
13
|
-
</a>
|
|
14
|
-
{% endif %}
|
|
15
|
-
|
|
16
|
-
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
|
|
17
|
-
<i class="fas fa-bars fa-2x" style="color:#000"></i>
|
|
18
|
-
</button>
|
|
19
|
-
|
|
20
|
-
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
21
|
-
<ul class="navbar-nav ml-auto">
|
|
22
|
-
{%- for item in site.data.blog.nav.navItems -%}
|
|
23
|
-
<li class="nav-item">
|
|
24
|
-
<a class="nav-link" href="/{{item.url}}">{{item.name}}</a>
|
|
25
|
-
</li>
|
|
26
|
-
{% endfor %}
|
|
27
|
-
</ul>
|
|
28
|
-
</div>
|
|
29
|
-
</nav>
|
|
30
|
-
<!-- navbar close -->
|
|
31
|
-
</header>
|
|
1
|
+
<!-- header starts -->
|
|
2
|
+
<header id="header">
|
|
3
|
+
<!-- navigation startss -->
|
|
4
|
+
<nav class="navbar navbar-expand-lg navbar-dark bg-light mx-xl-4 py-3">
|
|
5
|
+
{%- assign navbar = site.data.blog.nav -%}
|
|
6
|
+
{% if navbar.navbarBrandText != "" %}
|
|
7
|
+
<a class="navbar-brand" href="/" title="{{navbar.navbarBrandText}}">{{navbar.navbarBrandText}}</a>
|
|
8
|
+
|
|
9
|
+
{% else %}
|
|
10
|
+
<a href="/">
|
|
11
|
+
<img src="{{navbar.navbarBrandLogo}}" alt="{{navbar.navbarBrandLogo}}" class="navbar-brand-image">
|
|
12
|
+
|
|
13
|
+
</a>
|
|
14
|
+
{% endif %}
|
|
15
|
+
|
|
16
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
|
|
17
|
+
<i class="fas fa-bars fa-2x" style="color:#000"></i>
|
|
18
|
+
</button>
|
|
19
|
+
|
|
20
|
+
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
21
|
+
<ul class="navbar-nav ml-auto">
|
|
22
|
+
{%- for item in site.data.blog.nav.navItems -%}
|
|
23
|
+
<li class="nav-item">
|
|
24
|
+
<a class="nav-link" href="/{{item.url}}">{{item.name}}</a>
|
|
25
|
+
</li>
|
|
26
|
+
{% endfor %}
|
|
27
|
+
</ul>
|
|
28
|
+
</div>
|
|
29
|
+
</nav>
|
|
30
|
+
<!-- navbar close -->
|
|
31
|
+
</header>
|
|
32
32
|
<!-- header close -->
|
data/_includes/header/index.html
CHANGED
|
@@ -1,34 +1,57 @@
|
|
|
1
|
-
{% assign lang = page.lang %}
|
|
2
|
-
{% assign dataToShow = site.data.header[lang].data %}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<nav class="navbar navbar-expand-lg">
|
|
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
|
-
|
|
1
|
+
{% assign lang = page.lang %}
|
|
2
|
+
{% assign dataToShow = site.data.header[lang].data %}
|
|
3
|
+
<!-- Header -->
|
|
4
|
+
<header class="nav-header">
|
|
5
|
+
|
|
6
|
+
<nav class="navbar navbar-expand-lg py-3 px-sm-2">
|
|
7
|
+
<div class="container px-0">
|
|
8
|
+
{% if dataToShow.navbarBrandText != "" %}
|
|
9
|
+
<a class="navbar-brand" href="/" title="{{dataToShow.navbarBrandText}}">{{dataToShow.navbarBrandText}}</a>
|
|
10
|
+
{% else %}
|
|
11
|
+
<a href="/">
|
|
12
|
+
<img class="logo-height" src="{{ dataToShow.navbarBrandLogo }}"
|
|
13
|
+
alt="{{ dataToShow.navbarBrandLogo }}">
|
|
14
|
+
</a>
|
|
15
|
+
{% endif %}
|
|
16
|
+
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
|
|
17
|
+
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
18
|
+
<i class="fa fa-bars fa_bars" aria-hidden="true"></i>
|
|
19
|
+
</button>
|
|
20
|
+
|
|
21
|
+
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
22
|
+
{%- if dataToShow.megaMenu -%}
|
|
23
|
+
<li class="nav-item nav__item">
|
|
24
|
+
<a class="dropdown-toggle ml-lg-5" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
25
|
+
{{dataToShow.megaMenu.nav-link-name}}
|
|
26
|
+
</a>
|
|
27
|
+
<ul class="dropmenu dropdown-menu" aria-labelledby="navbarDropdown">
|
|
28
|
+
<div class="inner-dropdown">
|
|
29
|
+
{%- for item in dataToShow.megaMenu.dropdown -%}
|
|
30
|
+
<div class="catPad mb-4">
|
|
31
|
+
<li class="text-muted">{{item.categoryName}}</li>
|
|
32
|
+
<div> {%- for item in item.links -%}
|
|
33
|
+
<li>
|
|
34
|
+
<a href="{{item.url}}"><img class="d-inline mr-2" style="height:20px;width:20px;" src="{{item.iconSrc}}">{{item.name}}</li></a>
|
|
35
|
+
{%- endfor -%}
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
{%- endfor -%}
|
|
39
|
+
</div>
|
|
40
|
+
</ul>
|
|
41
|
+
</li>
|
|
42
|
+
{%- endif -%}
|
|
43
|
+
<ul class="navbar-nav mr-auto ">
|
|
44
|
+
{% for item in dataToShow.navItems %}
|
|
45
|
+
<li class="nav-item nav__item">
|
|
46
|
+
<a href="{{item.url}}">{{item.name}}</a>
|
|
47
|
+
</li>
|
|
48
|
+
{% endfor %}
|
|
49
|
+
</ul>
|
|
50
|
+
</nav>
|
|
51
|
+
</div>
|
|
52
|
+
</nav>
|
|
53
|
+
</div>
|
|
54
|
+
</header>
|
|
55
|
+
|
|
56
|
+
|
|
34
57
|
<!-- Header End -->
|