appscms-tools-theme 3.9.5 → 3.9.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,72 +1,70 @@
1
1
  <!-- pagination -->
2
2
  <div class="bottompagination">
3
- <div class="pointerup"><i class="fa fa-caret-up"></i></div>
4
- <span class="navigation" role="navigation"></span>
3
+ <div class="pointerup"><i class="fa fa-caret-up"></i></div>
4
+ <span class="navigation" role="navigation"></span>
5
5
  </div>
6
6
 
7
- {%- if page.layout == "blog-1" -%}
8
- {%- assign color = site.data.blog.blog.color -%}
9
- {% if paginator.total_pages > 1 %}
7
+ {%- if page.layout == "blog-1" -%} {%- assign color = site.data.blog.blog.color
8
+ -%} {% if paginator.total_pages > 1 %}
10
9
  <div class="blog-pagination">
11
- {% if paginator.previous_page %}
12
- <a style="color: {{color}}; font-weight: 900;"
13
- href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
14
- {% else %}
15
- <span class="text-muted">&laquo; Prev</span>
16
- {% endif %}
17
-
18
- {% for page in (1..paginator.total_pages) %}
19
- {% if page == paginator.page %}
20
- <span class="webjeda text-muted">{{ page }}</span>
21
- {% elsif page == 1 %}
22
- <a href="/blog" style="color: {{color}}; font-weight: 900;">{{ page }}</a>
23
- {% else %}
24
- <a style="color: {{color}}; font-weight: 900;"
25
- href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page
26
- }}</a>
27
- {% endif %}
28
- {% endfor %}
29
-
30
- {% if paginator.next_page %}
31
- <a style="color:{{color}}; font-weight: 900;"
32
- href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next
33
- &raquo;</a>
34
- {% else %}
35
- <span class="text-muted">Next &raquo;</span>
36
- {% endif %}
10
+ {% if paginator.previous_page %}
11
+ <a
12
+ style="color: {{color}}; font-weight: 900;"
13
+ href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"
14
+ >&laquo; Prev</a
15
+ >
16
+ {% else %}
17
+ <span class="text-muted">&laquo; Prev</span>
18
+ {% endif %} {% for page in (1..paginator.total_pages) %} {% if page ==
19
+ paginator.page %}
20
+ <span class="webjeda text-muted">{{ page }}</span>
21
+ {% elsif page == 1 %}
22
+ <a href="/blog" style="color: {{color}}; font-weight: 900;">{{ page }}</a>
23
+ {% else %}
24
+ <a
25
+ style="color: {{color}}; font-weight: 900;"
26
+ href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}"
27
+ >{{ page }}</a
28
+ >
29
+ {% endif %} {% endfor %} {% if paginator.next_page %}
30
+ <a
31
+ style="color:{{color}}; font-weight: 900;"
32
+ href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"
33
+ >Next &raquo;</a
34
+ >
35
+ {% else %}
36
+ <span class="text-muted">Next &raquo;</span>
37
+ {% endif %}
37
38
  </div>
38
- {% endif %}
39
-
40
- {%- else -%}
41
-
42
- {% if paginator.total_pages > 1 %}
39
+ {% endif %} {%- else -%} {% if paginator.total_pages > 1 %}
43
40
  <div class="blog-pagination">
