Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Switch to jekyll #160

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Conversation

rrrodrigo
Copy link
Contributor

No description provided.

also:
 * restore header font in template
 * fix the dot-afer-link problem in the footer
DRY the source by using default layout specified in config file
also: improve consistency by using Slim also for index page
@rrrodrigo
Copy link
Contributor Author

rrrodrigo commented Oct 18, 2016

This PR proves than our homepage can be converted from Middleman to Jekyll. However, there are 3 problems with the resulting code:

  1. External JS and CSS libraries are placed in source form in _assets/css/vendor/ and _assets/javas/vendor/, as current version of jekyll-assets no longer supports easy integration with http://rails-assets.org. As a consequence, we'd need to maintain our copies of these libraries and keep them up-to-date - no easy integration with gems as before.
  2. Our pages' sources are using a mix of Slim and Liquid, which is weird to read and write, due to Liquid requiring closing tags and Slim using indentation instead. This problem can be fixed relatively easy, by removing Slim from the toolkit and switching to plain HTML with Liquid tags.
  3. Images and other assets are copied over to output only when referred to with Liquid helpers in the source. Anytime we are using custom helpers/filters to DRY the source, they need to be listed as comment to ensure they appear in the final output. See an example here.

In the view of the above, I think switching to Jekyll would not be a worthwile improvement.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant