Jekyll cheatsheet

Esta página está muy incompleta. ¡Envía tus cambios a través de GitHub!

Instalación

# Instala las gemas
gem install jekyll bundler

# Crea un nuevo sitio en `./websitio`
jekyll new websitio
cd websitio

# Let's go!
bundle exec jekyll serve

Front-matter

---
layout      :
title       :
description :
date        :
category    :
tags        :
author      :
permalink   :
comments    :
sitemap     :
---

Un estupendo post en markdown.

Código

{% highlight ruby %}
def show
  ...
end
{% endhighlight %}

Blogging

_posts/YEAR-MONTH-DAY-title.md

Comentarios

{% comment %}
     ...
{% endcomment %}

Referencias

  • http://jekyllrb.com/docs/home/
  • http://jekyllrb.com/docs/templates/
  • http://docs.shopify.com/themes/liquid-basics/output
  • http://docs.shopify.com/themes/liquid-basics/logic
  • https://github.com/Shopify/liquid/wiki/Liquid-for-Designers
  • http://docs.shopify.com/themes/liquid-documentation/filters