/embed/ should work with an empty map, too
@@ -14,7 +14,7 @@ urlpatterns = [
url(r'^%s(?P<mode>[od])/%s/%s$' % (embed, slug, pos), map_index, name='site.index'),
url(r'^%sr/%s/%s/%s%s$' % (embed, slug, slug2, details, pos), map_index, name='site.index'),
url(r'^%s(?P<mode>r)/%s$' % (embed, pos), map_index, name='site.index'),
- url(r'^%s$' % pos, map_index, name='site.index'),
+ url(r'^%s%s$' % (embed, pos), map_index, name='site.index'),
url(r'^qr/(?P<path>.*)$', qr_code, name='site.qr'),
url(r'^login$', login_view, name='site.login'),
url(r'^logout$', logout_view, name='site.logout'),
