@shift72/core-template 1.9.2 → 1.9.3

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,7 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/shift72/core-template/compare/1.9.1...HEAD)
3
+ ## [Unreleased](https://github.com/shift72/core-template/compare/1.9.3...HEAD)
4
4
 
5
+ ## [1.9.3](https://github.com/shift72/core-template/compare/1.9.2...1.9.3)
6
+ ### Added
7
+ - Show character names next to actors if populated. Can be disabled with feature toggle site_hide_character_name
5
8
 
6
9
  ## [1.9.2](https://github.com/shift72/core-template/compare/1.9.1...1.9.2)
7
10
 
package/kibble.json CHANGED
@@ -191,5 +191,5 @@
191
191
  "pageSize": 0
192
192
  }
193
193
  ],
194
- "coreTemplateVersion": "1.9.2"
194
+ "coreTemplateVersion": "1.9.3"
195
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shift72/core-template",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "Shift72 core template",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -79,7 +79,9 @@
79
79
  <p>
80
80
  {{range index, member := film.Cast}}
81
81
  {{ path := "/search.html?q=" + member.Name }}
82
- <a href="{{ routeToPath(path) }}">{{member.Name}}</a>{{if index < len(film.Cast) - 1}}, {{end}}
82
+ {{ showCharacter := !isEnabled("site_hide_cast_character_name")}}
83
+ <a href="{{ routeToPath(path) }}">{{member.Name}}</a>{{if len(member.Character) > 0 && showCharacter}}<span class="meta-detail-character"> ({{member.Character}})</span>{{end}}
84
+ {{if index < len(film.Cast) - 1}}, {{end}}
83
85
  {{end}}
84
86
  </p>
85
87
  </div>
@@ -59,7 +59,9 @@
59
59
  <p>
60
60
  {{range index, member := tvseason.Cast}}
61
61
  {{ path := "/search.html?q=" + member.Name }}
62
- <a href="{{ routeToPath(path) }}">{{member.Name}}</a>{{if index < len(tvseason.Cast) - 1}}, {{end}}
62
+ {{ showCharacter := !isEnabled("site_hide_cast_character_name")}}
63
+ <a href="{{ routeToPath(path) }}">{{member.Name}}</a>{{if len(member.Character) > 0 && showCharacter}}<span class="meta-detail-character"> ({{member.Character}})</span>{{end}}
64
+ {{if index < len(tvseason.Cast) - 1}}, {{end}}
63
65
  {{end}}
64
66
  </p>
65
67
  </div>