44
- {% if paginator.previous_page %}
45
- <a style="color: #00ab6b; font-weight: 900;"
46
- href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a>
47
- {% else %}
48
- <span class="text-muted">&laquo; Prev</span>
49
- {% endif %}
50
-
51
- {% for page in (1..paginator.total_pages) %}
52
- {% if page == paginator.page %}
53
- <span class="webjeda text-muted">{{ page }}</span>
54
- {% elsif page == 1 %}
55
- <a href="/blog" style="color: #00ab6b; font-weight: 900;">{{ page }}</a>
56
- {% else %}
57
- <a style="color: #00ab6b; font-weight: 900;"
58
- href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page
59
- }}</a>
60
- {% endif %}
61
- {% endfor %}
62
-
63
- {% if paginator.next_page %}
64
- <a style="color:#00ab6b; font-weight: 900;"
65
- href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">Next
66
- &raquo;</a>
67
- {% else %}
68
- <span class="text-muted">Next &raquo;</span>
69
- {% endif %}
41
+ {% if paginator.previous_page %}
42
+ <a
43
+ style="color: #000; font-weight: 900"
44
+ href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}"
45
+ >&laquo; Prev</a
46
+ >
47
+ {% else %}
48
+ <span class="text-muted">&laquo; Prev</span>
49
+ {% endif %} {% for page in (1..paginator.total_pages) %} {% if page ==
50
+ paginator.page %}
51
+ <span class="webjeda text-muted">{{ page }}</span>
52
+ {% elsif page == 1 %}
53
+ <a href="/blog" style="color: #000; font-weight: 900">{{ page }}</a>
54
+ {% else %}
55
+ <a
56
+ style="color: #000; font-weight: 900"
57
+ href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}"
58
+ >{{ page }}</a
59
+ >
60
+ {% endif %} {% endfor %} {% if paginator.next_page %}
61
+ <a
62
+ style="color: #000; font-weight: 900"
63
+ href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}"
64
+ >Next &raquo;</a
65
+ >
66
+ {% else %}
67
+ <span class="text-muted">Next &raquo;</span>
68
+ {% endif %}
70
69
  </div>
71
- {% endif %}
72
- {%- endif -%}
70
+ {% endif %} {%- endif -%}
@@ -1,31 +1,133 @@
1
- {% assign file = page.fileName %}
2
- {% assign lang = page.lang %}
3
- {% assign folder = page.folderName %}
4
- {% assign pageData = site.data[folder][lang][file] %}
5
- {%- assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include appscms/head/bloghead.html %}
6
4
 
5
+ <body>
6
+ {%- include appscms/navbars/navbar.html -%} {%- include
7
+ appscms/navbars/toolbar.html -%}
7
8
 
8
- <!DOCTYPE html>
9
- <html lang="{{ page.lang }}">
10
- {%- include appscms/head/head.html -%}
11
- <link rel="stylesheet" href="assets/css/appscms-theme.css">
12
- <body>
13
- {%- include appscms/navbars/navbar.html -%}
14
- {%- include appscms/navbars/toolbar.html -%}
15
- {%- include appscms/headings/headings.html -%}
16
-
17
- <div class="appcms-home-content-box" id="appcms-home-content-box">
18
- {{ content }}
19
- </div>
20
- {%- include appscms/recent-posts/recent-posts.html -%}
21
- <!-- {%- include appscms/extras/traffic-count.html -%} -->
22
-
9
+ <section>
10
+ <div class="container">
11
+ {%- if site.monumetricId -%}
12
+ <div class="row">
13
+ <div class="col-md-9 mx-auto">
14
+ {%- endif -%}
15
+ <div class="row justify-content-center section-title-wrap">
16
+ <div class="col-lg-12">
17
+ <h1 class="appscms-h1 text-center">
18
+ {{ site.data.blog.blog.h1 }}
19
+ </h1>
20
+ <p class="appscms-h2 text-center mb-5" style="font-size: 18px">
21
+ {{ site.data.blog.blog.description }}
22
+ </p>
23
+ </div>
24
+ </div>
25
+ {%- if site.monumetricId -%}
26
+ </div>
27
+ </div>
28
+ {%- endif -%}
29
+ <div class="main-content">{{content}}</div>
30
+ <div class="row">
31
+ <div class="col-md-10 mx-auto">
32
+ <div class="row allblogs shadow appscms-blogs">
33
+ {%- if site.monumetricId -%}
34
+ <div class="col-md-9 mx-auto">
35
+ <div class="row">
36
+ {%- endif -%} {% for post in paginator.posts %}
37
+ <div
38
+ class="{%- if site.monumetricId -%} col-md-6 mb-4 card-group {%- else -%} col-lg-4 col-md-6 mb-4 card-group {%- endif -%}"
39
+ >
40
+ <div class="card h-100 appscms-blog-cards">
41
+ <a href="{{ post.url }}">
42
+ <img
43
+ src="{{ post.image }}"
44
+ loading="lazy"
45
+ height="215px"
46
+ width="100%"
47
+ class="card-img-top"
48
+ alt="{{post.title}}"
49
+ {%-
50
+ if
51
+ site.crossorigin
52
+ -%}
53
+ crossorigin="anonymous"
54
+ {%-
55
+ endif
56
+ -%}
57
+ />
58
+ </a>
59
+ <div class="card-body">
60
+ <a href="{{ post.url }}" class="anchor_link">
61
+ <h4 class="card-title mb-4">{{ post.title }}</h4>
62
+ </a>
63
+ </div>
64
+ {%- include authors/authors.html -%}
65
+ <div class="card-footer bg-white">
66
+ <div class="wrapfooter">
67
+ {% if post.author %}
68
+ <a
69
+ target="_blank"
70
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
71
+ class="meta-footer-thumb"
72
+ >
73
+ <img
74
+ class="author-thumb"
75
+ loading="lazy"
76
+ src="{{ image }}"
77
+ alt="{{ authorName }}"
78
+ {%-
79
+ if
80
+ site.crossorigin
81
+ -%}
82
+ crossorigin="anonymous"
83
+ {%-
84
+ endif
85
+ -%}
86
+ />
87
+ </a>
88
+ {% endif %}
89
+
90
+ <span class="author-meta">
91
+ <span class="post-name">
92
+ <a
93
+ target="_blank"
94
+ href="/authors/{{authorName | downcase | replace: ' ' , '-' }}"
95
+ >{{authorName}}</a
96
+ > </span
97
+ ><br />
98
+ <span class="post-date"
99
+ >{{post.date | date_to_string }}</span
100
+ >
101
+ </span>
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ {% endfor %} {%- if site.monumetricId -%}
107
+ </div>
108
+ </div>
109
+ {%- endif -%}
110
+ </div>
111
+ </div>
112
+ </div>
113
+ {%- include paginationBlogPage.html -%}
114
+ </div>
23
115
 
24
-
25
- {%- include appscms/footer/products.html -%}
26
- {%- include appscms/footer/footer.html -%}
116
+ {% include section/count.html %}
117
+ </section>
118
+ <!-- {%- include section/alertbar.html -%} -->
27
119
 
28
- {%- include appscms/scripts/script.html -%}
29
-
30
- </body>
31
- </html>
120
+ {% include script.html %}
121
+ <script
122
+ src="{{ '/assets/js/TopScroll.js' | relative_url }}"
123
+ {%-
124
+ if
125
+ site.crossorigin
126
+ -%}
127
+ crossorigin="anonymous"
128
+ {%-
129
+ endif
130
+ -%}
131
+ ></script>
132
+ </body>
133
+ </html>
@@ -28,6 +28,21 @@ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
28
28
  <div class="appcms-home-content-box" id="appcms-home-content-box">
29
29
  {{ content }}
30
30
  </div>
31
+ {%- assign langen = "en" -%} {%- if
32
+ site.data[folder][langen][file].categories -%} {% assign categories=
33
+ site.data[folder][langen][file].categories %} {%- else -%} {% assign
34
+ categories= page.categories %} {%- endif -%} {%- if
35
+ site.data[folder][langen][file].tags -%} {% assign tags=
36
+ site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
37
+ page.tags %} {%- endif -%} {%- if pageData.posts.size > 0 -%} {%- include
38
+ appscms/customblog/pageRelatedPosts.html -%} {%- else -%} {%- if
39
+ categories.size > 0 or tags.size > 0 -%} {%- include
40
+ appscms/recent-posts/related_categories_post.html -%} {%- else -%} {%-
41
+ include appscms/recent-posts/recent_posts.html -%} {%- endif -%} {%- endif
42
+ -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
43
+ tags.size>0-%} {%- include appscms/customblog/relatedposts.html -%} {%- else
44
+ -%} {%- include appscms/customblog/recentposts.html -%} {% endif %} {%-
45
+ endif -%}
31
46
 
32
47
  <!--
