-
Notifications
You must be signed in to change notification settings - Fork 101
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
github-pages 223 | Error: Liquid syntax error : Unknown tag 'cite' #337
Comments
Update: I've found out why it's happening - "GitHub pages will mistake certain characters, specifically curly braces, as Jekyll objects, tags, etc. causing your page build to fail. The solution is to create an empty file .nojekyll in your root folder." |
I think you're trying to push the page straight to GitHub pages? This can't work, because the jekyll-scholar Gem is not installed on GitHub. To serve the page on GitHub pages you will have to push the compiled page instead. There are multiple ways to do this. Basically, build locally and push the compiled site; keep sources in a branch and push only the compiled site to the main branch, etc.; you can automate this using GitHub Actions to end up with a similar setup as regular GitHub pages. This isn't specific to jekyll-scholar, it's the same for every GitHub page that wants to use jekyll plugins beyond the default set that's pre-installed on GitHub. |
As @inukshuk mentioned, here is the list of plugins that Github Pages site supports. "GitHub Pages cannot build sites using unsupported plugins. If you want to use unsupported plugins, generate your site locally and then push your site's static files to GitHub." from About GitHub Pages and Jekyll. And here is a solution to a similar question that may help: Use jekyll-toc plugin on Github Pages posted by David Dong. |
Hi, I wonder if you have solved this problem?It's confusing me now😭 |
Hi, I'm getting this error -> " github-pages 223 | Error: Liquid syntax error (line 78): Unknown tag 'cite' " while deploying. Locally, the citations generate perfectly, I don't understand why it's failing while deploying. I've tried methods mentioned in the issues -> #142 #162 and #194 respectively but had no luck. If you could guide me towards anything that helps that will great. Thanks
The text was updated successfully, but these errors were encountered: