FlixelCommunity / flixelcommunity.github.com

Flixel Community website.
http://flixelcommunity.org/
1 stars 0 forks source link

Convert website to Jekyll #5

Open IQAndreas opened 10 years ago

IQAndreas commented 10 years ago

Jekyll is basically a fancy templating engine, so rather than have the full HTML "header and footer" in every single file, all you need is to specify which layout you are using in the YAML header, and the body of the page.

Here is an example of a website I converted for my parents' business (disclaimer, I did not create that website, I simply converted it to Jekyll):

Jekyll is fully supported by GitHub; all you need to do is upload the project, and GitHub will "compile it" to static HTML automatically.

The only problem with Jekyll is when previewing the site locally, you need to run jekyll serve, you can't just open the in-progress HTML file in your browser. However, I find you quickly get used to this, and being able to change the template in one place and see the changes update across all pages more than makes up for not being able to "preview" the HTML as easily.

IQAndreas commented 10 years ago

Would it be alright with you guys if I converted the website to a Jekyll project, or would it entail too much on your end having to install Ruby and Jekyll on your computers?

If you don't want to install Jekyll, it's just as easy to make the changes just as before, upload them to GitHub, and preview them in that way.

Dovyski commented 10 years ago

You have just read my mind! I was planning to suggest the transition to Jekyll, otherwise we would end up replicated code all over the place.

I used Jekyll for Feature Creep Robot website. It's not a big deal to install Ruby and Jekyll (which I didn't in that case, I checked all changes online).