Don't highlight 5 star books on the homepage
[books.alexwlchan.net] / templates / _review_entry.html
index 4ed68c6..60ff71b 100644 (file)
@@ -18,7 +18,7 @@
   }
 </style>
 
   }
 </style>
 
-<div class="review_preview {% if review_entry.review.rating == 5 %}review_fave{% endif %}"
+<div class="review_preview {% if review_entry.review.rating == 5 and not is_index %}review_fave{% endif %}"
 id="review_preview_{{ r }}_{{ g }}_{{ b }}">
   <a href="/{{ review_entry.out_path() }}">
     <div class="book_thumbnail">
 id="review_preview_{{ r }}_{{ g }}_{{ b }}">
   <a href="/{{ review_entry.out_path() }}">
     <div class="book_thumbnail">