diff --git a/_includes/head.html b/_includes/head.html index 739bc20..f5d4198 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -55,4 +55,8 @@ {% if page.noindex == true %}{% endif %} + + {% unless page.style == NULL %} + + {% endunless %} diff --git a/_includes/list-collection.html b/_includes/list-collection.html new file mode 100644 index 0000000..8b26a4a --- /dev/null +++ b/_includes/list-collection.html @@ -0,0 +1,20 @@ +{% comment %} +* +* This include lets you loop through a collection to list +* all entries in that collection. +* +* If you set »published: false« in front matter of a collection page +* the page gots filtered out via unless +* +* Example: {% include list-collection.html collection='wordpress' %} +* +{% endcomment %} + +