33
48
  {%- include
@@ -0,0 +1,247 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include appscms/head/bloghead.html %}
4
+
5
+ <style>
6
+ p {
7
+ margin-bottom: 3rem;
8
+ font-size: 17px;
9
+ color: var(--mid-gray);
10
+ }
11
+
12
+ .mainThings {
13
+ padding-left: 40px;
14
+ position: sticky;
15
+ top: 80px;
16
+ background:var(--white-color);
17
+ border-radius: 20px;
18
+ padding: 20px;
19
+ box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
20
+ }
21
+
22
+ .mainThings ul li a{
23
+ color: var(--mid-gray);
24
+ margin-bottom: 5px;
25
+ display: block;
26
+
27
+ }
28
+ .theseFeatures .featureLink:hover {
29
+ text-decoration: underline !important;
30
+ }
31
+
32
+ .contributors {
33
+ border-bottom: 1px solid hsla(210, 18%, 87%, 1);
34
+ padding-bottom: 10px;
35
+ }
36
+
37
+
38
+ @media (max-width:768px) {
39
+ .theseFeatures {
40
+ text-align: center !important;
41
+ padding-left: 0;
42
+ position: static;
43
+ top: auto;
44
+ }
45
+
46
+ }
47
+ </style>
48
+
49
+ <body>
50
+ {%- include appscms/navbars/navbar.html -%}
51
+ {%- include appscms/navbars/toolbar.html -%}
52
+ {%- if site.newFeatureBox -%}
53
+ <div class="appscms-sidebar-left"></div>
54
+ <div class="appscms-sidebar-right"></div>
55
+ {%- endif -%}
56
+ <section class="section_post">
57
+ <div class="container">
58
+ <div class="row section-title-wrap">
59
+ <div class="
60
+ {%- if site.monumetricId -%}
61
+ col-8 mt-5 mx-auto
62
+ {%- else -%}
63
+ col-md-12 mt-5
64
+ {%- endif -%}
65
+
66
+
67
+ ">
68
+
69
+ <h1 class="appscms-h1">{{ title }}</h1>
70
+ </div>
71
+ </div>
72
+ <div class="row mt-5">
73
+ <div class="
74
+ {%- if site.monumetricId -%}
75
+ col-md-8 mx-auto
76
+ {%- else -%}
77
+ col-md-8
78
+ {%- endif -%}
79
+
80
+
81
+ ">
82
+ {%- include authors/authors.html -%}
83
+ {%- include postauthorbio.html -%}
84
+ {% if page.author %}
85
+ {%- include author_bio.html -%}
86
+ {% endif %}
87
+ <div class="post-content mt-5">
88
+ {{ content }}
89
+ </div>
90
+
91
+ {%- include paginationPostPage.html -%}
92
+ </div>
93
+ <div class="
94
+ {%- if site.monumetricId -%}
95
+ col-md-8 mx-auto
96
+ {%- else -%}
97
+ col-md-4
98
+ {%- endif -%}
99
+
100
+
101
+ ">
102
+ <div class="mainThings">
103
+ {% assign all_contributors = page.contributors.size %}
104
+ {%- if page.contributors.size > 0 -%}
105
+ <div class="contributors mt-5">
106
+ <h3 class="website-label"><strong>Contributors</strong> <span
107
+ class="contributors-count">{{all_contributors}}</span></h3>
108
+ <div class="d-flex mt-4" style="gap:5px; flex-wrap: wrap;">
109
+ {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
110
+ {% for contributor in page.contributors %}
111
+ {% for post in posts %}
112
+ {%- include /authors/authors.html -%}
113
+ {%- assign contributorAuthor = contributor | downcase -%}
114
+ {%- assign name = authorName | downcase -%}
115
+ {%- if name contains contributorAuthor -%}
116
+ <div class="d-flex align-items-center mb-3" style="gap:10px">
117
+ <a href="/authors/{{name | downcase | replace: ' ' , '-' }}">
118
+ <img class="contributor-image" src="{{image}}" alt="{{name}}">
119
+ </a>
120
+ </div>
121
+ {%- break -%}
122
+ {%- endif -%}
123
+ {% endfor %}
124
+ {% endfor %}
125
+ </div>
126
+ </div>
127
+ {%- endif -%}
128
+ <div class="mt-3 socialIons">
129
+ <ul class="list-unstyled item-lists2">
130
+ <li><a style="pointer-events: none;">{{ site.data.blog.share.label }}</a></li>
131
+ {% capture title %}{{ page.title }}{% endcapture %}
132
+ {% assign url = page.url | relative_url | prepend: site.url %}
133
+ {% for share in site.data.blog.share.platforms %}
134
+ {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
135
+ <li> <a href=" {{ link }}" data-toggle="tooltip"
136
+ onclick="window.open(this.href, 'pop-up', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"
137
+ data-placement="top" title="{{ share.type }}" aria-label="{{ share.type }}">
138
+ <i class="fa-fw {{ share.icon }}"></i>
139
+ </a>
140
+ </li>
141
+ {% endfor %}
142
+ </span>
143
+ </ul>
144
+ <!-- <div class="sep"></div> -->
145
+ <div class="comments-count">
146
+ <a href="{{ content.absolute_url }}#disqus_thread" class="comment_count"></a>
147
+ </div>
148
+ </ul>
149
+ </div>
150
+
151
+ <div class="theseFeatures">
152
+ {%- if page.URLS -%}
153
+ <h3 class="font-weight-bolder">Checkout out these features</h3>
154
+ <br>
155
+ {%- for item in page.URLS -%}
156
+ <p class="mb-3"> <a class="featureLink" style="font-size: 13px"
157
+ href="{{item.url}}">{{item.name}}</a></p>
158
+ {%- endfor -%}
159
+ {%- elsif site.relatedPages -%}
160
+ {% assign blogPostPath = page.path %}
161
+
162
+
163
+ {% for entry in site.data.blog.relatedblogs %}
164
+ {% if entry.path == blogPostPath %}
165
+ <h2 class="mb-3">Related Features:</h2>
166
+ <ul class="list-unstyled">
167
+ {% for feature in entry.relatedFeatures %}
168
+ {% assign parts = feature.webpageUrl | split: '/' %}
169
+ {% assign lastPart = parts | last %}
170
+ {% assign subParts = lastPart | split: '-' %}
171
+ <li><a class="featureLink" style="font-size: 13px" href="{{ site.baseurl }}{{ feature.webpageUrl }}">{{ subParts[0] | capitalize }} {{ subParts[1] }}</a></li>
172
+
173
+ {% endfor %}
174
+ </ul>
175
+ {% endif %}
176
+ {% endfor %}
177
+ {% else %}
178
+ <h3 class="font-weight-bolder">Checkout out these features</h3>
179
+ <br>
180
+
181
+ {% assign tools = site.pages | where_exp:"item","item.tool" %}
182
+ {% assign allRandomUrls = "" | split: ',' %}
183
+ {%- for item in tools -%}
184
+ {%- if item.lang=="en" -%}
185
+ {% assign allRandomUrls = allRandomUrls | push: item.url %}
186
+ {%- endif -%}
187
+ {%- endfor -%}
188
+
189
+ {%- for url in allRandomUrls limit: 10-%}
190
+ {% if url %}
191
+ <p class="mb-3">
192
+ <a class="featureLink" style="font-size: 13px" href="{{url }}">
193
+ {%- assign name = url | replace: '/', ' ' | replace: '-', ' ' -%}
194
+ {{ name }}
195
+ </a>
196
+ </p>
197
+ {%- endif -%}
198
+ {%- endfor -%}
199
+ {%- endif -%}
200
+
201
+ </div>
202
+ </div>
203
+ </div>
204
+ {%- if site.relatedPages -%}
205
+ {%- include appscms/customblog/relatedBlogs.html -%}
206
+ {%- else -%}
207
+ <div class="col-md-12">
208
+ {%- if page.categories.size> 0 or page.tags.size>0-%}
209
+ {%- include appscms/recent_posts/related_categories_post.html -%}
210
+ {%- else -%}
211
+ {%- include appscms/recent_posts/recent_posts.html -%}
212
+ {% endif %}
213
+ <div class="commentsection my-5">
214
+ {%- if site.disqus.shortname -%}
215
+ {%- if site.monumetricId -%}
216
+ <div class="row">
217
+ <div class="col-md-9 mx-auto">
218
+ {%- endif -%}
219
+ {%- include disqus_comments.html -%}
220
+ {%- if site.monumetricId -%}
221
+ </div>
222
+ </div>
223
+ {%- endif -%}
224
+ {%- endif -%}
225
+ </div>
226
+ </div>
227
+ {%- endif -%}
228
+ </div>
229
+ </div>
230
+ </section>
231
+ {%- include section/count.html -%}
232
+ {%- include section/alertbar.html -%}
233
+ {% include script.html %}
234
+ <script src="{{ '/assets/js/TopScroll.js' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif
235
+ -%}></script>
236
+ {%- if site.crossorigin -%}
237
+ <script>
238
+ const getImages = document.getElementsByTagName('img')
239
+ Array.from(getImages).map(item => {
240
+ item.crossOrigin = 'anonymous'
241
+ })
242
+ </script>
243
+ {%- endif -%}
244
+
245
+ </body>
246
+
247
+ </html>