appscms-tools-theme 1.5.7 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/customblog/recentposts.html +1 -1
- data/_includes/customblog/relatedposts.html +2 -2
- data/_includes/fileformat/fileinfoformat.html +1 -1
- data/_includes/head/index.html +1 -1
- data/_includes/postbox.html +2 -2
- data/_includes/section/recent_posts.html +1 -1
- data/_includes/section/related_categories_post.html +2 -2
- data/_includes/share/socialshare.html +9 -38
- data/_layouts/blog.html +1 -1
- data/_layouts/feature.html +2 -2
- data/_layouts/fileInfo.html +1 -1
- data/assets/css/tools.css +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1699fc66842e3979d18400cc8b7556471252e612899c0f1e26364153e787dcb5
|
4
|
+
data.tar.gz: 83095462947022e163718d43c3eeb319b5ca7a82a72fd49e80532892cb0d0213
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bbeb9b94bf59f9301ac3373857dc59e074fd735a555cab111d16dbb65d77a5fb65591917a5c59688b95dea90b8239545c001c7115654eddd1dea0b8e57b2ac0
|
7
|
+
data.tar.gz: fcb039be1c4be9797cd76238c1506787b9e7563392f475f9ae5b3998f46b1ab370e4e855619763ca0a3872193337afbda2c8a7086936bd7d765f8ea13278ecc9
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<div class="card h-100">
|
12
12
|
<a href="{{ post.url }}">
|
13
13
|
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
14
|
-
alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
14
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
15
15
|
</a>
|
16
16
|
<div class="card-body">
|
17
17
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<div class="card h-100">
|
44
44
|
<a href="{{ post.url }}">
|
45
45
|
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
|
46
|
-
alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
46
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
47
47
|
</a>
|
48
48
|
<div class="card-body">
|
49
49
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
@@ -122,7 +122,7 @@
|
|
122
122
|
<div class="card h-100">
|
123
123
|
<a href="{{ post.url }}">
|
124
124
|
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
125
|
-
alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
125
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
126
126
|
</a>
|
127
127
|
<div class="card-body">
|
128
128
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<li class="file-li">
|
17
17
|
<h2 class="feature-h1 text-left my-4">{{fileData.Format}}</h2>
|
18
18
|
{%- if fileData.fileImg -%}
|
19
|
-
<img src="{{fileData.fileImg }}" alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
19
|
+
<img src="{{fileData.fileImg }}" alt="img" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
20
20
|
{%- endif -%}
|
21
21
|
<ol class="file-info-item-list">
|
22
22
|
{%- if fileData.Pros -%}
|
data/_includes/head/index.html
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
dataArr = site.data.[page.folderName][lang][file] %} {% assign dataToShow =
|
4
4
|
dataArr %} {% assign title = dataToShow.TITLE | replace:"$variable",
|
5
5
|
page.value | default:page.title | default: site.title %} {% assign description
|
6
|
-
= dataToShow.META | replace:"$variable", page.value | default:
|
6
|
+
= dataToShow.META | replace:"$variable", page.value | default: page.description | default:
|
7
7
|
site.description %} {% assign keywords = dataToShow.keywords %} {% assign
|
8
8
|
favicon = site.favicon %}
|
9
9
|
<meta charset="utf-8" />
|
data/_includes/postbox.html
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
<div class="col-lg-4 col-md-6 mb-4 card-group">
|
3
3
|
<div class="card h-100">
|
4
4
|
<a href="{{ post.url }}">
|
5
|
-
<img src="{{ post.image }}" class="card-img-top" height="208px" width="100%" loading="lazy"
|
6
|
-
site.crossorigin -%} crossorigin {%- endif -%}>
|
5
|
+
<img src="{{ post.image }}" class="card-img-top" height="208px" width="100%" loading="lazy"
|
6
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
7
7
|
</a>
|
8
8
|
<div class="card-body">
|
9
9
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<div class="card h-100">
|
12
12
|
<a href="{{ post.url }}">
|
13
13
|
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
14
|
-
alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
14
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
15
15
|
</a>
|
16
16
|
<div class="card-body">
|
17
17
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<div class="card h-100">
|
43
43
|
<a href="{{ post.url }}">
|
44
44
|
<img src="{{ post.image }}" loading="lazy" class="card-img-top" height="auto" width="100%"
|
45
|
-
alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
45
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
46
46
|
</a>
|
47
47
|
<div class="card-body">
|
48
48
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
@@ -121,7 +121,7 @@
|
|
121
121
|
<div class="card h-100">
|
122
122
|
<a href="{{ post.url }}">
|
123
123
|
<img src="{{ post.image }}" class="card-img-top" height="215px" width="100%" loading="lazy"
|
124
|
-
alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
124
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
125
125
|
</a>
|
126
126
|
<div class="card-body">
|
127
127
|
<a class="text-decoration-none text-dark" href="{{ post.url }}" class="anchor_link">
|
@@ -8,43 +8,14 @@
|
|
8
8
|
{% for share in site.data.blog.share.platforms %}
|
9
9
|
{% assign link = share.link | replace: 'URL', url %}
|
10
10
|
{{page.title}}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
17
|
{% endfor %}
|
18
|
-
</ul>
|
19
|
-
</ul>
|
18
|
+
</ul>
|
19
|
+
</ul>
|
20
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
|
-
|
21
|
+
{%- endif -%}
|
data/_layouts/blog.html
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
<div class="card h-100">
|
26
26
|
<a href="{{ post.url }}">
|
27
27
|
<img src="{{ post.image }}" loading="lazy" height="215px" width="100%" class="card-img-top"
|
28
|
-
alt="" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
28
|
+
alt="{{post.title}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
29
29
|
</a>
|
30
30
|
<div class="card-body">
|
31
31
|
<a href="{{ post.url }}" class="anchor_link">
|
data/_layouts/feature.html
CHANGED
@@ -85,8 +85,8 @@
|
|
85
85
|
{%- if featureData.HOW_TO_CONTENT.logoImageUrl -%}
|
86
86
|
<div class="how-to-img-wrapper "><img class="how-to-leftimg" height="180px" width="300px"
|
87
87
|
src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" loading="lazy"
|
88
|
-
alt="{{featureData.HOW_TO_CONTENT.logoImageAlt}}" {%- if
|
89
|
-
{%- endif -%}>
|
88
|
+
alt="{{featureData.HOW_TO_CONTENT.logoImageAlt | default: 'how to image' }}" {%- if
|
89
|
+
site.crossorigin -%} crossorigin {%- endif -%}>
|
90
90
|
</div>
|
91
91
|
{%- endif -%}
|
92
92
|
<div class="how-to-right">
|
data/_layouts/fileInfo.html
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
{%- endif -%}
|
22
22
|
{%- if fileinfoData.img -%}
|
23
23
|
<img {%- if site.crossorigin -%} crossorigin {%- endif -%} class="file-info-img w-100 h-100 "
|
24
|
-
src="{{fileinfoData.img}}" alt="">
|
24
|
+
src="{{fileinfoData.img}}" alt="img">
|
25
25
|
{%- endif -%}
|
26
26
|
</div>
|
27
27
|
{%- if fileinfoData.display_formats -%}
|
data/assets/css/tools.css
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appscms-tools-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|