Пример #1
0
def index_get():
    return flask.render_template(
        'index.html', custom_elements_files=find_files.custom_elements_files())
Пример #2
0
def styleguide_get():
    if flask.current_app.debug:
        return flask.render_template(
            'styleguide.html',
            custom_elements_files=find_files.custom_elements_files())
    return flask.abort(404)
Пример #3
0
def index_get():
    return flask.render_template(
        'index.html',
        hostname=hostname.determine(),
        custom_elements_files=find_files.custom_elements_files())
Пример #4
0
def index_get():
    return flask.render_template(
        'index.html',
        page_title_prefix=_page_title_prefix(),
        custom_elements_files=find_files.custom_elements_files())