Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d89a7b468d
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.577 kb
function run_blogindex($vars) {
return render_template('blogindex.html');
function run_blogpost($vars) {
$post = get_post_by_id($vars['id']);
if (!$post) {
return http_404();
if ($post->slug !== $vars['slug']) {
return redirect(
url_for('blogpost', array(
return render_template('blogpost.html', compact('post'));
function run_page($vars) {
return url_for('page', array('pagename'=>'jorgen'));
Jump to Line
Something went wrong with that request. Please try again.