Link to favorites list from the star

This commit is contained in:
Campbell Alden 2022-10-16 17:29:55 +09:00
parent fb2336ab03
commit 64aafaa1d9
2 changed files with 6 additions and 4 deletions

View file

@ -5,9 +5,10 @@
<div class="review-poster">
<img src={{.Params.image}} alt="Poster">
{{ if .Params.favorite }}
<div class="review-favorite">
<a class="review-favorite" href="{{.Site.BaseURL}}favorites">
<span hidden>Favorite</span>
{{ partial "star.html" }}
</div>
</a>
{{end}}
</div>
{{ end }}