Use a book icon as a separator, not leaves
[books.alexwlchan.net] / templates / list_plans.html
index 3a695f9..ac41dd0 100644 (file)
@@ -9,31 +9,6 @@
 
   <h2>books i want to read</h2>
 
-  {% for plan_entry in all_plans %}
-  <div class="reading">
-    <div class="reading_inner">
-      <div class="book_thumbnail">
-        {% set book = plan_entry.book %}
-        {% include "_book_cover.html" %}
-      </div>
-
-      <div class="book_metadata">
-        <p class="title">{{ plan_entry.book.title }}</p>
-        <p>
-          <small>
-            by {{ plan_entry.book.author }}
-            {%- if plan_entry.book.publication_year %}
-              ({{ plan_entry.book.publication_year}})
-            {%- endif -%}
-          </small>
-        </p>
-      </div>
-    </div>
-    {% if plan_entry.plan.text %}
-    <div class="note">
-      {{ plan_entry.plan.text | render_markdown | safe }}
-    </div>
-    {% endif %}
-  </div>
-  {% endfor %}
+  {% set all_books = all_plans %}
+  {% include "_inline_book_list.html" %}
 {% endblock %}
\ No newline at end of file