@shift72/core-template 1.9.2 → 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -1
- package/kibble.json +1 -1
- package/package.json +1 -1
- package/site/templates/film/item.jet +3 -1
- package/site/templates/tv/detail.jet +3 -1
package/CHANGELOG.md
CHANGED
@@ -1,7 +1,10 @@
|
|
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.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
package/package.json
CHANGED
@@ -79,7 +79,9 @@
|
|
79
79
|
<p>
|
80
80
|
{{range index, member := film.Cast}}
|
81
81
|
{{ path := "/search.html?q=" + member.Name }}
|
82
|
-
|
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
|
-
|
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>
|