appscms-tools-theme 3.9.7 → 3.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/appscms/head/bloghead.html +40 -2
- data/_includes/authorpagehead/index.html +45 -35
- data/_layouts/appscms-blog.html +1 -1
- data/_layouts/appscms-post.html +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fe34d7abdd223872c3fdd4806bf971b4c2c17210f60500a88253c2fa1beb44c
|
4
|
+
data.tar.gz: a911992ac144f6a76b52eb52ac24deab5c980ba5fa519efb159cabfff8d67108
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 554d88ac32f124cf27012ce4663da5a63b2fe069ebc2124554ab95a545ccea2e6ee3aa3147a0502e0366e83279ea281cb1168ff2efb96c3daece7b1c7cfb3821
|
7
|
+
data.tar.gz: 9806b36c3326a3771dec903833c0707f9ee36f574176255ff8d8901ec1c1968340fbbcdaf5fef551717163e761bb8d813b4c6a2197341fa888c59b41b244ea62
|
@@ -1,5 +1,14 @@
|
|
1
1
|
<head>
|
2
|
-
{%-
|
2
|
+
{%- if page.layout == "appscms-authors" or page.layout == "appscms-author" -%}
|
3
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %} {%
|
4
|
+
for post in posts %} {%- include /authors/authors.html -%} {% if authorName
|
5
|
+
contains page.authorName %} {% capture author_info %}{% assign author =
|
6
|
+
authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %} {%
|
7
|
+
capture author_name %}{% assign author = authorName %}{{ author }}{%
|
8
|
+
endcapture %} {% assign authorPageTitle = author_info %} {% assign author_name
|
9
|
+
= author_name %} {%- endif -%} {% endfor %} {%- assign title = newtitle -%}
|
10
|
+
{%- assign description = pagedescription-%} {%- else -%} {%- assign
|
11
|
+
pagedescriptionlength = page.description | split: ' ' -%} {%- if
|
3
12
|
pagedescriptionlength.size > 5 -%} {%- assign pagedescriptionlength =
|
4
13
|
page.description | split: ' ' -%} {%- assign pagedescription =
|
5
14
|
page.description -%} {%- endif -%} {% assign favicon = site.favicon %} {%-
|
@@ -25,6 +34,7 @@
|
|
25
34
|
pagedescription = pagedescription | append : word %} {% assign pagedescription
|
26
35
|
= pagedescription | append : " " %} {%- endif -%} {%- endif -%} {% endfor %}
|
27
36
|
{%- assign title = newtitle -%} {%- assign description = pagedescription-%}
|
37
|
+
{%- endif -%}
|
28
38
|
|
29
39
|
<meta charset="UTF-8" />
|
30
40
|
<link rel="shortcut icon" href="{{favicon}}" />
|
@@ -34,15 +44,43 @@
|
|
34
44
|
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
35
45
|
/>
|
36
46
|
<meta name="keywords" content="{{site.keyboard}}" />
|
47
|
+
{%- if page.layout == "appscms-authors" or page.layout == "appscms-author" -%}
|
48
|
+
|
49
|
+
<meta
|
50
|
+
name="description"
|
51
|
+
content="{{ authorPageTitle | slice: 0, 155 | default: page.description }}"
|
52
|
+
/>
|
53
|
+
<meta
|
54
|
+
name="og:description"
|
55
|
+
content="{{ authorPageTitle | slice: 0, 155 | default: page.description}}"
|
56
|
+
/>
|
57
|
+
<meta
|
58
|
+
property="og:title"
|
59
|
+
content="{{ authorPageTitle | default: page.title }}"
|
60
|
+
/>
|
61
|
+
|
62
|
+
{%- else -%}
|
37
63
|
<meta name="description" content="{{ seo_description | slice: 0, 155 }}" />
|
38
64
|
<meta name="og:description" content="{{ seo_description | slice: 0, 155 }}" />
|
39
65
|
<meta property="og:title" content="{{ title | default: site.title }}" />
|
66
|
+
{%- endif -%}
|
67
|
+
|
40
68
|
<meta property="og:type" content="{{og_type}}" />
|
41
69
|
<meta property="og:locale" content="en_US" />
|
42
70
|
<meta property="og:site_name" content="{{site.name}}" />
|
43
71
|
<meta property="og:url" content="{{site.url | append: page.url}}" />
|
44
|
-
|
72
|
+
{%- if page.layout == "appscms-authors" -%}
|
73
|
+
<meta name="author" content="Authors" />
|
74
|
+
{%- else -%}
|
75
|
+
<meta
|
76
|
+
name="author"
|
77
|
+
content="{{ author | default: page.author| default: site.author_name}}"
|
78
|
+
/>
|
79
|
+
{%- endif -%} {%- if page.layout == "appscms-author" -%}
|
80
|
+
<title>{{authorPageTitle | default: page.title}}</title>
|
81
|
+
{%- else -%}
|
45
82
|
<title>{{title}}</title>
|
83
|
+
{%- endif -%}
|
46
84
|
|
47
85
|
<link
|
48
86
|
href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap"
|
@@ -1,37 +1,47 @@
|
|
1
1
|
<head>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
{% assign posts = site.posts | where_exp:"post","post.url != page.url" %} {%
|
3
|
+
for post in posts %} {%- include /authors/authors.html -%} {% if authorName
|
4
|
+
contains page.authorName %} {% capture author_info %}{% assign author =
|
5
|
+
authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %} {%
|
6
|
+
capture author_name %}{% assign author = authorName %}{{ author }}{%
|
7
|
+
endcapture %} {% assign authorPageTitle = author_info %} {% assign author_name
|
8
|
+
= author_name %} {%- endif -%} {% endfor %} {%- assign title = newtitle -%}
|
9
|
+
{%- assign description = pagedescription-%}
|
8
10
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
11
|
+
<meta charset="UTF-8" />
|
12
|
+
<link rel="shortcut icon" href="{{favicon}}" />
|
13
|
+
<link rel="canonical" href="{{site.url | append: page.url}}" />
|
14
|
+
<meta
|
15
|
+
name="viewport"
|
16
|
+
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
17
|
+
/>
|
18
|
+
<meta name="keywords" content="{{site.keyboard}}" />
|
19
|
+
<meta
|
20
|
+
name="description"
|
21
|
+
content="{{ authorPageTitle | slice: 0, 155 | default: page.description }}"
|
22
|
+
/>
|
23
|
+
<meta
|
24
|
+
name="og:description"
|
25
|
+
content="{{ authorPageTitle | slice: 0, 155 | default: page.description}}"
|
26
|
+
/>
|
27
|
+
<meta
|
28
|
+
property="og:title"
|
29
|
+
content="{{ authorPageTitle | default: page.title }}"
|
30
|
+
/>
|
31
|
+
<meta property="og:type" content="profile" />
|
32
|
+
<meta property="og:locale" content="en_US" />
|
33
|
+
<meta property="og:site_name" content="{{site.name }}" />
|
34
|
+
<meta property="og:url" content="{{site.url | append: page.url}}" />
|
35
|
+
<meta name="author" content="{{ author_name | default: page.title }}" />
|
36
|
+
<title>{{authorPageTitle | default: page.title}}</title>
|
37
|
+
<link
|
38
|
+
rel="stylesheet"
|
39
|
+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css"
|
40
|
+
/>
|
41
|
+
<link
|
42
|
+
rel="stylesheet"
|
43
|
+
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
|
44
|
+
/>
|
45
|
+
<link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}" />
|
46
|
+
{%- include google-analytics.html -%}
|
47
|
+
</head>
|
data/_layouts/appscms-blog.html
CHANGED
data/_layouts/appscms-post.html
CHANGED
@@ -206,7 +206,7 @@
|
|
206
206
|
{%- else -%}
|
207
207
|
<div class="col-md-12">
|
208
208
|
{%- if page.categories.size> 0 or page.tags.size>0-%}
|
209
|
-
{%- include appscms/
|
209
|
+
{%- include appscms/recent-posts/related_categories_post.html -%}
|
210
210
|
{%- else -%}
|
211
211
|
{%- include appscms/recent_posts/recent_posts.html -%}
|
212
212
|
{% endif %}
|
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.9.
|
4
|
+
version: 3.9.9
|
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-10-
|
11
|
+
date: 2023-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|