Add favorited star to the review page

This commit is contained in:
Campbell Alden 2022-09-02 18:24:12 +09:00
parent aba362a6d2
commit 858c725bac
2 changed files with 16 additions and 0 deletions

View file

@ -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>