RatanShreshtha / DeepThought

A simple blog theme focused on writing powered by Bulma and Zola.
https://deepthought-theme.netlify.app/
MIT License
176 stars 92 forks source link

Error: Expected newline. #79

Closed hadilq closed 1 year ago

hadilq commented 1 year ago

Hey! my build failed because of the following error:

$ zola --version
zola 0.17.1
$ zola build
Building site...
Checking all internal links with anchors.
> Successfully checked 0 internal link(s) with anchors.
-> Creating 15 pages (0 orphan) and 1 sections
Error: Failed to build the site
Error: Error: Expected newline.
  ╷
4 │ @import url('[https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'](https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap%27));
  │                                                                                                                                                                                                ^
  ╵
.//builds/hadilq/hadilq.gitlab.io/themes/DeepThought/sass/deep-thought.sass:4:192

where you can find it in https://gitlab.com/hadilq/hadilq.gitlab.io/-/jobs/3877170796

I switched back to zola 1.16.1 and avoid this problem for now. Also I tried to fix it but I have no experience with SASS format, but let me know if the fix is easy, so I'll test and create the PR.

strobe commented 1 year ago

seems removing semicolons from deep-thought.sass helps