@shift72/core-template 0.4.0 → 0.4.1

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 CHANGED
@@ -1,6 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/shift72/core-template/compare/0.4.0...HEAD)
3
+ ## [Unreleased](https://github.com/shift72/core-template/compare/0.4.1...HEAD)
4
+
5
+ ### Added
6
+
7
+ ## [0.4.1](https://github.com/shift72/core-template/compare/0.4.0...0.4.1)
8
+
9
+ ### Added
10
+ - Fixed layout issue with TV Season detail page.
11
+ - Support for header images on content pages.
4
12
 
5
13
  ## [0.4.0](https://github.com/shift72/core-template/compare/0.4.0-rc.0...0.4.0)
6
14
 
@@ -64,7 +72,7 @@ No changes from RC0.
64
72
  ## [0.3.3](https://github.com/shift72/core-template/compare/0.3.2...0.3.3)
65
73
 
66
74
  ### Added
67
- - Added Catalan (`ca_ES`) translations file.
75
+ - Added Catalan (`ca_ES`) translations file.
68
76
 
69
77
  ## [0.3.2](https://github.com/shift72/core-template/compare/0.3.1...0.3.2)
70
78
 
@@ -222,4 +230,4 @@ Note: packaging fail so fixes are in `0.1.0-alpha.4`.
222
230
 
223
231
  ## [0.1.0-alpha.1](https://github.com/shift72/core-template/releases/tag/0.1.0-alpha.1) - 2021-05-24
224
232
  ### Added
225
- - Initial release of NPM package.
233
+ - Initial release of NPM package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shift72/core-template",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Shift72 core template",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -1,6 +1,7 @@
1
1
  {{extends "templates/application/application.jet"}}
2
2
  {{import "templates/page/page-header.jet"}}
3
3
  {{import "templates/page/page-content.jet"}}
4
+ {{import "templates/common/background-image.jet"}}
4
5
 
5
6
  {{block head()}}
6
7
  {{yield seo() page}}
@@ -8,6 +9,8 @@
8
9
 
9
10
  {{block body()}}
10
11
  <main id="main" class="page content-page">
12
+ {{yield backgroundImage(containerClass="page-bg", gradientClass="right-gradient", imageClass="page-bg-img", imageSrc=page.Images.Background)}}
13
+
11
14
  {{yield pageHeader(title=page.Title)}}
12
15
 
13
16
  {{yield pageContent(text=page.Content)}}
@@ -47,12 +47,6 @@
47
47
  <s72-userwishlist-button data-slug="{{tvseason.Slug}}" class="btn-wishlist"></s72-userwishlist-button>
48
48
  {{yield socialMediaButtons(path=currentUrlPath)}}
49
49
  </div>
50
- </div>
51
- <s72-availability-label data-slug="{{tvseason.Slug}}"></s72-availability-label>
52
- <div class="meta-detail-synopsis">{{tvseason.Overview | raw}}</div>
53
- </div>
54
- <s72-availability-label data-slug="{{tvseason.Slug}}"></s72-availability-label>
55
- <div class="meta-detail-synopsis">{{tvseason.Overview | raw}}</div>
56
50
  <div class="meta-detail-cast">
57
51
  {{if len(tvseason.Cast) > 0 }}
58
52
  <h2>{{i18n("meta_detail_cast_title")}}</h2>