appscms-tools-theme 1.5.9 → 1.6.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 930f9290f5ac44ed176e50241461724343cbfeb9a0c59da606a97be7e9d06d31
4
- data.tar.gz: 82dcbb9a02e39e45a2ce9ef7271c4b224e346087bd884ee734bf141d57ea1c3e
3
+ metadata.gz: ba3e4ab2194c087329a8b9b880a88ccb9fa8a4f33edef938766fd831152ca874
4
+ data.tar.gz: 7ed5a20d62170f9dd141173831bb6299deed8581537798292c7b607e93a64ff3
5
5
  SHA512:
6
- metadata.gz: 3b60e5979c5316865f61bb2f1b87d2793f2d494af68a9055dc1de348b16129b8757f282853148ac0f35f46fcb42bd08d19e794c1cf5c5cadd02d879a97d4b581
7
- data.tar.gz: 42b383f189adc7aa79be77f09eebd53abebf7d80b9e889250120007c39ce1418fce4e0b0a6ae42ed5b0e141a3380bfaa08c0f681d743e486382a09ee81475670
6
+ metadata.gz: 37271b0a78c08e1ebf1a89e1945820ed19b18903279fa07f6936963176f2d751859c9e4bebbc8adf1ae7971eab6e1332b5f1cf0dfb948236cfdc203d61f82412
7
+ data.tar.gz: 0a8d4ad79795989d9a7ba94a1b24efa4edb3fd0a015e32ab992733b8b34959a5fc52b6c284b32e2001173364a6b6b218dfd7eefa2b6740fe38c75d3b77162788
@@ -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 -%}
@@ -24,4 +24,5 @@
24
24
  {% assign ko = "ko&&한국어" | split: '&&' %}
25
25
  {% assign ja = "ja&&日本語" | split: '&&' %}
26
26
  {% assign zh = "zh&&简体中文" | split: '&&' %}
27
- {% assign zh-TW = "zh-TW&&繁體中文" | split: '&&' %}
27
+ {% assign zh-TW = "zh-TW&&繁體中文" | split: '&&' %}
28
+ {% assign zh-tw = "zh-tw&&繁體中文" | split: '&&' %}
@@ -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.9
4
+ version: 1.6.3
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-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll