From 68fb626da150d1dac0252dcf6bfed53d7f17ad86 Mon Sep 17 00:00:00 2001 From: Run Paint Run Run Date: Tue, 12 May 2009 22:21:56 +0100 Subject: [PATCH] Add Analytics code to all templates. --- TODO | 2 -- templates/chapter.html | 11 +++++++++++ templates/recipe.html | 11 +++++++++++ templates/toc.html | 11 +++++++++++ 4 files changed, 33 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 16fd1ec..99d0140 100644 --- a/TODO +++ b/TODO @@ -48,10 +48,8 @@ ACCENTED CHARACTERS * If Prince supports it, add the examples column back into the table. Web Version -* We want a general stylesheet, then one each for PDF and web which makes the relevant tweaks. * Add icon to callouts. * Add CC license fragment to recipe template. * Link PDF from recipes? * Gzip HTML. * Add Atom feed of recipes sorted by ctime. -* Add Analytics to all templates. diff --git a/templates/chapter.html b/templates/chapter.html index 4a8006a..5f1de8a 100644 --- a/templates/chapter.html +++ b/templates/chapter.html @@ -19,6 +19,17 @@

<%= title %>

  • <%= r[:title] %> <% end %> + +