Just Jekyll could be replaced by Hugo, if you care enough. This has much more features.
Ask HN: Is Jekyll on GitHub a good solution for hosting a website?
11–17 of 17 posts
Re: Ask HN: Is Jekyll on GitHub a good solution for hosting a website?
#12That being said, there's nothing wrong with Hugo or other static site generators, and they are crazy fast and mostly hands-off once you got what you need.
Re: Ask HN: Is Jekyll on GitHub a good solution for hosting a website?
#13Re: Ask HN: Is Jekyll on GitHub a good solution for hosting a website?
#14yes that's a good solution, a lot of people do it.
Ok, thanks. And it should be very secure, even if I never update it, right? Github pages automatically updates gems for you?
- locally install jekyll
- write my .md files
- run jekyll locally to see how my site looks like
- commit .md and .html files
- let github pages know what you are pushing the static files yourself
Re: Ask HN: Is Jekyll on GitHub a good solution for hosting a website?
#15Earlier quoted context omitted.
Ok, thanks. And it should be very secure, even if I never update it, right? Github pages automatically updates gems for you?
I don't think so- I think it makes a pull request with updated gems that you have to approve.
- The version of Jekyll that builds your site at deployment time (say at CI integration) is managed by Github including security updates
- If you install Jekyll into the repo (which you don't need to) for local testing you will add a bundler bundle file
- If you have a bundler bundle file in a public repo you will get automated Dependabot pull requests to suggest to update the file as security notices happen
- These updates affect your development environment version as specified in the repo, not the version managed in the build process
Up until recently the whole process was somewhat opaque, but it looks like the "Jekyll build process" is slowly migrating into Github Actions (with everything else) and there's a lot more visibility into its workflow than ever before. In a recent repository it seemed even more clearer than before that the Jekyll version in the "Github Action workflow" was Github-managed wasn't directly the Jekyll version specified in the code repository.
Re: Ask HN: Is Jekyll on GitHub a good solution for hosting a website?
#16Earlier quoted context omitted.
Ok, thanks. And it should be very secure, even if I never update it, right? Github pages automatically updates gems for you?
You can as well build the site locally (e.g., on your computer) first and commit the .html files in your page repo. GitHub pages will then serve your .html files directly without having to build your site using Jekyll. This is what I used to do when hosting my site on github pages: - locally install jekyll - write my .md files - run jekyll locally to see how my site looks like - commit .md and .html files - let githu…
Also, if you are locally generating the HTML files, you can use other SSG tools beyond Jekyll (if for instance you want to avoid Ruby on Windows).
Re: Ask HN: Is Jekyll on GitHub a good solution for hosting a website?
#17Earlier quoted context omitted.
Ok, thanks. And it should be very secure, even if I never update it, right? Github pages automatically updates gems for you?
It’s a static page, what kind of securities are you worried about ?
I think it might not concern a website hosted on github pages, but I wanted to confirm that with people more knowledgeable than me on the matter.