appscms-tools-theme 1.3.5 → 1.3.6
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 +50 -50
- data/_data/about/en/about.json +16 -16
- 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 -28
- data/_data/contact/en/contact.json +38 -38
- data/_data/disclaimer/en/disclaimer.json +37 -37
- data/_data/download/en/download.json +35 -35
- data/_data/feature/en/compress-pdf.json +191 -191
- data/_data/feature/en/split-pdf.json +115 -115
- data/_data/feature/hi/compress-pdf.json +81 -81
- data/_data/fileinfo/en/fileinfo.json +14 -14
- data/_data/files/.gitignore +4 -4
- data/_data/files/en/3gp.json +144 -144
- data/_data/files/en/acc.json +25 -25
- data/_data/files/en/aff.json +65 -65
- data/_data/files/en/cr2.json +169 -169
- data/_data/files/en/dvd.json +25 -25
- data/_data/files/en/mov.json +146 -146
- data/_data/files/en/ogg.json +163 -163
- data/_data/files/en/vmv.json +47 -47
- data/_data/footer/en/data.json +72 -72
- data/_data/footer/hi/data.json +68 -68
- data/_data/footer/networksites.json +15 -15
- data/_data/header/en/data.json +135 -144
- data/_data/header/hi/data.json +144 -144
- data/_data/home/en/en.json +274 -270
- data/_data/home/hi/hi.json +86 -86
- data/_data/languagesupport/compress-pdf-langs.json +11 -11
- data/_data/languagesupport/index-langs.json +13 -13
- data/_data/privacy/en/privacyPolicy.json +265 -265
- data/_data/termAndCondition/en/termAndCondition.json +358 -358
- data/_includes/Rating/rating.html +91 -91
- data/_includes/Rating/structureddata.html +53 -53
- data/_includes/Usp/usp.html +84 -84
- data/_includes/adsense/adsense.html +7 -7
- data/_includes/author_bio.html +15 -15
- data/_includes/authors/authors.html +27 -27
- data/_includes/cssfile/links.html +13 -13
- data/_includes/custom-head.html +41 -41
- data/_includes/disqus_comments.html +10 -10
- data/_includes/dropdown/langdropdown.html +22 -22
- data/_includes/feature.html +35 -35
- data/_includes/fileformat/comparisonfiles.html +145 -145
- data/_includes/fileformat/fileformatdetail.html +99 -99
- data/_includes/fileformat/fileinfoformat.html +94 -91
- data/_includes/footer/index.html +179 -100
- data/_includes/google-analytics.html +22 -22
- data/_includes/head/index.html +159 -159
- data/_includes/header/blogHeader.html +28 -28
- data/_includes/header/index.html +92 -92
- data/_includes/nofiletransfer/nofiletransfer.html +38 -38
- data/_includes/paginationBlogPage.html +34 -34
- data/_includes/paginationPostPage.html +14 -14
- data/_includes/postauthorbio.html +17 -17
- data/_includes/postbox.html +29 -29
- data/_includes/script.html +15 -15
- data/_includes/section/alertbar.html +11 -11
- data/_includes/section/count.html +23 -23
- data/_includes/section/recent_posts.html +42 -42
- data/_includes/section/related_categories_post.html +158 -158
- data/_includes/share/socialshare.html +50 -50
- data/_layouts/aboutUs.html +22 -22
- data/_layouts/blog.html +66 -66
- data/_layouts/categories.html +25 -25
- data/_layouts/contactUs.html +22 -22
- data/_layouts/default.html +1 -1
- data/_layouts/disclaimer.html +35 -35
- data/_layouts/download.html +243 -243
- data/_layouts/feature.html +151 -151
- data/_layouts/fileInfo.html +37 -37
- data/_layouts/help.html +22 -22
- data/_layouts/home.html +161 -152
- data/_layouts/page.html +5 -5
- data/_layouts/post.html +134 -135
- data/_layouts/privacyPolicy.html +400 -400
- data/_layouts/termAndCondition.html +401 -401
- data/assets/cross.svg +4 -4
- data/assets/css/blog.css +491 -491
- data/assets/css/tools.css +1799 -1805
- data/assets/facebook.svg +4 -4
- data/assets/instagram.svg +4 -4
- data/assets/js/TopScroll.js +8 -8
- data/assets/js/googledrive.js +153 -153
- data/assets/js/manifest.json +16 -16
- data/assets/js/multiselect.js +155 -155
- data/assets/linkdin.svg +4 -4
- data/assets/pdf.svg +20 -20
- data/assets/secure.svg +43 -43
- data/assets/star.svg +4 -4
- data/assets/twitter.svg +4 -4
- data/assets/youtube.svg +4 -4
- metadata +7 -7
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
<div class="container">
|
|
2
|
-
<div class="relatedPosts">
|
|
3
|
-
|
|
4
|
-
<h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
{% assign maxRelated = 6 %}
|
|
9
|
-
{% assign minCommonTags = 1 %}
|
|
10
|
-
{% assign maxRelatedCounter = 0 %}
|
|
11
|
-
|
|
12
|
-
<div class="row">
|
|
13
|
-
{% for post in site.posts %}
|
|
14
|
-
{% assign sameTagCount = 0 %}
|
|
15
|
-
{% assign commonTags = '' %}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
{%- if page.categories-%}
|
|
19
|
-
{% for category in post.categories %}
|
|
20
|
-
{% if post.url != page.url %}
|
|
21
|
-
{% if page.categories contains category %}
|
|
22
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
23
|
-
{% endif %}
|
|
24
|
-
{% endif %}
|
|
25
|
-
{% endfor %}
|
|
26
|
-
{%- endif -%}
|
|
27
|
-
|
|
28
|
-
{%- if page.tags -%}
|
|
29
|
-
{% for tag in post.tags %}
|
|
30
|
-
{% if post.url != page.url %}
|
|
31
|
-
{% if page.tags contains tag %}
|
|
32
|
-
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
33
|
-
{% endif %}
|
|
34
|
-
{%- endif -%}
|
|
35
|
-
{% endfor %}
|
|
36
|
-
{%- endif -%}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
{% if sameTagCount >= minCommonTags %}
|
|
40
|
-
{%- include authors/authors.html-%}
|
|
41
|
-
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
|
42
|
-
<div class="card h-100">
|
|
43
|
-
<a href="{{ post.url }}">
|
|
44
|
-
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
|
|
45
|
-
alt="">
|
|
46
|
-
</a>
|
|
47
|
-
<div class="card-body">
|
|
48
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
|
49
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
50
|
-
</a>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="card-footer bg-white">
|
|
53
|
-
<div class="wrapfooter">
|
|
54
|
-
{% if post.author %}
|
|
55
|
-
<span class="meta-footer-thumb">
|
|
56
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
|
57
|
-
</span>
|
|
58
|
-
{% endif %}
|
|
59
|
-
|
|
60
|
-
<span class="author-meta">
|
|
61
|
-
<span class="post-name">
|
|
62
|
-
<a target="_blank" href="/blog">{{authorName}}</a>
|
|
63
|
-
</span><br>
|
|
64
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
65
|
-
</span>
|
|
66
|
-
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
|
67
|
-
title="Read Story">Read
|
|
68
|
-
More</a></span>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
|
74
|
-
{% if maxRelatedCounter >= maxRelated %}
|
|
75
|
-
{% break %}
|
|
76
|
-
{% endif %}
|
|
77
|
-
{%- else -%}
|
|
78
|
-
{%- endif -%}
|
|
79
|
-
{% endfor %}
|
|
80
|
-
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
{%- if remamingPosts > 0 -%}
|
|
86
|
-
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
87
|
-
{% for post in posts %}
|
|
88
|
-
{%- if remamingPosts > 0 -%}
|
|
89
|
-
{%- assign tagData = true -%}
|
|
90
|
-
{%- assign catData = true -%}
|
|
91
|
-
{%- if page.tags -%}
|
|
92
|
-
{% for tag in post.tags %}
|
|
93
|
-
{% if post.url != page.url %}
|
|
94
|
-
{% if page.tags contains tag %}
|
|
95
|
-
{%- assign tagData = false -%}
|
|
96
|
-
{%- break -%}
|
|
97
|
-
{% endif %}
|
|
98
|
-
{%- endif -%}
|
|
99
|
-
{% endfor %}
|
|
100
|
-
{%- endif -%}
|
|
101
|
-
{%- if page.categories-%}
|
|
102
|
-
{%- if tagData == false -%}
|
|
103
|
-
{%- continue -%}
|
|
104
|
-
{%- else -%}
|
|
105
|
-
{% for category in post.categories %}
|
|
106
|
-
{% if post.url != page.url %}
|
|
107
|
-
{% if page.categories contains category %}
|
|
108
|
-
{%- assign catData = false -%}
|
|
109
|
-
{%- break -%}
|
|
110
|
-
{% endif %}
|
|
111
|
-
{% endif %}
|
|
112
|
-
{% endfor %}
|
|
113
|
-
{%- endif -%}
|
|
114
|
-
{%- if catData == false -%}
|
|
115
|
-
{%- continue -%}
|
|
116
|
-
{%- endif -%}
|
|
117
|
-
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
|
118
|
-
{%- include authors/authors.html-%}
|
|
119
|
-
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
|
120
|
-
<div class="card h-100">
|
|
121
|
-
<a href="{{ post.url }}">
|
|
122
|
-
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
|
123
|
-
alt="">
|
|
124
|
-
</a>
|
|
125
|
-
<div class="card-body">
|
|
126
|
-
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
|
127
|
-
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
128
|
-
</a>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="card-footer bg-white">
|
|
131
|
-
<div class="wrapfooter">
|
|
132
|
-
{% if post.author %}
|
|
133
|
-
<span class="meta-footer-thumb">
|
|
134
|
-
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
|
135
|
-
</span>
|
|
136
|
-
{% endif %}
|
|
137
|
-
<span class="author-meta">
|
|
138
|
-
<span class="post-name">
|
|
139
|
-
<a target="_blank" href="/blog">{{authorName}}</a>
|
|
140
|
-
</span><br>
|
|
141
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
142
|
-
</span>
|
|
143
|
-
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
|
144
|
-
title="Read Story">Read
|
|
145
|
-
More</a></span>
|
|
146
|
-
</div>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
{%- endif -%}
|
|
151
|
-
{%- endif -%}
|
|
152
|
-
|
|
153
|
-
{% endfor %}
|
|
154
|
-
{%- endif -%}
|
|
155
|
-
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
1
|
+
<div class="container">
|
|
2
|
+
<div class="relatedPosts">
|
|
3
|
+
|
|
4
|
+
<h2 class="pt-5 pb-0 related_post_heading">You might also like</h2>
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
{% assign maxRelated = 6 %}
|
|
9
|
+
{% assign minCommonTags = 1 %}
|
|
10
|
+
{% assign maxRelatedCounter = 0 %}
|
|
11
|
+
|
|
12
|
+
<div class="row">
|
|
13
|
+
{% for post in site.posts %}
|
|
14
|
+
{% assign sameTagCount = 0 %}
|
|
15
|
+
{% assign commonTags = '' %}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
{%- if page.categories-%}
|
|
19
|
+
{% for category in post.categories %}
|
|
20
|
+
{% if post.url != page.url %}
|
|
21
|
+
{% if page.categories contains category %}
|
|
22
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
23
|
+
{% endif %}
|
|
24
|
+
{% endif %}
|
|
25
|
+
{% endfor %}
|
|
26
|
+
{%- endif -%}
|
|
27
|
+
|
|
28
|
+
{%- if page.tags -%}
|
|
29
|
+
{% for tag in post.tags %}
|
|
30
|
+
{% if post.url != page.url %}
|
|
31
|
+
{% if page.tags contains tag %}
|
|
32
|
+
{% assign sameTagCount = sameTagCount | plus: 1 %}
|
|
33
|
+
{% endif %}
|
|
34
|
+
{%- endif -%}
|
|
35
|
+
{% endfor %}
|
|
36
|
+
{%- endif -%}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
{% if sameTagCount >= minCommonTags %}
|
|
40
|
+
{%- include authors/authors.html-%}
|
|
41
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
|
42
|
+
<div class="card h-100">
|
|
43
|
+
<a href="{{ post.url }}">
|
|
44
|
+
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
|
|
45
|
+
alt="">
|
|
46
|
+
</a>
|
|
47
|
+
<div class="card-body">
|
|
48
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
|
49
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
50
|
+
</a>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="card-footer bg-white">
|
|
53
|
+
<div class="wrapfooter">
|
|
54
|
+
{% if post.author %}
|
|
55
|
+
<span class="meta-footer-thumb">
|
|
56
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
|
57
|
+
</span>
|
|
58
|
+
{% endif %}
|
|
59
|
+
|
|
60
|
+
<span class="author-meta">
|
|
61
|
+
<span class="post-name">
|
|
62
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
|
63
|
+
</span><br>
|
|
64
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
65
|
+
</span>
|
|
66
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
|
67
|
+
title="Read Story">Read
|
|
68
|
+
More</a></span>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
{% assign maxRelatedCounter = maxRelatedCounter | plus: 1 %}
|
|
74
|
+
{% if maxRelatedCounter >= maxRelated %}
|
|
75
|
+
{% break %}
|
|
76
|
+
{% endif %}
|
|
77
|
+
{%- else -%}
|
|
78
|
+
{%- endif -%}
|
|
79
|
+
{% endfor %}
|
|
80
|
+
{%- assign remamingPosts = maxRelated | minus: maxRelatedCounter -%}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
{%- if remamingPosts > 0 -%}
|
|
86
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
|
|
87
|
+
{% for post in posts %}
|
|
88
|
+
{%- if remamingPosts > 0 -%}
|
|
89
|
+
{%- assign tagData = true -%}
|
|
90
|
+
{%- assign catData = true -%}
|
|
91
|
+
{%- if page.tags -%}
|
|
92
|
+
{% for tag in post.tags %}
|
|
93
|
+
{% if post.url != page.url %}
|
|
94
|
+
{% if page.tags contains tag %}
|
|
95
|
+
{%- assign tagData = false -%}
|
|
96
|
+
{%- break -%}
|
|
97
|
+
{% endif %}
|
|
98
|
+
{%- endif -%}
|
|
99
|
+
{% endfor %}
|
|
100
|
+
{%- endif -%}
|
|
101
|
+
{%- if page.categories-%}
|
|
102
|
+
{%- if tagData == false -%}
|
|
103
|
+
{%- continue -%}
|
|
104
|
+
{%- else -%}
|
|
105
|
+
{% for category in post.categories %}
|
|
106
|
+
{% if post.url != page.url %}
|
|
107
|
+
{% if page.categories contains category %}
|
|
108
|
+
{%- assign catData = false -%}
|
|
109
|
+
{%- break -%}
|
|
110
|
+
{% endif %}
|
|
111
|
+
{% endif %}
|
|
112
|
+
{% endfor %}
|
|
113
|
+
{%- endif -%}
|
|
114
|
+
{%- if catData == false -%}
|
|
115
|
+
{%- continue -%}
|
|
116
|
+
{%- endif -%}
|
|
117
|
+
{%- assign remamingPosts = remamingPosts | minus: 1 -%}
|
|
118
|
+
{%- include authors/authors.html-%}
|
|
119
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
|
120
|
+
<div class="card h-100">
|
|
121
|
+
<a href="{{ post.url }}">
|
|
122
|
+
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
|
123
|
+
alt="">
|
|
124
|
+
</a>
|
|
125
|
+
<div class="card-body">
|
|
126
|
+
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
|
127
|
+
<h4 class="card-title mb-4 text-left">{{ post.title }}</h4>
|
|
128
|
+
</a>
|
|
129
|
+
</div>
|
|
130
|
+
<div class="card-footer bg-white">
|
|
131
|
+
<div class="wrapfooter">
|
|
132
|
+
{% if post.author %}
|
|
133
|
+
<span class="meta-footer-thumb">
|
|
134
|
+
<img class="author-thumb" loading="lazy" src="{{image}}" alt="{{ authorName }}">
|
|
135
|
+
</span>
|
|
136
|
+
{% endif %}
|
|
137
|
+
<span class="author-meta">
|
|
138
|
+
<span class="post-name">
|
|
139
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
|
140
|
+
</span><br>
|
|
141
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
142
|
+
</span>
|
|
143
|
+
<span class="post-read-more"><a class="text-dark" href="{{ post.url }}"
|
|
144
|
+
title="Read Story">Read
|
|
145
|
+
More</a></span>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
{%- endif -%}
|
|
151
|
+
{%- endif -%}
|
|
152
|
+
|
|
153
|
+
{% endfor %}
|
|
154
|
+
{%- endif -%}
|
|
155
|
+
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
{% assign file = page.fileName %}
|
|
2
|
-
{% assign folder = page.folderName %}
|
|
3
|
-
{% assign lang = page.lang %}
|
|
4
|
-
{% assign shareData=site.data[folder][lang][file] %}
|
|
5
|
-
{%- if site.data.blog.share.platforms -%}
|
|
6
|
-
<div class="social-icons">
|
|
7
|
-
{% assign url = page.url | relative_url | prepend: site.url %}
|
|
8
|
-
{% for share in site.data.blog.share.platforms %}
|
|
9
|
-
{% assign link = share.link | replace: 'URL', url %}
|
|
10
|
-
{{page.title}}
|
|
11
|
-
<a id="{{share.type}}" href="{{ link }}" data-toggle="tooltip"
|
|
12
|
-
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
|
13
|
-
data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
|
|
14
|
-
<i class="fa-fw {{ share.icon }} mb-0 py-3"></i>
|
|
15
|
-
</a>
|
|
16
|
-
|
|
17
|
-
{% endfor %}
|
|
18
|
-
</ul>
|
|
19
|
-
</ul>
|
|
20
|
-
</div>
|
|
21
|
-
{%- endif -%}
|
|
22
|
-
<script>
|
|
23
|
-
const fetchShareCount=async()=>{
|
|
24
|
-
try {
|
|
25
|
-
const faceBookShare=document.querySelector('#Facebook')
|
|
26
|
-
const twitterShare=document.querySelector('#Twitter')
|
|
27
|
-
const faceBookCount= await fetch(`https://graph.facebook.com/v10.0/?id=${window.location.href}&access_token=275277164346802|6255ba7980a711477b429c302cb009cd&fields=engagement`).then(res=>res.json())
|
|
28
|
-
const twitterCount=await fetch(`https://counts.twitcount.com/counts.php?url=${window.location.href}`).then(res=>res.json())
|
|
29
|
-
if(faceBookCount.engagement.share_count>0){
|
|
30
|
-
const FacebookInfo =document.createElement('span')
|
|
31
|
-
FacebookInfo.setAttribute("class", "social-count")
|
|
32
|
-
FacebookInfo.innerHTML=faceBookCount.engagement.share_count
|
|
33
|
-
faceBookShare.appendChild(FacebookInfo)
|
|
34
|
-
}
|
|
35
|
-
if(twitterCount>0){
|
|
36
|
-
const TwitterInfo =document.createElement('span')
|
|
37
|
-
TwitterInfo.setAttribute("class", "social-count")
|
|
38
|
-
TwitterInfo.innerHTML=twitterCount.count
|
|
39
|
-
twitterShare.appendChild(TwitterInfo)
|
|
40
|
-
}
|
|
41
|
-
} catch (error) {
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
window.addEventListener("load",()=>{
|
|
46
|
-
fetchShareCount()
|
|
47
|
-
|
|
48
|
-
});
|
|
49
|
-
</script>
|
|
50
|
-
|
|
1
|
+
{% assign file = page.fileName %}
|
|
2
|
+
{% assign folder = page.folderName %}
|
|
3
|
+
{% assign lang = page.lang %}
|
|
4
|
+
{% assign shareData=site.data[folder][lang][file] %}
|
|
5
|
+
{%- if site.data.blog.share.platforms -%}
|
|
6
|
+
<div class="social-icons">
|
|
7
|
+
{% assign url = page.url | relative_url | prepend: site.url %}
|
|
8
|
+
{% for share in site.data.blog.share.platforms %}
|
|
9
|
+
{% assign link = share.link | replace: 'URL', url %}
|
|
10
|
+
{{page.title}}
|
|
11
|
+
<a id="{{share.type}}" href="{{ link }}" data-toggle="tooltip"
|
|
12
|
+
onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
|
|
13
|
+
data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
|
|
14
|
+
<i class="fa-fw {{ share.icon }} mb-0 py-3"></i>
|
|
15
|
+
</a>
|
|
16
|
+
|
|
17
|
+
{% endfor %}
|
|
18
|
+
</ul>
|
|
19
|
+
</ul>
|
|
20
|
+
</div>
|
|
21
|
+
{%- endif -%}
|
|
22
|
+
<script>
|
|
23
|
+
const fetchShareCount=async()=>{
|
|
24
|
+
try {
|
|
25
|
+
const faceBookShare=document.querySelector('#Facebook')
|
|
26
|
+
const twitterShare=document.querySelector('#Twitter')
|
|
27
|
+
const faceBookCount= await fetch(`https://graph.facebook.com/v10.0/?id=${window.location.href}&access_token=275277164346802|6255ba7980a711477b429c302cb009cd&fields=engagement`).then(res=>res.json())
|
|
28
|
+
const twitterCount=await fetch(`https://counts.twitcount.com/counts.php?url=${window.location.href}`).then(res=>res.json())
|
|
29
|
+
if(faceBookCount.engagement.share_count>0){
|
|
30
|
+
const FacebookInfo =document.createElement('span')
|
|
31
|
+
FacebookInfo.setAttribute("class", "social-count")
|
|
32
|
+
FacebookInfo.innerHTML=faceBookCount.engagement.share_count
|
|
33
|
+
faceBookShare.appendChild(FacebookInfo)
|
|
34
|
+
}
|
|
35
|
+
if(twitterCount>0){
|
|
36
|
+
const TwitterInfo =document.createElement('span')
|
|
37
|
+
TwitterInfo.setAttribute("class", "social-count")
|
|
38
|
+
TwitterInfo.innerHTML=twitterCount.count
|
|
39
|
+
twitterShare.appendChild(TwitterInfo)
|
|
40
|
+
}
|
|
41
|
+
} catch (error) {
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
window.addEventListener("load",()=>{
|
|
46
|
+
fetchShareCount()
|
|
47
|
+
|
|
48
|
+
});
|
|
49
|
+
</script>
|
|
50
|
+
|
data/_layouts/aboutUs.html
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
{% assign file = page.fileName %}
|
|
2
|
-
{% assign lang = page.lang %}
|
|
3
|
-
{% assign folder = page.folderName %}
|
|
4
|
-
{% assign aboutData = site.data[folder][lang][file] %}
|
|
5
|
-
<!DOCTYPE html>
|
|
6
|
-
<html lang="{{aboutData.htmlLangAtt}}">
|
|
7
|
-
{% include head/index.html %}
|
|
8
|
-
<body>
|
|
9
|
-
{% include header/index.html %}
|
|
10
|
-
{%- include dropdown/langdropdown.html -%}
|
|
11
|
-
<div class="container py-4 about_layout">
|
|
12
|
-
<h1 class="about-h1 py-2">About us</h1>
|
|
13
|
-
<h2 class="about-h2"> Welcome to {{ page.companyName}}</h2>
|
|
14
|
-
<p class="about-para py-2">We are here to help you. Ping us your queries at care@{{ page.companyName}}.{{page.domain}}</p>
|
|
15
|
-
<div>
|
|
16
|
-
{{content}}
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
{% include footer/index.html %}
|
|
20
|
-
{% include script.html %}
|
|
21
|
-
</body>
|
|
22
|
-
</html>
|
|
1
|
+
{% assign file = page.fileName %}
|
|
2
|
+
{% assign lang = page.lang %}
|
|
3
|
+
{% assign folder = page.folderName %}
|
|
4
|
+
{% assign aboutData = site.data[folder][lang][file] %}
|
|
5
|
+
<!DOCTYPE html>
|
|
6
|
+
<html lang="{{aboutData.htmlLangAtt}}">
|
|
7
|
+
{% include head/index.html %}
|
|
8
|
+
<body>
|
|
9
|
+
{% include header/index.html %}
|
|
10
|
+
{%- include dropdown/langdropdown.html -%}
|
|
11
|
+
<div class="container py-4 about_layout">
|
|
12
|
+
<h1 class="about-h1 py-2">About us</h1>
|
|
13
|
+
<h2 class="about-h2"> Welcome to {{ page.companyName}}</h2>
|
|
14
|
+
<p class="about-para py-2">We are here to help you. Ping us your queries at care@{{ page.companyName}}.{{page.domain}}</p>
|
|
15
|
+
<div>
|
|
16
|
+
{{content}}
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
{% include footer/index.html %}
|
|
20
|
+
{% include script.html %}
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
data/_layouts/blog.html
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
|
|
3
|
-
{% include custom-head.html %}
|
|
4
|
-
|
|
5
|
-
<body>
|
|
6
|
-
{%- include header/blogHeader.html -%}
|
|
7
|
-
|
|
8
|
-
<section class="section_post">
|
|
9
|
-
<div class="container">
|
|
10
|
-
<div class="row justify-content-center section-title-wrap">
|
|
11
|
-
<div class="col-lg-12">
|
|
12
|
-
<h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{ site.data.blog.blog.h1 }}
|
|
13
|
-
</h1>
|
|
14
|
-
<p class="lead mb-5 mt-1" style="font-size: 18px;">
|
|
15
|
-
{{ site.data.blog.blog.description }}
|
|
16
|
-
</p>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="main-content">
|
|
20
|
-
{{content}}
|
|
21
|
-
</div>
|
|
22
|
-
<div class="row">
|
|
23
|
-
{% for post in paginator.posts %}
|
|
24
|
-
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
|
25
|
-
<div class="card h-100">
|
|
26
|
-
<a href="{{ post.url }}">
|
|
27
|
-
<img src="{{ post.image }}" loading="lazy" height="215px" width="100%" class="card-img-top" alt="">
|
|
28
|
-
</a>
|
|
29
|
-
<div class="card-body">
|
|
30
|
-
<a href="{{ post.url }}" class="anchor_link">
|
|
31
|
-
<h4 class="card-title mb-4">{{ post.title }}</h4>
|
|
32
|
-
</a>
|
|
33
|
-
</div>
|
|
34
|
-
{%- include authors/authors.html -%}
|
|
35
|
-
<div class="card-footer bg-white">
|
|
36
|
-
<div class="wrapfooter">
|
|
37
|
-
{% if post.author %}
|
|
38
|
-
<span class="meta-footer-thumb">
|
|
39
|
-
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
|
40
|
-
</span>
|
|
41
|
-
{% endif %}
|
|
42
|
-
|
|
43
|
-
<span class="author-meta">
|
|
44
|
-
<span class="post-name">
|
|
45
|
-
<a target="_blank" href="/blog">{{authorName}}</a>
|
|
46
|
-
</span><br>
|
|
47
|
-
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
48
|
-
</span>
|
|
49
|
-
<span class="post-read-more "><a class="text-dark" href="{{ post.url }}" title="Read Story">Read More</a></span>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
{% endfor %}
|
|
55
|
-
</div>
|
|
56
|
-
{%- include paginationBlogPage.html -%}
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
{% include section/count.html %}
|
|
60
|
-
</section>
|
|
61
|
-
{%- include section/alertbar.html -%}
|
|
62
|
-
|
|
63
|
-
{% include script.html %}
|
|
64
|
-
<script src="{{ '/assets/js/TopScroll.js' | relative_url }}"></script>
|
|
65
|
-
</body>
|
|
66
|
-
|
|
1
|
+
<html>
|
|
2
|
+
|
|
3
|
+
{% include custom-head.html %}
|
|
4
|
+
|
|
5
|
+
<body>
|
|
6
|
+
{%- include header/blogHeader.html -%}
|
|
7
|
+
|
|
8
|
+
<section class="section_post">
|
|
9
|
+
<div class="container">
|
|
10
|
+
<div class="row justify-content-center section-title-wrap">
|
|
11
|
+
<div class="col-lg-12">
|
|
12
|
+
<h1 style="font-weight: 900;" class="display-4 m-0 small_description">{{ site.data.blog.blog.h1 }}
|
|
13
|
+
</h1>
|
|
14
|
+
<p class="lead mb-5 mt-1" style="font-size: 18px;">
|
|
15
|
+
{{ site.data.blog.blog.description }}
|
|
16
|
+
</p>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="main-content">
|
|
20
|
+
{{content}}
|
|
21
|
+
</div>
|
|
22
|
+
<div class="row">
|
|
23
|
+
{% for post in paginator.posts %}
|
|
24
|
+
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
|
25
|
+
<div class="card h-100">
|
|
26
|
+
<a href="{{ post.url }}">
|
|
27
|
+
<img src="{{ post.image }}" loading="lazy" height="215px" width="100%" class="card-img-top" alt="">
|
|
28
|
+
</a>
|
|
29
|
+
<div class="card-body">
|
|
30
|
+
<a href="{{ post.url }}" class="anchor_link">
|
|
31
|
+
<h4 class="card-title mb-4">{{ post.title }}</h4>
|
|
32
|
+
</a>
|
|
33
|
+
</div>
|
|
34
|
+
{%- include authors/authors.html -%}
|
|
35
|
+
<div class="card-footer bg-white">
|
|
36
|
+
<div class="wrapfooter">
|
|
37
|
+
{% if post.author %}
|
|
38
|
+
<span class="meta-footer-thumb">
|
|
39
|
+
<img class="author-thumb" loading="lazy" src="{{ image }}" alt="{{ authorName }}">
|
|
40
|
+
</span>
|
|
41
|
+
{% endif %}
|
|
42
|
+
|
|
43
|
+
<span class="author-meta">
|
|
44
|
+
<span class="post-name">
|
|
45
|
+
<a target="_blank" href="/blog">{{authorName}}</a>
|
|
46
|
+
</span><br>
|
|
47
|
+
<span class="post-date">{{post.date | date_to_string }}</span>
|
|
48
|
+
</span>
|
|
49
|
+
<span class="post-read-more "><a class="text-dark" href="{{ post.url }}" title="Read Story">Read More</a></span>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
{% endfor %}
|
|
55
|
+
</div>
|
|
56
|
+
{%- include paginationBlogPage.html -%}
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
{% include section/count.html %}
|
|
60
|
+
</section>
|
|
61
|
+
{%- include section/alertbar.html -%}
|
|
62
|
+
|
|
63
|
+
{% include script.html %}
|
|
64
|
+
<script src="{{ '/assets/js/TopScroll.js' | relative_url }}"></script>
|
|
65
|
+
</body>
|
|
66
|
+
|
|
67
67
|
</html>
|
data/_layouts/categories.html
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: blog
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
<div class="container">
|
|
6
|
-
<div class="row listrecent">
|
|
7
|
-
{% for category in site.categories %}
|
|
8
|
-
<div class="section-title col-md-12 mt-4">
|
|
9
|
-
<h2 id="{{ category[0] | replace: ' ', '-' }}">Category
|
|
10
|
-
<span class="text-capitalize">{{ category[0]
|
|
11
|
-
}}</span>
|
|
12
|
-
</h2>
|
|
13
|
-
</div>
|
|
14
|
-
{% assign pages_list = category[1] %}
|
|
15
|
-
{% for post in pages_list %}
|
|
16
|
-
{% if post.title != null %}
|
|
17
|
-
{% if group == null or group == post.group %}
|
|
18
|
-
{% include postbox.html %}
|
|
19
|
-
{% endif %}
|
|
20
|
-
{% endif %}
|
|
21
|
-
{% endfor %}
|
|
22
|
-
{% assign pages_list = nil %}
|
|
23
|
-
{% assign group = nil %}
|
|
24
|
-
{% endfor %}
|
|
25
|
-
</div>
|
|
1
|
+
---
|
|
2
|
+
layout: blog
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div class="container">
|
|
6
|
+
<div class="row listrecent">
|
|
7
|
+
{% for category in site.categories %}
|
|
8
|
+
<div class="section-title col-md-12 mt-4">
|
|
9
|
+
<h2 id="{{ category[0] | replace: ' ', '-' }}">Category
|
|
10
|
+
<span class="text-capitalize">{{ category[0]
|
|
11
|
+
}}</span>
|
|
12
|
+
</h2>
|
|
13
|
+
</div>
|
|
14
|
+
{% assign pages_list = category[1] %}
|
|
15
|
+
{% for post in pages_list %}
|
|
16
|
+
{% if post.title != null %}
|
|
17
|
+
{% if group == null or group == post.group %}
|
|
18
|
+
{% include postbox.html %}
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% endif %}
|
|
21
|
+
{% endfor %}
|
|
22
|
+
{% assign pages_list = nil %}
|
|
23
|
+
{% assign group = nil %}
|
|
24
|
+
{% endfor %}
|
|
25
|
+
</div>
|
|
26
26
|
</div>
|