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

Page build failure when used with remote theme #1

Closed
acjh13 opened this issue Jul 23, 2020 · 2 comments
Closed

Page build failure when used with remote theme #1

acjh13 opened this issue Jul 23, 2020 · 2 comments

Comments

@acjh13
Copy link

acjh13 commented Jul 23, 2020

Hi there, first off thanks for making this gem!

I'm pretty new to jekyll in general and this gem was exactly what I needed for embedding pdfs.

It worked fine locally but I got this error when I committed it onto Github.

The page build failed for the master branch with the following error:
The tag pdf on line 1 in _pages/resume.md is not a recognized Liquid tag

Any idea what's causing this?

@MihajloNesic
Copy link
Owner

MihajloNesic commented Jul 23, 2020

The problem is GitHub Pages because:

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 Enterprise.

These are the gems/plugins allowed
https://pages.github.com/versions/ and https://docs.github.com/en/github/working-with-github-pages/about-github-pages-and-jekyll#plugins

That's a bummer :/

For the time being, you can try to migrate to GitLab! My Jekyll website is hosted there and I haven't had any issues with it. And it is really easy to setup!

Here are some links related to the issue:
[1] https://stackoverflow.com/questions/54499478/my-liquid-tag-is-not-recognized-by-github-pages/54501512#54501512
[2] https://stackoverflow.com/questions/20830997/failed-to-build-page-jekyllgallerytag/20848226#20848226
[3] https://docs.github.com/en/enterprise/2.17/user/github/working-with-github-pages/about-github-pages-and-jekyll
[4] https://docs.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#unknown-tag-error

@acjh13
Copy link
Author

acjh13 commented Jul 24, 2020

Ah I see, that's disappointing. I'll certainly consider migrating to GitLab in the future.

Thanks for taking the time to clarify this for me, closing the issue!

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