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

Pencil Templating #45

Open
FullMetalDeku opened this issue Nov 18, 2016 · 1 comment
Open

Pencil Templating #45

FullMetalDeku opened this issue Nov 18, 2016 · 1 comment

Comments

@FullMetalDeku
Copy link

Hi,

I am having issues with where to place static files. when I cargo run, I am getting an error

thread 'main' panicked at 'Template not found: hello.html', /home/fullmetakdeku/.cargo/registry/src/github.com-1ecc6299db9ec823/pencil-0.3.0/src/app.rs:547

The directory structure is -
Cargo.lock Cargo.toml src static target template

fn main(){
let mut app = Pencil::new("/workspace/web/pencil-demo");
}

I know it might be trivial, I'd appreciate any help. I have no experience with Flask.

@nkoehring
Copy link

I have the exact same problem. This question should be very easy to answer but it somehow looks like there was no activity in a while. 😞

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