You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SASS files should be compiled, placed in the public dir and loaded
Current Behavior
SASS files are compiled, placed in the public dir but the when I load them with get_url I get an error (see below)
Without bisecting I suspect that this commit could be related.
Step to reproduce
I have a template (post.html) with this CSS directive <link rel="stylesheet" href="{{ get_url(path='css/style.css', cachebust=true) | safe }}">
I have a file in ./sass/css/style.scss (this file is taken from a Jekyll theme (so it's an import of another sass).
The sass is compiled and I see the public/css/style.css minified.
But then zola serve return this error:
$ RUST_BACKTRACE=1 zola serve
Building site...
-> Creating 67 pages (0 orphan), 0 sections, and processing 0 images
Error: Failed to render page '/home/user/myblog/content/some-page.md'
Reason: Failed to render 'post.html'
Reason: Could not read file `css/style.css`. Expected location: /home/user/myblog/content/css/style.css
What do you think? Am I missing something?
Again, thaks for Zola :)
The text was updated successfully, but these errors were encountered:
On Sat, 6 Jun 2020, 23:26 apiraino, ***@***.***> wrote:
Environment
Zola version: 0.11
Expected Behavior
SASS files should be compiled, placed in the public dir and loaded
Current Behavior
SASS files are compiled, placed in the public dir but the when I load
them with get_url I get an error (see below)
Without bisecting I suspect that this commit
<36ec33f>
could be related.
Step to reproduce
I have a template (post.html) with this CSS directive
<link rel="stylesheet" href="{{ get_url(path='css/style.css',
cachebust=true) | safe }}">
I have a file in ./sass/css/style.scss (this file is taken from a Jekyll
theme (so it's an import of another sass).
The sass is compiled and I see the public/css/style.css minified.
But then zola serve return this error:
$ RUST_BACKTRACE=1 zola serve
Building site...
-> Creating 67 pages (0 orphan), 0 sections, and processing 0 images
Error: Failed to render page '/home/user/myblog/content/some-page.md'
Reason: Failed to render 'post.html'
Reason: Could not read file `css/style.css`. Expected location: /home/user/myblog/content/css/style.css
What do you think? Am I missing something?
Again, thaks for Zola :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1054>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFGDIZLAUU4EFBVKYVL54TRVKX7BANCNFSM4NWMPDTA>
.
Environment
Zola version: 0.11
Expected Behavior
SASS files should be compiled, placed in the
public
dir and loadedCurrent Behavior
SASS files are compiled, placed in the
public
dir but the when I load them withget_url
I get an error (see below)Without bisecting I suspect that this commit could be related.
Step to reproduce
I have a template (
post.html
) with this CSS directive<link rel="stylesheet" href="{{ get_url(path='css/style.css', cachebust=true) | safe }}">
I have a file in
./sass/css/style.scss
(this file is taken from a Jekyll theme (so it's an import of another sass).The sass is compiled and I see the
public/css/style.css
minified.But then
zola serve
return this error:What do you think? Am I missing something?
Again, thaks for Zola :)
The text was updated successfully, but these errors were encountered: