appscms-tools-theme 1.3.6 → 1.3.7

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: b3f5c688a26b6b136332c86c2fb74a8d238dc95cea6e6d598f746a5391db34af
4
- data.tar.gz: d0dae216d990d562139c040866dfcc75f3b5bbc26cfaa4d05fc33c424e75f7a0
3
+ metadata.gz: 433dcd0cb4ab8aa0f766dc9ae3687b418865fbc7af9c25ce10e8c90604ecf405
4
+ data.tar.gz: 0d3ecc36a1bcdf7accb2f3afd6fc13d6f40dae4c4d1dc2c51013497bca432e88
5
5
  SHA512:
6
- metadata.gz: a9dd21515b3d20e3efc3c5b7c0b674bba3a583dac8122af4845f36c7d2e229846017b1ba61bda6855d2223b3e35409e2019324bbf58b97e4bad7a15cf218a3cc
7
- data.tar.gz: 31d0c3199ee7a3c4ebf90213cbdf5fa7c9b9108995a12973e6ba7d6e00b20b2dbacce54f3238cbb95a4c1c69ef633943593fcf633f5bce4ef11461325ff051fa
6
+ metadata.gz: 59bb6756c152c4de650eb802484b966146d600508df032b93dc5083c630a9e4500cd64503495fbe30fd44967ad0e6f5f4dcadab64db79651c6fb1c3b02913f11
7
+ data.tar.gz: db93d12565f15040fede1f0dcd7b12028c26cc98603fdd7cfa5c23f5ebdceb36cde432331e1a01a00fbf44053155f3dcc40f5319537496e26428c718797a1e1a
@@ -0,0 +1,45 @@
1
+ {%- include languages/languages.html -%}
2
+ {%- if page.permalink == nil -%}
3
+ <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
4
+ {%- for i in matchurls -%}
5
+ {%- for checklang in site.pages -%}
6
+ {%- if checklang.permalink == i -%}
7
+ {%- assign languagetext = [i] -%}
8
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
9
+ {%- endif -%}
10
+ {%- endfor -%}
11
+
12
+ {%- endfor -%}
13
+ {%- else -%}
14
+
15
+ {%- if matchurls contains page.permalink -%}
16
+ {%- assign languagetext = [i] -%}
17
+ <link data-rh="true" rel="alternate" href="{{site.url}}" hreflang="en" />
18
+ {%- for i in matchurls -%}
19
+ {%- assign languagetext = [i] -%}
20
+ {%- if i== page.permalink -%}
21
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{page.permalink}}" hreflang="{{languagetext[0]}}" />
22
+ {%- else -%}
23
+ {%- for checklang in site.pages -%}
24
+ {%- if checklang.permalink == i -%}
25
+ {%- assign languagetext = [i] -%}
26
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
27
+ {%- endif -%}
28
+ {%- endfor -%}
29
+ {%- endif -%}
30
+ {%- endfor -%}
31
+ {%- else -%}
32
+ {%- for item in site.pages -%}
33
+ {%- assign languagetext = [item.lang] -%}
34
+ {%- assign pagelink = page.permalink | split: "/" | last-%}
35
+ {%- assign itemlink = item.permalink | split: "/" | last-%}
36
+ {%- if pagelink == itemlink and page.lang != item.lang and page.permalink !=
37
+ item.permalink -%}
38
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{item.permalink}}" hreflang="{{languagetext[0]}}" />
39
+ {%- endif -%}
40
+ {%- if pagelink == itemlink and page.lang == item.lang -%}
41
+ <link data-rh="true" rel="alternate" href="{{site.url}}/{{item.permalink}}" hreflang="{{languagetext[0]}}" />
42
+ {%- endif -%}
43
+ {%- endfor -%}
44
+ {%- endif -%}
45
+ {%- endif -%}
@@ -1,33 +1,7 @@
1
1
  {% assign lang = page.lang %}
2
2
  {% assign dataToShow = site.data.footer[lang].data %}
3
3
  {%- assign networksitesData = site.data.footer.networksites -%}
4
- {%- assign matchurls
5
- ="id&&ms-MY&&da&&de&&en&&es&&fr&&it&&nl&&nb&&pl&&pt&&sv&&vi&&tr&&ru&&uk&&ar&&hi&&th&&kr&&jp&&cn&&zh-TW"
6
- | split: '&&' -%}
7
- {% assign id = "id&&Bahasa Indonesia" | split: '&&' %}
8
- {% assign ms-MY = "ms-MY&&Bahasa Malaysia" | split: '&&' %}
9
- {% assign da = "da&&Dansk" | split: '&&' %}
10
- {% assign de = "de&&Deutsch" | split: '&&' %}
11
- {% assign en = "en&&English" | split: '&&' %}
12
- {% assign es = "es&&Español" | split: '&&' %}
13
- {% assign fr = "fr&&Français" | split: '&&' %}
14
- {% assign it = "it&&Italiano" | split: '&&' %}
15
- {% assign nl = "nl&&Nederlands" | split: '&&' %}
16
- {% assign nb = "nb&&Norsk (bokmål)" | split: '&&' %}
17
- {% assign pl = "pl&&Polski" | split: '&&' %}
18
- {% assign pt = "pt&&Português" | split: '&&' %}
19
- {% assign sv = "sv&&Svenska" | split: '&&' %}
20
- {% assign vi = "vi&&Tiếng Việt" | split: '&&' %}
21
- {% assign tr = "tr&&Türkçe" | split: '&&' %}
22
- {% assign ru = "ru&&Русский" | split: '&&' %}
23
- {% assign uk = "uk&&Українська" | split: '&&' %}
24
- {% assign ar = "ar&&العربية" | split: '&&' %}
25
- {% assign hi = "hi&&हिन्दी" | split: '&&' %}
26
- {% assign th = "th&&ภาษาไทย" | split: '&&' %}
27
- {% assign kr = "kr&&한국어" | split: '&&' %}
28
- {% assign jp = "jp&&日本語" | split: '&&' %}
29
- {% assign cn = "cn&&简体中文" | split: '&&' %}
30
- {% assign zh-TW = "zh-TW&&繁體中文" | split: '&&' %}
4
+ {%- include languages/languages.html -%}
31
5
  <footer class="footer">
32
6
  <div class="container">
33
7
  <div class="footer-wrapper">
@@ -5,8 +5,7 @@
5
5
  page.value | default:page.title | default: site.title %} {% assign description
6
6
  = dataToShow.META | replace:"$variable", page.value | default:
7
7
  site.description %} {% assign keywords = dataToShow.keywords %} {% assign
8
- favicon = site.favicon %} {%- assign langsupport = page.langsupport -%} {%-
9
- assign variable = site.data.languagesupport[langsupport]-%} {{site.weburl}}
8
+ favicon = site.favicon %}
10
9
  <meta charset="utf-8" />
11
10
  <link rel="shortcut icon" href="{{favicon}}" />
12
11
  <meta name="viewport" content="width=device-width" />
@@ -15,60 +14,37 @@
15
14
  <meta name="keywords" content="{{keywords}}" />
16
15
  {%- endif -%}
17
16
  <meta name="description" content="{{description}}" />
18
- <link
19
- rel="stylesheet"
20
- href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
21
- integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
22
- crossorigin="anonymous"
23
- />
17
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
18
+ integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous" />
24
19
  <link rel="canonical" href="{{site.url | append: page.url}}" />
25
- <link
26
- href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap"
27
- rel="stylesheet"
28
- />
29
- <link
30
- rel="stylesheet"
31
- href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
20
+ <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap"
21
+ rel="stylesheet" />
22
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"
32
23
  integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w=="
33
- crossorigin="anonymous"
34
- referrerpolicy="no-referrer"
35
- />
24
+ crossorigin="anonymous" referrerpolicy="no-referrer" />
25
+ {%- if dataToShow.css -%}
26
+ <link rel="stylesheet" href="{{dataToShow.css}}" />
27
+ {%- else -%}
36
28
  <link rel="stylesheet" href="/assets/css/tools.css" />
29
+ {%- endif -%}
37
30
  <meta data-rh="true" property="og:image" content="{{site.url}}{{favicon}}" />
38
31
  <meta property="og:title" content="{{title}}" />
39
32
  <meta property="og:description" content="{{description}}" />
40
33
  <meta property="og:type" content="website" />
41
- <meta
42
- data-rh="true"
43
- property="og:url"
44
- content="{{site.url | append: page.url}}"
45
- />
34
+ <meta data-rh="true" property="og:url" content="{{site.url | append: page.url}}" />
46
35
  <meta data-rh="true" property="og:site_name" content="{{site.name}}" />
47
36
  <meta data-rh="true" property="twitter:domain" content="{{site.url}}" />
48
- <meta
49
- data-rh="true"
50
- property="twitter:url"
51
- content="{{site.url | append: page.url}}"
52
- />
37
+ <meta data-rh="true" property="twitter:url" content="{{site.url | append: page.url}}" />
53
38
  <meta data-rh="true" name="twitter:title" content="{{title}}" />
54
39
  <meta data-rh="true" name="twitter:description" content="{{description}}" />
55
- <meta
56
- data-rh="true"
57
- name="twitter:image:src"
58
- content="{{site.url}}{{favicon}}"
59
- />
40
+ <meta data-rh="true" name="twitter:image:src" content="{{site.url}}{{favicon}}" />
60
41
  {% include adsense/adsense.html %} {%- if page.noindex -%}
61
42
  <meta name="robots" content="noindex" />
62
43
  {%- endif -%} {%- if site.pwa -%}
63
44
  <link rel="manifest" href="/assets/js/manifest.json" />
64
- {%- endif -%} {%- for item in variable.langsupport -%}
65
- <link
66
- data-rh="true"
67
- rel="alternate"
68
- href="{{site.url | append: item.permalink}}"
69
- hreflang="{{item.hreflang}}"
70
- />
71
- {%- endfor -%} {% include cssfile/links.html %}
45
+ {%- endif -%}
46
+ {%- include alternates/alternates.html -%}
47
+ {% include cssfile/links.html %}
72
48
  <script type="application/ld+json">
73
49
  {
74
50
  "@context": "http://schema.org",
@@ -156,4 +132,4 @@
156
132
  }
157
133
  </script>
158
134
  {%- endif -%}
159
- </head>
135
+ </head>
@@ -0,0 +1,27 @@
1
+ {%- assign matchurls
2
+ ="id&&ms-MY&&da&&de&&en&&es&&fr&&it&&nl&&nb&&pl&&pt&&sv&&vi&&tr&&ru&&uk&&ar&&hi&&th&&kr&&jp&&cn&&zh-TW"
3
+ | split: '&&' -%}
4
+ {% assign id = "id&&Bahasa Indonesia" | split: '&&' %}
5
+ {% assign ms-MY = "ms-MY&&Bahasa Malaysia" | split: '&&' %}
6
+ {% assign da = "da&&Dansk" | split: '&&' %}
7
+ {% assign de = "de&&Deutsch" | split: '&&' %}
8
+ {% assign en = "en&&English" | split: '&&' %}
9
+ {% assign es = "es&&Español" | split: '&&' %}
10
+ {% assign fr = "fr&&Français" | split: '&&' %}
11
+ {% assign it = "it&&Italiano" | split: '&&' %}
12
+ {% assign nl = "nl&&Nederlands" | split: '&&' %}
13
+ {% assign nb = "nb&&Norsk (bokmål)" | split: '&&' %}
14
+ {% assign pl = "pl&&Polski" | split: '&&' %}
15
+ {% assign pt = "pt&&Português" | split: '&&' %}
16
+ {% assign sv = "sv&&Svenska" | split: '&&' %}
17
+ {% assign vi = "vi&&Tiếng Việt" | split: '&&' %}
18
+ {% assign tr = "tr&&Türkçe" | split: '&&' %}
19
+ {% assign ru = "ru&&Русский" | split: '&&' %}
20
+ {% assign uk = "uk&&Українська" | split: '&&' %}
21
+ {% assign ar = "ar&&العربية" | split: '&&' %}
22
+ {% assign hi = "hi&&हिन्दी" | split: '&&' %}
23
+ {% assign th = "th&&ภาษาไทย" | split: '&&' %}
24
+ {% assign kr = "kr&&한국어" | split: '&&' %}
25
+ {% assign jp = "jp&&日本語" | split: '&&' %}
26
+ {% assign cn = "cn&&简体中文" | split: '&&' %}
27
+ {% assign zh-TW = "zh-TW&&繁體中文" | split: '&&' %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
@@ -131,6 +131,7 @@ files:
131
131
  - _includes/Rating/structureddata.html
132
132
  - _includes/Usp/usp.html
133
133
  - _includes/adsense/adsense.html
134
+ - _includes/alternates/alternates.html
134
135
  - _includes/author_bio.html
135
136
  - _includes/authors/authors.html
136
137
  - _includes/cssfile/links.html
@@ -146,6 +147,7 @@ files:
146
147
  - _includes/head/index.html
147
148
  - _includes/header/blogHeader.html
148
149
  - _includes/header/index.html
150
+ - _includes/languages/languages.html
149
151
  - _includes/nofiletransfer/nofiletransfer.html
150
152
  - _includes/paginationBlogPage.html
151
153
  - _includes/paginationPostPage.html