diff -r e94ab812c0c8 -r 185504387370 lib/helpers.py
--- a/lib/helpers.py Sun Feb 08 03:13:11 2009 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-"""
- Helper functions for use in templates
-"""
-
-import time
-
-import config
-
-def now () :
- """
- Returns the current date/time
- """
-
- return time.strftime(config.DATETIME_FMT)
-
-def copyright_year () :
- """
- Returns the current year
- """
-
- return time.strftime("%Y")
-
-def validation_notice (site_host) :
- """
- Returns a short "Validated XHTML & CSS" link text for the given site hostname
- """
-
- return 'Validated XHTML 1.0 Strict & CSS 2.1' % dict(
- host = site_host
- )
-
-def breadcrumb (trail, links=True) :
- """
- Returns a nicely formatted breadcrumb tail, optinally with links
- """
-
- return ' » '.join(
- (
- '%s' % (page.url, page.title) if links else page.title
- ) for page in trail
- )
-