appscms-tools-theme 4.7.4 → 4.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/alternates/alternates.html +21 -71
- data/_includes/appscms/head/head.html +7 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90072729d7373ad157133c3cb3acbade1b443ff967e470c745a3c87fd739086f
|
4
|
+
data.tar.gz: 7255d68d72e2bd0375f31e26d9c0638b4b8ec97ccfdb3fceb7ee7404f9ed296c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad5f65cf16e33ce3d989132240ae1ba83b9472f504f772f877e25844396d056def41e33c5575b2430516d2760ce5b507b9fdadfe9f80a2da4750e770ac55e3e1
|
7
|
+
data.tar.gz: c927bfea8e2c08acce50af6f34c2ff959cca7de7e5afa27905af4c5b7b547157044be521f73154ce71045839e5acd55c16a90806c8dd0f94daf5fb16f909c5c9
|
@@ -5,27 +5,7 @@
|
|
5
5
|
{%- for checklang in site.pages -%}
|
6
6
|
{%- if checklang.permalink == i -%}
|
7
7
|
{%- assign languagetext = [i] -%}
|
8
|
-
|
9
|
-
|
10
|
-
{% assign whitelist_urls = site.whitelist_urls %}
|
11
|
-
{% if site.noindex_languages contains languagetext[0] %}
|
12
|
-
{%- if whitelist_urls -%}
|
13
|
-
{% for url in whitelist_urls %}
|
14
|
-
{% assign current_url = url | remove_first: '/' | strip %}
|
15
|
-
{% assign language_url = languagetext[0] | strip %}
|
16
|
-
{% if current_url == language_url %}
|
17
|
-
{%- assign exclude_url = true -%}
|
18
|
-
{% endif %}
|
19
|
-
{% endfor %}
|
20
|
-
{%- if exclude_url -%}
|
21
8
|
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
22
|
-
{%- endif -%}
|
23
|
-
{%- endif -%}
|
24
|
-
{%- else -%}
|
25
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
26
|
-
{%- endif -%}
|
27
|
-
|
28
|
-
|
29
9
|
{%- endif -%}
|
30
10
|
{%- endfor -%}
|
31
11
|
{%- endfor -%}
|
@@ -36,74 +16,46 @@
|
|
36
16
|
{%- for i in matchurls -%}
|
37
17
|
{%- assign languagetext = [i] -%}
|
38
18
|
{%- if i== page.permalink -%}
|
39
|
-
|
40
|
-
{% assign whitelist_urls = site.whitelist_urls %}
|
41
|
-
{% if site.noindex_languages contains languagetext[0] %}
|
42
|
-
{%- if whitelist_urls -%}
|
43
|
-
{% for url in whitelist_urls %}
|
44
|
-
{% assign current_url = url | remove_first: '/' | strip %}
|
45
|
-
{% assign language_url = languagetext[0] | strip %}
|
46
|
-
{% if current_url == language_url %}
|
47
|
-
{%- assign exclude_url = true -%}
|
48
|
-
{% endif %}
|
49
|
-
{% endfor %}
|
50
|
-
{%- if exclude_url -%}
|
51
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
52
|
-
{%- endif -%}
|
53
|
-
{%- endif -%}
|
54
|
-
{%- else -%}
|
55
19
|
<link data-rh="true" rel="alternate" href="{{site.url}}/{{page.permalink}}" hreflang="{{languagetext[0]}}" />
|
56
|
-
{%- endif -%}
|
57
|
-
|
58
20
|
{%- else -%}
|
59
21
|
{%- for checklang in site.pages -%}
|
60
22
|
{%- if checklang.permalink == i -%}
|
61
23
|
{%- assign languagetext = [i] -%}
|
62
|
-
|
63
|
-
{% if site.noindex_languages contains languagetext[0] %}
|
64
|
-
{%- if whitelist_urls -%}
|
65
|
-
{% for url in whitelist_urls %}
|
66
|
-
{% assign current_url = url | remove_first: '/' | strip %}
|
67
|
-
{% assign language_url = languagetext[0] | strip %}
|
68
|
-
{% if current_url == language_url %}
|
69
|
-
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
70
|
-
{% endif %}
|
71
|
-
{% endfor %}
|
72
|
-
{%- endif -%}
|
73
|
-
{%- else -%}
|
74
24
|
<link data-rh="true" rel="alternate" href="{{site.url}}/{{languagetext[0]}}" hreflang="{{languagetext[0]}}" />
|
75
|
-
{%- endif -%}
|
76
|
-
|
77
25
|
{%- endif -%}
|
78
26
|
{%- endfor -%}
|
79
27
|
{%- endif -%}
|
80
28
|
{%- endfor -%}
|
29
|
+
|
81
30
|
{%- else -%}
|
31
|
+
|
82
32
|
{%- for item in site.pages -%}
|
83
33
|
{%- assign languagetext = [item.lang] -%}
|
84
34
|
{%- assign pagelink = page.permalink | split: "/" | last-%}
|
85
35
|
{%- assign itemlink = item.permalink | split: "/" | last-%}
|
86
|
-
{%- if pagelink == itemlink and page.lang != item.lang and page.permalink != item.permalink -%}
|
87
36
|
|
88
|
-
{% if
|
89
|
-
{
|
37
|
+
{% if pagelink == itemlink and page.lang != item.lang and page.permalink != item.permalink %}
|
38
|
+
{% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
|
39
|
+
{% if whitelist_urls %}
|
40
|
+
{% assign exclude_url = false %}
|
90
41
|
{% for url in whitelist_urls %}
|
91
42
|
{% assign current_url = url | strip %}
|
92
43
|
{% if current_url == item.permalink %}
|
93
|
-
|
44
|
+
{% assign exclude_url = true %}
|
94
45
|
{% endif %}
|
95
46
|
{% endfor %}
|
96
|
-
{
|
97
|
-
{
|
98
|
-
|
99
|
-
{
|
47
|
+
{% if exclude_url %}
|
48
|
+
<link data-rh="true" rel="alternate" href="{{ site.url }}{{ item.permalink }}" hreflang="{{ languagetext[0] }}" />
|
49
|
+
{% endif %}
|
50
|
+
{% endif %}
|
51
|
+
{% endif %}
|
100
52
|
|
101
|
-
{%- endif -%}
|
102
53
|
{%- if pagelink == itemlink and page.lang == item.lang -%}
|
103
|
-
|
104
|
-
{% assign
|
105
|
-
{% if
|
54
|
+
{% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
|
55
|
+
{% assign noindex_languages = site.data.noindexURLs.noindex_languages %}
|
56
|
+
{% if noindex_languages contains languagetext[0] %}
|
106
57
|
{%- if whitelist_urls -%}
|
58
|
+
{% assign exclude_url = false %}
|
107
59
|
{% for url in whitelist_urls %}
|
108
60
|
{% assign current_url = url | strip %}
|
109
61
|
{% if current_url == item.permalink %}
|
@@ -115,22 +67,20 @@
|
|
115
67
|
{%- endif -%}
|
116
68
|
{%- endif -%}
|
117
69
|
{%- else -%}
|
118
|
-
|
119
|
-
|
120
70
|
{% assign final_permalink = item.permalink %}
|
121
71
|
{% if item.permalink contains '/' %}
|
122
72
|
{% else %}
|
123
|
-
|
73
|
+
{% assign final_permalink = '/' | append: item.permalink %}
|
124
74
|
{% endif %}
|
125
|
-
|
126
|
-
{%- if
|
75
|
+
{% assign blacklist_urls = site.data.noindexURLs.blacklist_urls %}
|
76
|
+
{%- if blacklist_urls contains final_permalink -%}
|
127
77
|
{%- else -%}
|
128
78
|
<link data-rh="true" rel="alternate" href="{{ site.url }}{{final_permalink}}" hreflang="{{ languagetext[0] }}" />
|
129
79
|
{%- endif -%}
|
130
80
|
|
131
|
-
{%- endif -%}
|
132
81
|
|
133
|
-
{%- endif -%}
|
82
|
+
{%- endif -%}
|
83
|
+
{%- endif -%}
|
134
84
|
{%- endfor -%}
|
135
85
|
{%- endif -%}
|
136
86
|
{%- endif -%}
|
@@ -283,17 +283,17 @@
|
|
283
283
|
<meta name="robots" content="noindex" />
|
284
284
|
{%- endif -%}
|
285
285
|
|
286
|
-
{% assign whitelist_urls = site.
|
287
|
-
{%
|
286
|
+
{% assign whitelist_urls = site.data.noindexURLs.internatlionalization_whitelist_urls %}
|
287
|
+
{% assign noindex_languages = site.data.noindexURLs.noindex_languages %}
|
288
|
+
{% if noindex_languages contains page.lang %}
|
288
289
|
{% unless whitelist_urls contains page.url %}
|
289
290
|
<meta name="robots" content="noindex" />
|
290
291
|
{% endunless %}
|
291
292
|
{% endif %}
|
292
|
-
|
293
|
-
{%
|
294
|
-
{% if
|
295
|
-
<meta name="robots" content="noindex"
|
296
|
-
{% endif %}
|
293
|
+
|
294
|
+
{% assign blacklist_urls = site.data.noindexURLs.blacklist_urls %}
|
295
|
+
{% if blacklist_urls contains page.url %}
|
296
|
+
<meta name="robots" content="noindex" />
|
297
297
|
{% endif %}
|
298
298
|
|
299
299
|
{%- if site.pwa -%}
|
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: 4.7.
|
4
|
+
version: 4.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -613,7 +613,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
613
613
|
- !ruby/object:Gem::Version
|
614
614
|
version: '0'
|
615
615
|
requirements: []
|
616
|
-
rubygems_version: 3.3.
|
616
|
+
rubygems_version: 3.3.7
|
617
617
|
signing_key:
|
618
618
|
specification_version: 4
|
619
619
|
summary: Appscms theme for all tools
|