Mention in documentation that theme.css is loaded by default

This commit is contained in:
Yohan Boniface 2019-02-09 11:31:31 +01:00
parent eec9e094bc
commit 5177068de4
2 changed files with 3 additions and 2 deletions

View file

@ -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 {

View file

@ -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