diff --git a/_includes/meta.html b/_includes/meta.html index 37e481ac8..626f58d37 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -17,9 +17,9 @@ {% elsif page.title %} -
{{ page.description | truncate_words: 20 }} +
+ {{ page.description | truncate_words: 20 }} +
``` +{: data-line="2"} ### Loops - {% for post in site.posts %} - -{{ post.date | date_to_string }} +
+{% endfor %} +``` +{: data-line="1,6"} ### Dates - {{ page.date | date: "%b %d, %Y" }} +```html +{{ page.date | date: "%b %d, %Y" }} +``` ### Conditionals ```html {% if page.image.feature %} -{% else if xyz %} + ... +{% elsif xyz %} + ... {% else %} + ... {% endif %} ``` +{: data-line="1,3,5,7 } ```html {% if page.category == 'React' %} @@ -165,24 +183,29 @@ Markup Thank you for your order! {% endcase %} ``` +{: data-line="1,2,4,6,8"} ### Includes (partials) ``` {% include header.html %} ``` +{: data-line="1"} ```html {% include header.html page=page %} ``` +{: data-line="2"} ### Comments ```html {% comment %} + This is a comment! {% endcomment %} ``` +{: data-line="1,3"} ## Variables diff --git a/makefile.md b/makefile.md index e7d9fae2f..1eea16207 100644 --- a/makefile.md +++ b/makefile.md @@ -1,6 +1,7 @@ --- title: Makefile hljs_languages: [makefile] +layout: 2017/sheet --- ## Var assignment