Add quick look section to reviews

This commit is contained in:
Campbell Alden 2022-08-24 13:57:20 +09:00
parent 94bee36cfe
commit 8e789d68ab
10 changed files with 167 additions and 60 deletions

View file

@ -0,0 +1,26 @@
<section class="quicklook">
<header>
<h2 class="subtitle quicklook-emphasized-color">
Quick Look
</h2>
</header>
<div class="quicklook-details">
<div class="quicklook-rating">
<span class="caption">Rating</span>
<span class="numbers-large quicklook-emphasized-color">{{- .Params.rating -}}/5</span>
</div>
<div class="quicklook-genre-section">
<span class="caption">Genre</span>
<div>
{{ range $name := .Params.genres }}
<span class="quicklook-emphasized-color quicklook-genre">{{$name}}</span>
{{end}}
</div>
</div>
</div>
<p>
{{.Params.quick_look}}
</p>
</section>
</section>