Add favorited star to the review page
This commit is contained in:
parent
aba362a6d2
commit
858c725bac
2 changed files with 16 additions and 0 deletions
|
|
@ -4,6 +4,11 @@
|
|||
{{ if .Params.image }}
|
||||
<div class="review-poster">
|
||||
<img src={{.Params.image}} alt="Poster">
|
||||
{{ if .Params.favorite }}
|
||||
<div class="review-favorite">
|
||||
{{ partial "star.html" }}
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
{{ end }}
|
||||
<h1>{{- .Title -}}</h1>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue