Templates - Product

In this article:


    categories.liquid

    The page that displays the categories and subcategories of a Product.

    We strongly recommend you include the following: - display categories - display subcategories

    category.liquid

    The page that displays an individual category.

    We strongly recommend you include the following: - {% if category.pending_drip? %} check - {{ category.poster_image_url }}or {{ 'null_image.png' | asset_url }} - {{ category.title }} - {{ category.description }} - {{ category.subcategories }} - {{ category.posts }}

    comment.liquid

    Page that displays a specific comment.

    We strongly recommend you include the following:

    • {% unless post.comments_mode_hidden? %} check
    • {% if post.comments_mode_locked? %} check
    • {{ comment.author | avatar_url: 40 }}
    • {{ comment.author.name }}
    • {{ comment.body }}
    • {{ comment.created_at | local_time_ago }}
    • Comment Reply (shown below)
    • Comment Form (shown below)

    {% unless current_site_user.muted? %} {% if post.comments_mode_visible? %} <a class="reply-link" data-remote="true" href="{{ post.comment_new_url }}?parent_comment={{ comment.id }}" kjb-settings-id="language_comment_reply">{{ settings.language_comment_reply }}</a> {% endif %} {% if comment.author.id == current_site_user.id and comment.author.type == current_site_user.type %} <a data-remote="true" href="{{ comment.edit_url }}" kjb-settings-id="language_comment_edit">{{ settings.language_comment_edit }}</a> {% endif %} {% endunless %}

    {% form 'comment', comment %} <div class="form-group text required comment_body"><textarea id="comment-reply-body" rows="5" class="text required form-control" placeholder="{{ settings.language_comment_placeholder }}" name="comment[body]" kjb-settings-id="language_comment_placeholder">{{ comment.body }}</textarea></div> {% if comment.id %} <input type="submit" name="commit" data-disable-with="Submitting" value="{{ settings.language_comment_update }}" class="btn btn-primary" kjb-settings-id="language_comment_update"> {% else %} <input type="submit" name="commit" data-disable-with="Submitting" value="{{ settings.language_comment_add }}" class="btn btn-primary" kjb-settings-id="language_comment_add"> {% endif %} <a class="btn btn-primary btn-link" data-remote="true" href="{{ comment.url }}" kjb-settings-id="language_comment_cancel">{{ settings.language_comment_cancel }}</a> {% endform %}

    post.liquid

    This page displays a specific Post within a Product.

    We strongly recommend you include the following: - {{ post.video }} - {{ post.poster_image_url }} - {{ post.title }} - {{ post.body }} - {{ post.downloads[n].display_name }} - {{ post.downloads[n].url }}

    product.liquid

    This page is the initial view or front page of a Product.

    We strongly recommend you include the following: - Display category(s)/subcategory(s)/post(s) - {{ current_product.title }} - {{ current_product.description }} - {{ current_product.thumbnail_url }} or {{ 'null_image.png' | asset_url }} - {{ current_product.categories }}

    search.liquid

    Displays search results.

    We strongly recommend you include the following: - {% if search.performed %} check - {{ search.results.size }} - {{ search.terms }} - {% paginate search.results by x %} pagination - {{ search.results[n] }} consisting of: - {{ post.url }} - {{ post.title }} - {{ post.body }}

    announcements.liquid

    Displays announcements for the current product.

    We strongly recommend you include the following: - {% paginate current_product.announcements by x %} pagination - for each {{ announcement }}: - {{ announcement.title }} - {{ announcement.body }} - {{ announcement.created_at }} (optional) - {{ announcement.updated_at }} (optional)

    Contact support or access our 24/7 Live Chat:

    Contact Support Live Chat

    Need Help? Live Chat with Us.