equal
deleted
inserted
replaced
18 Returns the current year |
18 Returns the current year |
19 """ |
19 """ |
20 |
20 |
21 return time.strftime("%Y") |
21 return time.strftime("%Y") |
22 |
22 |
|
23 def validation_notice (site_host) : |
|
24 """ |
|
25 Returns a short "Validated XHTML & CSS" link text for the given site hostname |
|
26 """ |
|
27 |
|
28 return 'Validated <a href="http://validator.w3.org/check?uri=%(host)s">XHTML 1.0 Strict</a> & <a href="http://jigsaw.w3.org/css-validator/validator?uri=%(host)s">CSS 2.1</a>' % dict( |
|
29 host = site_host |
|
30 ) |
|
31 |
23 def breadcrumb (trail, links=True) : |
32 def breadcrumb (trail, links=True) : |
24 """ |
33 """ |
25 Returns a nicely formatted breadcrumb tail, optinally with links |
34 Returns a nicely formatted breadcrumb tail, optinally with links |
26 """ |
35 """ |
27 |
36 |