Skip to content

use of static files is inconsistent #50

Description

@typonaut

When loading a CSS file inlinecss appears to only look within the static directory within the web root, ie:

{% inlinecss "account/css/Email-Styles.css" %}

is only "seen" here:

/webroot/static/account/css/Email-Styles.css

or as an OS path:

/Library/Webserver/Documents/static/account/css/Email-Styles.css

However the static will find the files elsewhere, for example, in the static directories of loaded apps:

/Library/Webserver/Documents/mydemoapp/static/account/css/Email-Styles.css

and such files are served as a web request:

http://127.0.0.1:8080/static/account/css/Email-Styles.css

But inlinecss will not load files from the static directory of installed_apps.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions