diff options
Diffstat (limited to 'layouts/library/section.html')
| -rw-r--r-- | layouts/library/section.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/library/section.html b/layouts/library/section.html index 834717e7..bc55b500 100644 --- a/layouts/library/section.html +++ b/layouts/library/section.html @@ -3,7 +3,7 @@ <article id="library"> <div id="library-content"> {{- range .Pages }} - <div class="book"> + <div class="book{{ if eq .Params.rating 1 }} badbook{{ end }}{{ if eq .Params.rating 5 }} goodbook{{ end }}"> <a href="{{ .Permalink }}" class="book-cover" style="view-transition-name: book-{{ .Title }}"> <img src="{{ .Params.cover }}" /> </a> |
