constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit 4b0f43a187c77dfa8fbbb39665a01238503fc38b
parent 56132c4e0caca349514e701ca84b88eed646e705
Author: Dan Callaghan <djc@djc.id.au>
Date:   Thu,  4 Sep 2008 12:51:52 +1000

covers look kinda crap, and are mostly coming out wrong from LT anyway, so hide them

Diffstat:
MTODO | 1+
Mtemplates/_entry.xml | 4++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/TODO b/TODO
@@ -14,4 +14,5 @@
   - entire templates
   ...
 - pings, e.g. http://www.technorati.com/developers/ping/
+- make covers configurable, instead of commented out
 ...
diff --git a/templates/_entry.xml b/templates/_entry.xml
@@ -59,9 +59,9 @@ from viewutils import mini_markdown, tag_list
 
 <div class="entry readinglog" py:if="isinstance(entry, blog.ReadingLogEntry)">
 
-    <img py:if="entry.isbn" class="cover"
+    <!--img py:if="entry.isbn" class="cover"
          src="http://covers.librarything.com/devkey/${config.LIBRARYTHING_DEVKEY}/small/isbn/${entry.isbn}" 
-         alt="Cover image for ${entry.title}" />
+         alt="Cover image for ${entry.title}" /-->
 
     <h3 class="entrytitle" id="post-${entry.id}">
         <a py:strip="not entry.url" href="${entry.url}">${mini_markdown(entry.title)}</a>