Style reviews

This commit is contained in:
Campbell Alden 2022-08-24 14:31:59 +09:00
parent 4a261ec67a
commit b41b2bac3d
7 changed files with 56 additions and 12 deletions

View file

@ -1,13 +1,15 @@
{{ define "main" }}
<article class="review">
<header>
<h1>{{- .Title -}}</h1>
<header class="review-header">
{{ if .Params.image }}
<img src={{.Params.image}} alt="Poster">
<div class="review-poster">
<img src={{.Params.image}} alt="Poster">
</div>
{{ end }}
<h1>{{- .Title -}}</h1>
{{ partial "quicklook.html" . }}
</header>
<div>
<div class="core-review">
{{- .Content -}}
</div>
</article>