appscms-tools-theme 1.4.7 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,34 +5,36 @@
5
5
  <!DOCTYPE html>
6
6
  <html lang="{{fileinfoData.htmlLangAtt}}">
7
7
  {% include head/index.html %}
8
+
8
9
  <body>
9
10
  {% include header/index.html %}
10
11
  <div class="file-info-page-wrap container">
11
12
  <div class="row">
12
- <div class="col-lg-11 mx-auto text-left">
13
+ <div class="col-lg-11 mx-auto text-left">
13
14
 
14
- <div class=" mt-5" >
15
- {%- if fileinfoData.H1 -%}
16
- <h1 class="file-info-h1 mb-2" >{{fileinfoData.H1}}</h1>
17
- {%- endif -%}
18
- {%- if fileinfoData.H2 -%}
19
- <h2 class="file-info-h2 mb-4" >{{fileinfoData.H2}}</h2>
20
- {%- endif -%}
21
- {%- if fileinfoData.img -%}
22
- <img class="file-info-img w-100 h-100 " src="{{fileinfoData.img}}" alt="">
23
- {%- endif -%}
24
- </div>
25
- {%- if fileinfoData.display_formats -%}
26
- <div >
27
- {%- include fileformat/fileinfoformat.html -%}
28
- </div>
29
- {%- endif -%}
30
- {% include footer/index.html %}
31
- {% include script.html %}
32
- </div>
33
- </div>
15
+ <div class=" mt-5">
16
+ {%- if fileinfoData.H1 -%}
17
+ <h1 class="file-info-h1 mb-2">{{fileinfoData.H1}}</h1>
18
+ {%- endif -%}
19
+ {%- if fileinfoData.H2 -%}
20
+ <h2 class="file-info-h2 mb-4">{{fileinfoData.H2}}</h2>
21
+ {%- endif -%}
22
+ {%- if fileinfoData.img -%}
23
+ <img {%- if site.crossorigin -%} crossorigin {%- endif -%} class="file-info-img w-100 h-100 "
24
+ src="{{fileinfoData.img}}" alt="">
25
+ {%- endif -%}
26
+ </div>
27
+ {%- if fileinfoData.display_formats -%}
28
+ <div>
29
+ {%- include fileformat/fileinfoformat.html -%}
30
+ </div>
31
+ {%- endif -%}
32
+ {% include footer/index.html %}
33
+ {% include script.html %}
34
+ </div>
35
+ </div>
34
36
 
35
- </div>
37
+ </div>
36
38
  </body>
37
39
 
38
40
  </html>
data/_layouts/home.html CHANGED
@@ -3,7 +3,7 @@
3
3
  {% assign folder = page.folderName %}
4
4
  {% assign homeData= site.data[folder][lang][file] %}
5
5
  <!DOCTYPE html>
6
- <html lang="{{homeData.htmlLangAtt}}">
6
+ <html lang="{{page.lang}}">
7
7
  {% include head/index.html %}
8
8
 
9
9
  <body>
@@ -11,13 +11,15 @@
11
11
  {%- if homeData.nofileupload -%}
12
12
  <div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center"
13
13
  role="alert">
14
- <img src="/assets/secure.svg" height="23px" width="18px" alt="secure"> &nbsp;
14
+ <img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if site.crossorigin -%} crossorigin
15
+ {%- endif -%}> &nbsp;
15
16
  {%- if featureData.alertmsg -%}
16
17
  {{featureData.alertmsg}}
17
18
  {%- else -%}
18
19
  We do not upload any files to server, hence your data is 100% secure.
19
20
  {%- endif -%} &nbsp;
20
- <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload">
21
+ <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload" {%- if site.crossorigin
22
+ -%} crossorigin {%- endif -%}>
21
23
  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
22
24
  <span aria-hidden="true">&times;</span>
23
25
  </button>
@@ -30,7 +32,7 @@
30
32
  <div class="div-cont feature-img mr-2">
31
33
  {%- if homeData.img -%}
32
34
  <img style=width:{{homeData.imgwidth}};height:{{homeData.imgheight}}; src="{{homeData.img}}"
33
- alt="{{homeData.imgalt}}">
35
+ alt="{{homeData.imgalt}}" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
34
36
  {%- endif -%}
35
37
  </div>
36
38
  </span>
@@ -48,7 +50,8 @@
48
50
  <li style=background:{{product.color}} class="home-feature-box">
49
51
  <div class="home-inner-box">
50
52
  <div class="div-cont feature-img" height="36px" width="36px">
51
- <img src="{{product.icon}}" height="36px" width="36px" alt="star icon">
53
+ <img src="{{product.icon}}" height="36px" width="36px" alt="star icon" {%- if
54
+ site.crossorigin -%} crossorigin {%- endif -%}>
52
55
  </div>
53
56
  </div>
54
57
  <div class="home-feature-desc">{{product.description}}</div><a class="home-feature-name"
@@ -68,7 +71,7 @@
68
71
  {% for data in homeData.TEXTUAL_CONTENT %}
69
72
  <div class="col-lg-4 col-md-6 my-4">
70
73
  <div><img class="feature-card-img" height="48px" width="48px" loading="lazy" src="{{data.logoUrl}}"
71
- alt={{data.header}}>
74
+ alt={{data.header}} {%- if site.crossorigin -%} crossorigin {%- endif -%}>
72
75
  <div class="feature-card-title">{{data.header | replace: "$variable", page.value}}</div>
73
76
  <div class="feature-card-desc">{{data.content | replace: "$variable", page.value}}</div>
74
77
  </div>
@@ -85,7 +88,8 @@
85
88
  {%- if homeData.HOW_TO_CONTENT.logoImageUrl -%}
86
89
  <div class="how-to-img-wrapper "><img class="how-to-leftimg" loading="lazy" height="215px"
87
90
  width="100%" src="{{homeData.HOW_TO_CONTENT.logoImageUrl}}"
88
- alt="{{homeData.HOW_TO_CONTENT.logoImageAlt}}">
91
+ alt="{{homeData.HOW_TO_CONTENT.logoImageAlt}}" {%- if site.crossorigin -%} crossorigin {%-
92
+ endif -%}>
89
93
  </div>
90
94
  {%- endif -%}
91
95
  <div class="how-to-right">
data/_layouts/post.html CHANGED
@@ -129,7 +129,8 @@
129
129
  {%- include section/count.html -%}
130
130
  {%- include section/alertbar.html -%}
131
131
  {% include script.html %}
132
- <script src="{{ '/assets/js/TopScroll.js' | relative_url }}"></script>
132
+ <script src="{{ '/assets/js/TopScroll.js' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif
133
+ -%}></script>
133
134
  </body>
134
135
 
135
136
  </html>
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.7
4
+ version: 1.5.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-10-10 00:00:00.000000000 Z
11
+ date: 2021-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll