From 5177068de41ec13e54305a9aeee9bc2c6ec56f89 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 9 Feb 2019 11:31:31 +0100 Subject: [PATCH] Mention in documentation that theme.css is loaded by default --- docs/custom.md | 4 +++- umap/settings/__init__.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/custom.md b/docs/custom.md index 9f9aab23..60fe9730 100644 --- a/docs/custom.md +++ b/docs/custom.md @@ -60,7 +60,9 @@ we'll customize also the CSS: mv mylogo.png /srv/umap/custom/static/umap/mylogo.png -And then let's add some custom rules, for example the one to load our logo: +And then let's add some custom rules in `theme.css`. This file will be automatically loaded by uMap. + +For example, this rule to load our logo: ```css .umap-nav h1 a { diff --git a/umap/settings/__init__.py b/umap/settings/__init__.py index d58058b8..2d65ffc2 100644 --- a/umap/settings/__init__.py +++ b/umap/settings/__init__.py @@ -43,6 +43,5 @@ else: globals()['TEMPLATES'][0]['DIRS'].insert(0, value) elif key == 'UMAP_CUSTOM_STATICS': globals()['STATICFILES_DIRS'].insert(0, value) - print(globals()['STATICFILES_DIRS']) else: globals()[key] = value