from flask import render_template

from . import aflafrettir

@aflafrettir.route('/')
def index():
  return render_template('aflafrettir/index.html')

@talks.route('/user/<username>')
def user(username):
 return render_template('aflafrettir/index.html', username = username)

from flask import render_template

from . import aflafrettir

@aflafrettir.route('/')
def index():
  return render_template('aflafrettir/index.html')

@aflafrettir.route('/user/<username>')
def user(username):
 return render_template('aflafrettir/user.html', username = username)

Use the correct template, and call the aflafrettir route decorator
Use the correct template, and call the aflafrettir route decorator
