- CrystalCommerce Liquid Documentation for Designers

Page Drop

This drop is included on this page in with the variable name {{ drop_name }}.

Properties

title
Title of the page. Example: “You’re gonna love my nuts”
content
Content of the page Example “A bunch of HTML here.”
keywords
Comma-separated string of keyword phrases Example: “frequently asked questions, buylist policy”
description
Description of site Example: “Joe’s Crab Shack is a restaurant serving fine dining at affordable prices.”
has_keywords?
True if there are keywords, false otherwise
index_page
Returns true if the current page is the index (default) page.
url
Returns the path for the page Example: “/faq_policies”
tag_list
Array of tags on the page. Useful for showing pages in different menus:
{% if page.tag_list contains 'topmenu' %}
<li class="page_item"><h2><a href="{{ page.url }}">{{ page.title }}</a></h2></li>
{% endif %}