appscms-tools-theme 1.5.8 → 1.6.2

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: c8b4c257cde0fcbe639d024acfdcd17e784e10e97fdcf081ab82af7fe4dff1e4
4
- data.tar.gz: 369a61ad2e2f607c3fea510f4acca0b84f9d807234c936354787a85070e15ccc
3
+ metadata.gz: 84c4c950a64fe517d8a7c293f90b26a26c70de37947d46f6b65206a7934fcf0f
4
+ data.tar.gz: 00a2169e52c05c461b55c2180c5076d8065a3ccacade69af4acc41d12d322fca
5
5
  SHA512:
6
- metadata.gz: cefc18dabbcc28e1db709b742a3b82c9a9912a7d99c7d68b8f946ea4939f43e6db72e30d2a843a23aa23b98939dc29950336668d063bf351065562a2d12d570e
7
- data.tar.gz: 5d1e86b66559d35dfafc1e9c2b3d5d0cdc1d6dd46e45e6603732b0723090876e059b3a40b858999d3500ca2b15c98352ca55a9459668da9cdc2baebc813fd8c8
6
+ metadata.gz: 320fbae4f822c463b7a9e38cc520b664e7836e9623d4f38be386ad9e709967f45a8f9812916b79b4128f4f7fbe9a40c1955e9810b174e5e54dd2b1f2c270664f
7
+ data.tar.gz: 5b2aaa04f96be3c9b21dfbd8c6470f7e69046e755b2b098db1e71424f0e70cbe758c5ce73686fbd232d80f3c9cef54191ebd67d2cf2f1ec73177e6269ecd96b2
@@ -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" />
@@ -14,7 +14,7 @@
14
14
  <meta name="keywords" content="{{keywords}}" />
15
15
  {%- endif -%}
16
16
  <meta name="description" content="{{description}}" />
17
- <link rel="stylesheet" href="/assets/css/bootstrap.min.css">
17
+ <link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
18
18
  <link rel="canonical" href="{{site.url | append: page.url}}" />
19
19
 
20
20
  {%- if dataToShow.css -%}
@@ -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
- <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
-
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/assets/css/tools.css CHANGED
@@ -97,7 +97,9 @@ a {
97
97
  width: 100% !important;
98
98
  }
99
99
  .feature-h1,
100
- .feature-h2 {
100
+ .feature-h2,
101
+ .home-top-h2,
102
+ .home-top-h1 {
101
103
  font-size: 20px !important;
102
104
  }
103
105
  .social-count {
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.5.8
4
+ version: 1.6.2
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-22 00:00:00.000000000 Z
11
+ date: 2021-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll