quokkaproject / quokka

LOOKING FOR NEW MAINTAINER - Quokka is a Content Management System - `docker run --rm -it -p 5000:5000 quokka/quokka`
http://www.quokkaproject.org
Other
2.23k stars 448 forks source link

Info about static files #653

Closed Bernardoow closed 6 years ago

Bernardoow commented 6 years ago

Hi @rochacbruno

How do you deliver correct static files? Ex Theme A or Theme B.

rochacbruno commented 6 years ago

Hi,

There is this view https://github.com/rochacbruno/quokka/blob/master/quokka/core/themes.py#L33

when requesting /theme/.... it will always get the folder which is the active theme.

When deploying lets say on nginx the better woul be to map the `/theme' directly to the theme folder.

Bernardoow commented 6 years ago

Ok. Thanks for this information.