appscms-tools-theme 3.9.7 → 3.9.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 824577b6ea150821f0efd4cf940fa2ef318b31fc4a3264a6f62257d23a121d89
4
- data.tar.gz: 747e7c0e4dfec0dda2247b5f7b4f0eebaeee5ab9b7d8fedf09d71c6c1d1f9594
3
+ metadata.gz: 3ec0cf672581eb8872ee5c6eaa31c2dfcd6185d9ded778f09e5417c96ba0bc83
4
+ data.tar.gz: 1da2a8f3875831348848ad24a8c5922a70de659b7cbb06f23b96f856283cdc76
5
5
  SHA512:
6
- metadata.gz: 3b88a589bf8295d968c8cc15c7382f5c69516271d6153b27abc0d1c1c4056a0f53d2d5879f42337c9a81d9f8443e5a98fdf1479c2bebc80d533014b27451b9b0
7
- data.tar.gz: f18e32b22f5186e4037100a7cef3965cad5fa9c14b6df15bee4fbe4e1150c42458b9ed99c738b64d4834098321ab8d80a8c08f3fd18ce1380c451d683e9aa34a
6
+ metadata.gz: d2411b4575cf803803b333400bb113babc7f2e809085257f99988481fd1b56672a091d6502ca1889c03eac17085406765391c6e47fd016ea4cb9c52060062a99
7
+ data.tar.gz: 8f39614eb887ef19234e1e7e85d654a58786988efdf3e29f224c3b72795173a70f352e4895b3442c115290ea413b5da1cffe495ddade6c66f312ca2768a8c236
@@ -1,5 +1,14 @@
1
1
  <head>
2
- {%- assign pagedescriptionlength = page.description | split: ' ' -%} {%- if
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
- <meta name="author" content="{{ site.author_name }}" />
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
- {% assign posts = site.posts | where_exp:"post","post.url != page.url" %}
3
- {% for post in posts %}
4
- {%- include /authors/authors.html -%}
5
- {% if authorName contains page.authorName %}
6
- {% capture author_info %}{% assign author = authorName %}{% assign bio = bio %}{{ author }} - {{ bio }}{% endcapture %}
7
- {% capture author_name %}{% assign author = authorName %}{{ author }}{% endcapture %}
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
- {% assign authorPageTitle = author_info %}
10
- {% assign author_name = author_name %}
11
- {%- endif -%}
12
- {% endfor %}
13
-
14
-
15
- {%- assign title = newtitle -%}
16
- {%- assign description = pagedescription-%}
17
-
18
-
19
- <meta charset="UTF-8" />
20
- <link rel="shortcut icon" href="{{favicon}}" />
21
- <link rel="canonical" href="{{site.url | append: page.url}}" />
22
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
23
- <meta name="keywords" content="{{site.keyboard}}" />
24
- <meta name="description" content="{{ authorPageTitle | slice: 0, 155 | default: page.description }}" />
25
- <meta name="og:description" content="{{ authorPageTitle | slice: 0, 155 | default: page.description}}" />
26
- <meta property="og:title" content="{{ authorPageTitle | default: page.title }}" />
27
- <meta property="og:type" content="profile" />
28
- <meta property="og:locale" content="en_US" />
29
- <meta property="og:site_name" content="{{site.name }}" />
30
- <meta property="og:url" content="{{site.url | append: page.url}}" />
31
- <meta name="author" content="{{ author_name | default: page.title }}" />
32
- <title>{{authorPageTitle | default: page.title}}</title>
33
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css" />
34
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" />
35
- <link rel="stylesheet" href="{{'/assets/css/blog.css' | relative_url }}" />
36
- {%- include google-analytics.html -%}
37
- </head>
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>
@@ -117,7 +117,7 @@
117
117
  </section>
118
118
  <!-- {%- include section/alertbar.html -%} -->
119
119
 
120
- {% include script.html %}
120
+ {% include appscms/scripts/script.html %}
121
121
  <script
122
122
  src="{{ '/assets/js/TopScroll.js' | relative_url }}"
123
123
  {%-
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.7
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-12 00:00:00.000000000 Z
11
+ date: 2023-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll