Page variables
Every page has access to these variables.

Variable Description
idid number assigned to page e.g. {{ }}
title e.g. {{ page.title }}
name e.g. {{ }}
slug e.g. {% if page.slug == 'innovation' %}
excerpt e.g. {{ page.excerpt }}
headline e.g. {{ page.headline }}
attachments Array of page attachments
type_namePage type name e.g. Blog, Donation, Petition Signature, etc.
type_slugPage type by slug e.g. blog, volunteer_signup, petition_signature
icon16x16 icon corresponding to the page's type e.g. {{ page.icon | icon }}
has_author?Does this page have an author?
author e.g. {{ }}
published_atWhen this page was published e.g. {{ page.published_at | date: '%b %d, %Y %l:%M %p' }}
has_meta_image?Does the site have a primary image?
meta_image_urlLogo used by Facebook share/digg/etc. e.g. <img src="{{ page.meta_image_url }}" />
meta_image_medium_urlImage used by Facebook share/digg/etc. e.g. <img src="{{ page.meta_image_medium_url }}" />
meta_image_large_urlImage used by Facebook share/digg/etc. e.g. <img src="{{ page.meta_image_large_url }}" />
Variable Description
is_user_submitted?Was this page submitted by a user true or false
show_stream?Checks if the activity stream is enabled true or false
is_commentable?Checks if comments are enabled true or false
comments_countNumber of comments {{ page.comments_count }} comments
followers_count# of people following this page
followersAll the page followers
follow_urlURL to follow this page
unfollow_urlURL to unfollow this page
flag_urlURL to flag this page
has_rule_violation?Checks if the page violated a rule e.g. {% if page.has_rule_violation? %}
Variable Description
tweet_urlLink to tweet this page through Twitter
default_face_tweet_textDefault text used for the face tweet, and twitter/facebook sharing e.g. {{ page.default_face_tweet_text }}
default_tweet_textNo longer used
default_tweet_text_without_urlNo longer used
default_facebook_textNo longer used
google_buzz_urlPath to page's Google Buzz URL e.g.
text_keyword_instructionsIf the action on this page can be taken by texting a keyword, this will give the instructions e.g. {{ page.text_keyword_instructions }} likes
Variable Description
is_homepage?Checks if the page is the homepage e.g. {% if page.is_homepage? == false %}
has_parent?Does this page have a parent? e.g. {% if page.has_parent? %}
parentThe parent page of this page. e.g. {{ page.parent.title }}
ancestorsAncestors of the page e.g. {% for ancestor in page.ancestors %}
self_and_ancestorsThe page itself and its ancestors e.g. {% for ancestor in page.ancestors %}
descendantsDescendants of the page e.g. {% for descendants in page.descendants %}
self_and_descendantsThe page itself and its descendants e.g.
has_children?Does this page have children? e.g.
childrenChildren of the page e.g.
children_countNumber of page children e.g.
has_subnav?Does this page have a subnav? e.g.
subnav_countNumber of subnav pages e.g.
nav_childrenSubnav pages e.g.
levelHow many levels deep in the hierarchy e.g.
leaf?Checks if the page is a leaf e.g. true or false
is_nav?Checks if page is in the top nav e.g. Toggled on/off in admin panel
is_supporter_nav?Checks if page is in the supporter nav e.g. Toggled on/off in admin panel
is_or_is_descendant_of_current_page?? e.g.
is_or_is_ancestor_of_current_page?? e.g.
most_recent_published_descendantsMost recently published descendants of page e.g.
most_recent_published_descendantMost recently published descendant of page e.g.
features_countNumber of published featured content sliders e.g. 2
featuresAll the featured content sliders e.g. {% for feature in page.features %}{% endfor %}
page_class_nameUsed to trigger different CSS classes per pagetype in the "body" of the layout.html template
Variable Description
activitiesPaginated array of activities associated with this page e.g.
activities_countTotal number of reactions/activities public & private e.g. {{ page.activities_count }} reactions
public_activities_countNumber of public activities for page e.g. {{ page.public_activities_count }} reactions
private_activities_countNumber of private activities for page e.g. {{ page.private_activities_count }} not shown
page_leaderboardsDisplays any leaderboard for page e.g.
donations_amountTotal amount donated from page e.g. {{ page.donations_amount_format }} raised
donations_countTotal number of donations from page e.g. {{ page.donations_count }} donors
most_recent_donationMost recent donor from page
e.g. {{ page.most_recent_donation.signup.published_name_linked }}
pledges_amountTotal amount pledged from page e.g. {{ page.pledges_amount_format }} raised
pledges_countTotal number of pledges from page e.g. {{ page.pledges_count }} donors
tags_countTotal number of tags on this page e.g. {{ page.tags_count }} tags
tagsArray of page tags
Variable Description
urlLocal URL path e.g. pages/nyc
full_urlFull URL path e.g.
full_url_with_recruiterFull URL with recruiter id e.g.
url_with_twitter_authorizationGet Twitter authorization, then go to this page e.g. /pages/nyc
url_with_facebook_authorizationGet Facebook authorization, then go to this page e.g. pages/nyc
url_with_facebook_email_authorizationGet Facebook authorization, including email address, then go to this page e.g. pages/nyc
admin_edit_urlLocal path to page's admin settings e.g. /admin/sites/1/pages/18/edit
admin_subpages_urlLocal path to page's subpages e.g. /admin/sites/1/pages/18/subpages
admin_new_subpage_urlLocal path to create a new subpage for page e.g. /admin/sites/1/pages/new?parent_id=18
admin_urlLocal path to page's admin dashboard e.g. /admin/sites/1/pages/new?parent_id=18
has_rss?Does this page have an RSS feed? e.g. {% if page.has_rss? %}{% endif %}
rss_urlURL of RSS feed e.g.
Do you like this page?