[ckan-changes] commit/ckanextiati: sebbacon: add home class to body
Bitbucket
commits-noreply at bitbucket.org
Fri Jun 10 07:20:35 UTC 2011
1 new changeset in ckanextiati:
http://bitbucket.org/okfn/ckanextiati/changeset/dc9b79083893/
changeset: dc9b79083893
user: sebbacon
date: 2011-06-10 09:20:13
summary: add home class to body
affected #: 2 files (65 bytes)
--- a/templates/home/index.html Wed Jun 08 14:46:18 2011 +0100
+++ b/templates/home/index.html Fri Jun 10 08:20:13 2011 +0100
@@ -40,7 +40,7 @@
<link rel="stylesheet" href="/fonts/fonts.css" type="text/css" media="screen, print" /></py:def>
-
+ <py:def function="body_class">home</py:def><div py:match="content"><div class="page type-page hentry">
--- a/templates/layout_base.html Wed Jun 08 14:46:18 2011 +0100
+++ b/templates/layout_base.html Fri Jun 10 08:20:13 2011 +0100
@@ -62,7 +62,7 @@
</py:if></head>
-<body class="${value_of('body_class', default='')}">
+<body class="${value_of('body_class', default=lambda: c.body_class)()}"><div id="wrapper" class="hfeed"><div id="topbar"></div>
Repository URL: https://bitbucket.org/okfn/ckanextiati/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list