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

@ -5,6 +5,7 @@
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎥</text></svg>">
<link rel="stylesheet" href="/film/style.css">
<link rel="stylesheet" href="/film/card.css">
<link rel="stylesheet" href="/film/review.css">
<link rel="stylesheet" href="/film/quick_look.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

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>