Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template directory fails on non-default path #46

Open
pax opened this issue May 26, 2021 · 1 comment
Open

template directory fails on non-default path #46

pax opened this issue May 26, 2021 · 1 comment

Comments

@pax
Copy link

pax commented May 26, 2021

It looks that for any path for templates dir other than the default --template-dir templates/ is ignored

I suspect the problem is that the template files are always copied in the /templates folder, regardless of the --template-dir option, while/but index.py takes note on the custom path, thus the mismatch.

Currently, the only way to make templates work is to run datasette publish from the parent folder of templates dir, named as such.

Screenshot 2021-05-26 at 13 55 11

Vercel CLI 23.0.0

@rclement
Copy link
Contributor

rclement commented Jun 1, 2021

Duplicate issue: #41
Associated PR: #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants