mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-01 07:42:52 +00:00
Remove dynamic "docs" stylesheet
This was never used. And it was probably good that it wasn't, because if it had it would've included both two copies of bootstrap in the page, and also the bootstrap css map (as part of the css, and not as the map). The docs pages these days use the same base stylesheet as the rest of the site.
This commit is contained in:
@ -192,11 +192,6 @@ def sitemap_internal(request):
|
||||
_dynamic_cssmap = {
|
||||
'base': ['media/css/main.css',
|
||||
'media/css/normalize.css', ],
|
||||
'docs': ['media/css/fontawesome.css',
|
||||
'media/css/bootstrap.min.css',
|
||||
'media/css/bootstrap.min.css.map',
|
||||
'media/css/main.css',
|
||||
'media/css/normalize.css', ],
|
||||
}
|
||||
|
||||
|
||||
|
@ -30,7 +30,7 @@ admin.autodiscover()
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^$', pgweb.core.views.home),
|
||||
url(r'^dyncss/(?P<css>base|docs).css$', pgweb.core.views.dynamic_css),
|
||||
url(r'^dyncss/(?P<css>base).css$', pgweb.core.views.dynamic_css),
|
||||
|
||||
url(r'^about/$', pgweb.core.views.about),
|
||||
url(r'^about/newsarchive/([^/]+/)?$', pgweb.news.views.archive),
|
||||
|
Reference in New Issue
Block a user