@shift72/core-template 1.9.32 → 1.9.33
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.
- package/CHANGELOG.md +8 -1
- package/kibble.json +2 -2
- package/package.json +1 -1
- package/site/styles/_posts.scss +17 -3
- package/site/styles/_variables.scss +3 -2
- package/site/templates/application/head/font.jet +5 -3
- package/site/templates/page/post/posts-feed.jet +9 -7
- package/site/templates/page/post/shared.jet +6 -0
- package/site/templates/page/post.jet +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [Unreleased](https://github.com/shift72/core-template/compare/1.9.
|
|
3
|
+
## [Unreleased](https://github.com/shift72/core-template/compare/1.9.33...HEAD)
|
|
4
|
+
|
|
5
|
+
## [1.9.33](https://github.com/shift72/core-template/compare/1.9.32...1.9.33)
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Update font.jet to use cdn.shift72.com for fonts. Preload poppins faces to prevent unwanted pop-ins.
|
|
10
|
+
- Blog post styling tweaks
|
|
4
11
|
|
|
5
12
|
## [1.9.32](https://github.com/shift72/core-template/compare/1.9.31...1.9.32)
|
|
6
13
|
|
package/kibble.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "core-template",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.33",
|
|
4
4
|
"siteUrl": "https://tvoddemo.shift72.com",
|
|
5
5
|
"builderVersion": "0.17.10",
|
|
6
6
|
"defaultLanguage": "en",
|
|
@@ -216,5 +216,5 @@
|
|
|
216
216
|
"pageSize": 0
|
|
217
217
|
}
|
|
218
218
|
],
|
|
219
|
-
"coreTemplateVersion": "1.9.
|
|
219
|
+
"coreTemplateVersion": "1.9.33"
|
|
220
220
|
}
|
package/package.json
CHANGED
package/site/styles/_posts.scss
CHANGED
|
@@ -88,10 +88,24 @@
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
.post-page .post,
|
|
92
|
+
.posts-feed-page .post-preview {
|
|
93
|
+
background-color: var(--post-background-color);
|
|
94
|
+
padding: 20px 25px;
|
|
95
|
+
border-radius: 8px;
|
|
96
|
+
}
|
|
97
|
+
|
|
91
98
|
.post-page {
|
|
99
|
+
.page-bg {
|
|
100
|
+
filter: blur(8px);
|
|
101
|
+
-webkit-filter: blur(8px);
|
|
102
|
+
}
|
|
103
|
+
.post {
|
|
104
|
+
margin: 1rem 0;
|
|
105
|
+
}
|
|
92
106
|
comment-section {
|
|
93
107
|
padding: 0;
|
|
94
|
-
margin-top:
|
|
108
|
+
margin-top: 2rem;
|
|
95
109
|
}
|
|
96
110
|
}
|
|
97
111
|
|
|
@@ -102,6 +116,7 @@
|
|
|
102
116
|
|
|
103
117
|
.post-preview-show-more {
|
|
104
118
|
text-align: center;
|
|
119
|
+
text-decoration: underline;
|
|
105
120
|
opacity: 0.8;
|
|
106
121
|
}
|
|
107
122
|
|
|
@@ -110,6 +125,7 @@
|
|
|
110
125
|
overflow: hidden;
|
|
111
126
|
|
|
112
127
|
.post-body {
|
|
128
|
+
margin-bottom: 40px;
|
|
113
129
|
max-height: var(--post-preview-height);
|
|
114
130
|
}
|
|
115
131
|
|
|
@@ -132,8 +148,6 @@
|
|
|
132
148
|
display: flex;
|
|
133
149
|
justify-content: space-between;
|
|
134
150
|
margin-top: 4rem;
|
|
135
|
-
padding-top: 2rem;
|
|
136
|
-
border-top: 1px solid #fff5;
|
|
137
151
|
|
|
138
152
|
.posts-pagination-next {
|
|
139
153
|
margin-left: auto;
|
|
@@ -142,8 +142,9 @@
|
|
|
142
142
|
|
|
143
143
|
--page-reading-column-width: 69ch;
|
|
144
144
|
|
|
145
|
-
--posts-feed-spacing:
|
|
146
|
-
--post-preview-height:
|
|
145
|
+
--posts-feed-spacing: 3rem;
|
|
146
|
+
--post-preview-height: 250px;
|
|
147
|
+
--post-background-color: #030303a0;
|
|
147
148
|
|
|
148
149
|
--post-body-font-weight: 400;
|
|
149
150
|
--post-body-line-height: 1.55;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
{{block font()}}
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
<link rel="stylesheet" href="https://cdn.shift72.com/fonts/poppins/index.css">
|
|
3
|
+
<link rel="preload" href="https://cdn.shift72.com/fonts/poppins/files/poppins-latin-400-normal.woff2" as="font" type="font/woff2" crossorigin>
|
|
4
|
+
<link rel="preload" href="https://cdn.shift72.com/fonts/poppins/files/poppins-latin-300-normal.woff2" as="font" type="font/woff2" crossorigin>
|
|
5
|
+
<link rel="preload" href="https://cdn.shift72.com/fonts/poppins/files/poppins-latin-500-normal.woff2" as="font" type="font/woff2" crossorigin>
|
|
6
|
+
{{end}}
|
|
@@ -8,13 +8,15 @@
|
|
|
8
8
|
{{range page := pages}}
|
|
9
9
|
{{yield postPreview(post=page)}}
|
|
10
10
|
{{end}}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
{{ if len(pagination.PreviousURL) > 0 || len(pagination.NextURL) > 0 }}
|
|
12
|
+
<div class="posts-pagination">
|
|
13
|
+
{{ if len(pagination.PreviousURL) > 0 }}
|
|
14
|
+
<a class="posts-pagination-prev" href="{{pagination.PreviousURL}}">{{i18n("posts_pagination_prev")}}</a>
|
|
15
|
+
{{end}}
|
|
16
|
+
{{ if len(pagination.NextURL) > 0 }}
|
|
17
|
+
<a class="posts-pagination-next" href="{{pagination.NextURL}}">{{i18n("posts_pagination_next")}}</a>
|
|
18
|
+
{{end}}
|
|
19
|
+
</div>
|
|
18
20
|
{{end}}
|
|
19
21
|
</main>
|
|
20
22
|
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
{{block body()}}
|
|
11
11
|
<main id="main" class="page post-page">
|
|
12
12
|
{{yield backgroundImage(containerClass="page-bg", gradientClass="right-gradient", imageClass="page-bg-img", imageSrc=page.Images.Background)}}
|
|
13
|
-
|
|
14
|
-
<div class="post">
|
|
13
|
+
{{yield postBacktoPostsLink()}}
|
|
14
|
+
<div class="post">
|
|
15
15
|
{{yield postTitle(post=page)}}
|
|
16
16
|
{{yield postMeta(post=page)}}
|
|
17
17
|
{{yield postHeaderImage(post=page)}}
|
|
@@ -21,9 +21,6 @@
|
|
|
21
21
|
{{if isEnabled("commenting")}}
|
|
22
22
|
<comment-section slug="{{page.Slug}}"></comment-section>
|
|
23
23
|
{{end}}
|
|
24
|
+
{{yield postBacktoPostsLink()}}
|
|
24
25
|
</main>
|
|
25
26
|
{{end}}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
{{block appBadges()}}{{end}}
|