diff --git a/samples/liquid.liquid b/samples/liquid.liquid new file mode 100644 index 0000000..00f6684 --- /dev/null +++ b/samples/liquid.liquid @@ -0,0 +1,51 @@ +
+
+

{{ article.title }}

+ + {%- if section.settings.blog_show_author -%} + By {{ article.author }} + {%- endif -%} + + {%- if section.settings.blog_show_date -%} + + {{ article.published_at | time_tag: format: 'month_day_year' }} + + {%- endif -%} +
+ + {{ article.content }} + + {%- if article.tags.size > 0 -%} + + {%- endif -%} +
+ +{% schema %} +{ + "name": "Posts", + "settings": [ + { + "type": "checkbox", + "id": "blog_show_author", + "label": "Show author", + "default": true + }, + { + "type": "checkbox", + "id": "blog_show_date", + "label": "Show date", + "default": true + } + ] +} +{% endschema %}