\n""" % (title, head, leftnav,
(h1 and ("
%s
" % title) or ''))
## leaves content div open
yaptu_filename = ""
def ch(num, name=''): return (' ' * (6-len(str(num)))) + str(num) + name
def b(text): return '
' + text + ''
def i(text): return '
' + text + ''
def sc(text): return '
' + text + ''
analytics = """
"""
def footer(src=None, files=[]):
import os, time
try:
t = time.localtime(os.stat(yaptu_filename)[8])
for f in files: ## Consider all files this file depends on
t = max(t, time.localtime(os.stat(f)[8]))
except OSError:
t = time.localtime()
modified = "Modified: " + time.strftime("%b %d, %Y", t)
return ('
", src=src), modified), analytics))
def if_(test, result, alternative=""):
if test: return result
return alternative
def fieldsplit(sep, lines):
if isinstance(lines, str): lines = lines.strip().split('\n')
return [[f.strip() for f in line.split(sep)] for line in lines]
#]
BODY { background:<