Пример #1
0
def apiGetPage(name):
    content = template.getPage(name)

    return render_template('apipost.html',
                           post=content['content'],
                           f=globals(),
                           conv=getPython)
Пример #2
0
def apiGetPageMeta(name):
    content = template.getPage(name)

    return json.dumps(content)
Пример #3
0
def apiGetPageMeta(name):
    content = template.getPage(name)

    return json.dumps(content)
Пример #4
0
def apiGetPage(name):
    content = template.getPage(name)

    return render_template('apipost.html', post=content['content'], f=globals(), conv=getPython)