extract base.html