appscms-tools-theme 3.3.4 → 3.3.6

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.
data/_layouts/home.html CHANGED
@@ -261,7 +261,15 @@
261
261
  section/recent_posts.html -%} {% endif %} {%- if site.customblogdata -%} {%-
262
262
  if categories.size> 0 or tags.size>0-%} {%- include
263
263
  customblog/relatedposts.html -%} {%- else -%} {%- include
264
- customblog/recentposts.html -%} {% endif %} {%- endif -%} {% include
265
- footer/index.html %} {% include script.html %}
264
+ customblog/recentposts.html -%} {% endif %} {%- endif -%}
265
+
266
+
267
+
268
+ {%- if homeData.author.size > 0 -%}
269
+ {% include featurePageAuthors/featurePageAuthors.html %}
270
+ {%- endif -%}
271
+ {% include footer/index.html %}
272
+
273
+ {% include script.html %}
266
274
  </body>
267
275
  </html>
data/_layouts/post.html CHANGED
@@ -17,6 +17,11 @@
17
17
  text-decoration: underline !important;
18
18
  }
19
19
 
20
+ .contributors {
21
+ border-bottom: 1px solid hsla(210, 18%, 87%, 1);
22
+ padding-bottom: 10px;
23
+ }
24
+
20
25
 
21
26
  @media (max-width:768px) {
22
27
  .theseFeatures {
@@ -82,7 +87,31 @@
82
87
 
83
88
  ">
84
89
  <div class="mainThings">
85
- <div class="socialIons">
90
+ {% for contributor in page.contributors %}
91
+ {% assign all_contributors = page.contributors.size %}
92
+ {% endfor %}
93
+
94
+
95
+ {%- if page.contributors -%}
96
+ <div class="contributors mt-5">
97
+ <h3 class="website-label"><strong>Contributors</strong> <span
98
+ class="contributors-count">{{all_contributors}}</span></h3>
99
+ <div class="d-flex mt-4" style="gap:5px; flex-wrap: wrap;">
100
+ {% for contributor in page.contributors %}
101
+ {%- assign contributorAuthor = contributor.name | downcase -%}
102
+ {%- if contributorAuthor -%}
103
+ <div class="d-flex align-items-center mb-3" style="gap:10px">
104
+ <a href="/author/{{contributor.name | downcase | replace: ' ' , '-' }}">
105
+ <img class="contributor-image" src="{{contributor.image}}"
106
+ alt="{{contributor.image}}">
107
+ </a>
108
+ </div>
109
+ {%- endif -%}
110
+ {% endfor %}
111
+ </div>
112
+ </div>
113
+ {%- endif -%}
114
+ <div class="mt-3 socialIons">
86
115
  <ul class="list-unstyled item-lists2">
87
116
  <li><a style="pointer-events: none;">{{ site.data.blog.share.label }}</a></li>
88
117
  {% capture title %}{{ page.title }}{% endcapture %}
data/assets/css/blog.css CHANGED
@@ -38,6 +38,7 @@ header {
38
38
  top: 0;
39
39
  left: 0;
40
40
  z-index: 999;
41
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
41
42
  }
42
43
  .navbar-nav {
43
44
  align-items: center;
data/assets/js/theme.js CHANGED
@@ -1,24 +1,26 @@
1
1
  ---
2
2
  ---
3
3
 
4
- document.addEventListener("DOMContentLoaded", function () {
5
- var safuiAlert = document.querySelector("#safeui-alert");
6
- if (safuiAlert) {
7
- setTimeout(function () {
8
- safuiAlert.style.transition = "1s";
9
- safuiAlert.style.height = "0";
10
- safuiAlert.style.paddingTop = "0";
11
- safuiAlert.style.paddingBottom = "0";
12
- safuiAlert.style.marginTop = "0";
13
- safuiAlert.style.marginBottom = "0";
14
- setTimeout(function () {
15
- safuiAlert.parentNode.removeChild(safuiAlert);
16
- }, 1000);
17
- }, 10000);
18
- }
19
- });
20
4
 
21
- let getLayout = document.getElementById("header");
5
+ console.log('');
6
+ if ("{{ site.safeui }}"==="true") {
7
+ document.addEventListener("DOMContentLoaded", function () {
8
+ var safuiAlert = document.querySelector("#safeui-alert");
9
+ if (safuiAlert) {
10
+ setTimeout(function () {
11
+ safuiAlert.style.transition = "1s";
12
+ safuiAlert.style.height = "0";
13
+ safuiAlert.style.paddingTop = "0";
14
+ safuiAlert.style.paddingBottom = "0";
15
+ safuiAlert.style.marginTop = "0";
16
+ safuiAlert.style.marginBottom = "0";
17
+ setTimeout(function () {
18
+ safuiAlert.parentNode.removeChild(safuiAlert);
19
+ }, 1000);
20
+ }, 10000);
21
+ }
22
+ });
23
+ let getLayout = document.getElementById("header");
22
24
  const layout = getLayout.dataset.layout;
23
25
  if (layout == "feature-1") {
24
26
  var removeNav = () => {
@@ -53,6 +55,10 @@ if (layout == "feature-1") {
53
55
  }
54
56
  };
55
57
  }
58
+ }
59
+
60
+
61
+
56
62
  if ("{{ site.removeBootstrapJs }}"==="true") {
57
63
  const languagesModal = document.querySelector("#staticBackdrop");
58
64
  const intModalBtn = document.querySelector("#int-modal-btn");
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: 3.3.4
4
+ version: 3.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-13 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -118,6 +118,7 @@ files:
118
118
  - _includes/disqus_comments.html
119
119
  - _includes/dropdown/langdropdown.html
120
120
  - _includes/feature.html
121
+ - _includes/featurePageAuthors/featurePageAuthors.html
121
122
  - _includes/fileformat/Tabularcompariosn.html
122
123
  - _includes/fileformat/comparisonfiles.html
123
124
  - _includes/fileformat/fileformatdetail.html
@@ -144,7 +145,9 @@ files:
144
145
  - _includes/share/socialshare.html
145
146
  - _includes/staticfooter.html
146
147
  - _layouts/aboutUs.html
148
+ - _layouts/allAuthors.html
147
149
  - _layouts/audio.html
150
+ - _layouts/author.html
148
151
  - _layouts/batch.html
149
152
  - _layouts/blog-1.html
150
153
  - _layouts/blog.html
@@ -448,7 +451,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
448
451
  - !ruby/object:Gem::Version
449
452
  version: '0'
450
453
  requirements: []
451
- rubygems_version: 3.4.10
454
+ rubygems_version: 3.3.7
452
455
  signing_key:
453
456
  specification_version: 4
454
457
  summary: Appscms theme for all tools