appscms-tools-theme 3.9.7 → 3.9.8
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.
- 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
- 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: 3ec0cf672581eb8872ee5c6eaa31c2dfcd6185d9ded778f09e5417c96ba0bc83
|
|
4
|
+
data.tar.gz: 1da2a8f3875831348848ad24a8c5922a70de659b7cbb06f23b96f856283cdc76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2411b4575cf803803b333400bb113babc7f2e809085257f99988481fd1b56672a091d6502ca1889c03eac17085406765391c6e47fd016ea4cb9c52060062a99
|
|
7
|
+
data.tar.gz: 8f39614eb887ef19234e1e7e85d654a58786988efdf3e29f224c3b72795173a70f352e4895b3442c115290ea413b5da1cffe495ddade6c66f312ca2768a8c236
|
|
@@ -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
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.8
|
|
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
|