Choosing between a Jekyll or HTML & CSS site is simple. But, it can become difficult when you are unsure about your needs.
Factors to consider before choosing from between these two are:
Do you need a blog along with your site?
- If you need a blog to keep with your site, Jekyll makes it easier to maintain the code with the
_layouts. You can blog locally in your favourite editor and then push the changes to your hosting ( just upload the updated files in
_sitefolder ) or GitHub Pages. Hosting on GitHub Pages provides you a virtual CMS. Any changes made in Markdown, HTML and Yaml files will update automatically on your site ).
Do you need to update your site regularly?
- If your site rarely needs to upgrade and you have some knowledge of HTML & CSS then it is better to use HTML. Otherwise, use Jekyll to build your site.
Jekyll makes it easier for the site administrators to review the code as it is modular, no need to repeat the code for common component like navigation or footer. Any changes made to the code for the navigation in includes folder will reflect site wide. You can separate your website layout into many types usually default, pages and posts. Each layout can be designed as per the need.
Is your site extremely simple with few pages?
- If your site is extremely simple with just few pages, a simple HTML & CSS site should be the option to choose.
This article first appeared on as blog post for Jekyll-Vfolio theme.