-
Notifications
You must be signed in to change notification settings - Fork 0
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
Not processing files without front-matter properly #1
Comments
@beeradmoore I hope you don’t mind that I’ve moved this conversation here as it didn’t feel directly related to the other issue, and I think keeping the other issue relevant will increase the amount of people who spot the availability of an alternative to the broken image. I’m not sure which of those messages are relevant to your issue. Can I first ask you to show what your |
Hey, no worries, makes sense to move it here. I had a I have a services:
github-pages:
volumes:
- './:/src/site/'
ports:
- '4000:4000'
image: markcrossfield/pages-gem:231-alpine The repo I was using it on is diss-swapper, specifically the Your composer file was not committed, the ones in the EDIT: I tested on my macOS machine. No more ARM64 errors, no more the error, but it still does not work in the above setup. In terms of output,
and when I tried to go to index.html it produced this error
EDIT 2: |
Yeah, it also failed on my Macbook. It worked with my native I could see that the files are available in the container, but running I don’t usually skip the frontmatter in my files, but you can do with these two plugins which GitHub Pages supports: They can be specified in your plugins:
- jekyll-remote-theme
- jekyll-default-layout
- jekyll-optional-front-matter Doing that also makes your site work with the image I published. I don’t fully understand why with your files as they are, your
Nope, your way is fine. The way I suggested just avoids you having to include a Dockerfile in your repo. |
Thanks for the info. Updating the I still had the other issue of Windows not refreshing the content. Comparing our Dockerfiles I can see the final command was slightly different. I appended this to the bottom of your
It does take a while for it to realise the change. I assume there is a parameter to change the polling duration, and probably can speed up building with It is running incredibly slow, however I think that is just it trying to run The entire thing isn't perfect, but it works plenty enough to get the job done. It's a shame GitHub is no longer supporting theirs as it would have been nice to have them maintain it and adjust as they adjust the build system for GitHub Pages. But at least this works, and when in doubt test in prod 😅 |
Thanks for your reply. I’ve been supporting someone else using Windows today, and I found it was incredibly slow. I’ve added the info about using |
For info: I confirmed yesterday that the force polling option works on Windows, and also that the speed is remarkably better with the correct architecture (reduction of ~173s to ~1.5s). |
The text was updated successfully, but these errors were encountered: