- (r'^content/(?P<slug>[^/]+)/$', 'content.views.document_view'),
- (r'^content/(?P<folders>.*)/(?P<slug>[^/]+)/$', 'content.views.document_view'),
- (r'^content/$', 'content.views.document_view', {'slug': 'index'}),
+ (r'^(?:content/|)(?P<slug>[^/]+)/$', 'content.views.document_view'),
+ (r'^(?:content/|)(?P<folders>.*)/(?P<slug>[^/]+)/$', 'content.views.document_view'),