Beispiel #1
0
def index():
    arenapy = ArenaPy()
    
    channel = arenapy.get_channel('arena-influences')
    title = arenapy.get_channel_title(channel)
    channel_blocks = channel.get('blocks')
    channel_blocks = arenapy.sort_blocks_by_created(channel_blocks)

    return render_template('content.html', 
            title = title,
            blocks = channel_blocks,
            )
Beispiel #2
0
def index():
    arenapy = ArenaPy()

    channel = arenapy.get_channel('arena-influences')
    title = arenapy.get_channel_title(channel)
    channel_blocks = channel.get('blocks')
    channel_blocks = arenapy.sort_blocks_by_created(channel_blocks)

    return render_template(
        'content.html',
        title=title,
        blocks=channel_blocks,
    )