Blog HubL Variables Reference - Complete Test Page

Current Blog Post: This page is a blog post template that displays all available blog-related HubL variables. Click on any section header to expand/collapse that section.
Note: This page contains every major blog-related HubL variable with labels for testing and documentation purposes. Copy and paste this code into a HubSpot blog post template to see the actual output values.

Current Blog Post Content Variables

Variables for the current blog post being viewed

Basic Post Information

content.id: 195952262994

content.name: Hi!

content.slug: outdoors/hihihihi

content.absolute_url: https://www.coffeeforghosts.com/outdoors/hihihihi

content.url: https://www.coffeeforghosts.com/outdoors/hihihihi

content.html_title: Hi!

content.page_title: Hi!

content.meta_description: Good stuff

content.meta_keywords:

content.meta_keywords:

Post Content

content.post_body:

Hi!!

content.tag_list: [Homebrew, Done]

content.topics:

contents_topics:

content.tags:

contents_tags:

content.tag_ids: [5549229540, 26643169117]

content.topic_list: [Homebrew, Done]

content.topic_ids: [5549229540, 26643169117]

Loop using tag_list

content.tag_list: Homebrew

content.tag_list: Done

Tag list filter test

Posts by Tag

 

 

content.post_summary:

Hi!!

content.post_list_content:

Hi!!

content.rss_body:

Hi!!

content.tag_list: [Homebrew, Done]

content.topics:

contents_topics:

content.tags:

contents_tags:

content.tag_ids: [5549229540, 26643169117]

content.topic_list: [Homebrew, Done]

content.topic_ids: [5549229540, 26643169117]

Loop using tag_list

content.tag_list: Homebrew

content.tag_list: Done

Tag list filter test

Posts by Tag

 

 

content.rss_summary:

Hi!!

Publishing Information

content.publish_date: 2025-09-12 16:37:59

content.publish_date_localized: Sep 12, 2025 12:37:59 PM

content.created: 1757695028988

content.updated: 1757955438357

content.published:

content.is_draft: false

content.archived: false

content.state: PUBLISHED

content.current_state: PUBLISHED

Author Information

content.author_name:

content.author_email:

content.author_username:

content.blog_author: Eric "Standing Desk" Devenney

content.blog_post_author: Eric "Standing Desk" Devenney

content.created_by_id: 2931299

content.updated_by_id: 2931299

Featured Image

content.featured_image:

content.featured_image_alt_text:

content.preview_image_src:

content.post_list_summary_featured_image:

Tags and Topics

content.tag_list: [Homebrew, Done]

content.topics:

contents_topics:

content.tags:

content_tags:

content.tag_ids: [5549229540, 26643169117]

content.topic_list: [Homebrew, Done]

content.topic_ids: [5549229540, 26643169117]

Post filter:

Posts by Tag expanded

Navigation (Previous/Next Posts)

content.next_post_name: Hi clone!

content.next_post_slug: outdoors/hi-clone

content.next_post_featured_image:

content.next_post_featured_image_alt_text:

content.previous_post_name:

content.previous_post_slug:

content.previous_post_featured_image:

content.previous_post_featured_image_alt_text:

Comments

content.comment_count: 0

content.comment_list: []

Campaign and Marketing

content.campaign:

content.campaign_name:

Technical Properties

content.template_path:

content.language: en

content.domain:

content.folder_id:

content.style_override_id:

content.head_html:

content.link_rel_canonical:

Translation

content.translation_id:

content.translated_from_id:

Page Expiry

content.page_expiry_enabled:

content.page_expiry_time:

content.page_expiry_redirect_id:

content.page_expiry_redirect_url:

Security and Access

content.password:

content.cloneable:

content.create_page:

Widgets and Modules

content.widgets: {}

content.widget_containers: {}

content.usages:

A/B Testing

content.ab_test_id:

content.ab_variation: false

Blog Object Variables

Variables for the blog that contains this post

Basic Blog Information

blog.id: 30742428004

blog.name: In Thru the Outdoors

blog.public_title: In Thru the Outdoors

blog.slug: outdoors

blog.absolute_url: https://www.coffeeforghosts.com/outdoors

blog.root_url: https://www.coffeeforghosts.com/outdoors

blog.domain: www.coffeeforghosts.com

blog.description:

Blog Settings

blog.allow_comments: true

blog.archived:

blog.language: en

blog.site_id:

Blog Content

blog.html_title:

blog.html_keywords: []

blog.html_head:

blog.html_footer:

blog.header_html:

blog.footer_html:

Blog Posts and Authors

blog.blog_posts:

blog.blog_author:

blog.blog_post_tags:

Timestamps

blog.created: 1592246735950

blog.updated: 1757697332657

blog.deleted_at: 0

Blog Group Variables

Variables for the blog group (alternative to blog object)

Group Information

group.id: 30742428004

group.name: In Thru the Outdoors

group.public_title: In Thru the Outdoors

group.slug: outdoors

group.absolute_url: https://www.coffeeforghosts.com/outdoors

group.description:

group.language: en

Group Settings

group.allow_comments: true

group.html_title:

group.header:

group.show_summary_in_listing: true

group.use_featured_image_in_summary: true

Blog Author Variables

Variables for the blog post author

Author Information

blog_author:

blog_author.display_name:

blog_author.slug:

blog_author.bio:

blog_author.avatar:

blog_author.email:

blog_author.full_name:

blog_author.first_name:

blog_author.last_name:

blog_author.website:

blog_author.twitter:

blog_author.facebook:

blog_author.linkedin:

blog_author.google_plus:

blog_author.instagram:

blog_author.youtube:

blog_author.pinterest:

blog_author.github:

blog_author.created:

blog_author.updated:

blog_author.deleted_at:

Blog Listing Variables

Variables for blog listing pages and pagination

Pagination

current_page_num:

last_page_num:

next_page_num:

simple_list_page:

archive_list_page:

Blog Posts Collection

contents:

contents.total_count:

contents.total_page_count:

contents_topics:

Post Iteration Variables

post.id:

post.name:

post.slug:

post.absolute_url:

post.post_summary:

post.featured_image:

post.featured_image_alt_text:

post.publish_date:

post.publish_date_localized:

post.blog_author:

post.tag_list:

post.topic_list:

Global Variables (Available in Blog Context)

Global variables that are available in all templates including blog posts

Account and Portal

account: {}

hub_id: 2272014

portal_id: 2272014

company_domain: http://bird.estate

Contact Information

contact: {newcustomproperty=test, meetings_links=Book a meeting}

request_contact: ContentRequestContact id=null type=null Vid=null

Site Settings

site_settings: SiteSettings[id=null, portalId=null]

site_settings.primary_blog_id:

site_settings.company_name: HubSpot

site_settings.company_domain: bird.estate

Page Meta

page_meta: com.hubspot.content.model.meta.ContentMeta@403cc1ea

page_meta.html_title: Hi!

page_meta.meta_description: Good stuff

page_meta.canonical_url: https://www.coffeeforghosts.com/outdoors/hihihihi

Time and Date

local_dt: 2025-09-29 23:43:38

local_time_zone: America/New_York

now:

year: 2025

Analytics and Tracking

hubspot_analytics_tracking_code:

favicon_link:

Editor Detection

is_in_hs_app: false

is_in_editor: false

is_in_blog_post_editor:

is_in_blog_post_previewer:

is_in_previewer: false

Request Variables

HTTP request information and URL parameters

Request Information

request.domain: www.coffeeforghosts.com

request.full_url: https://www.coffeeforghosts.com/outdoors/hihihihi

request.path: /outdoors/hihihihi

request.path_and_query: /outdoors/hihihihi

request.query:

request.query_dict: {}

request.scheme: https

request.remote_ip: 172.23.151.136

request.user_agent:

request.referrer:

Search Information

request.search_engine:

request.search_keyword:

Headers and Cookies

request.headers: {user-agent=Content Rendering No-Retry No-Redirect Client/1.0, connection=keep-alive, host=www.coffeeforghosts.com, accept-encoding=snappy,gzip,deflate, x-hs-public-host=www.coffeeforghosts.com}

request.cookies: {}

Menu Variables

Navigation menu variables

Menu Functions

menu("primary"): PageTreeNode{label=null, url=null, children=, activeBranch=false, activeNode=false, level=null, pageTitle=null, pageId=null, slug=null, linkTarget=null}

menu("footer"): PageTreeNode{label=null, url=null, children=, activeBranch=false, activeNode=false, level=null, pageTitle=null, pageId=null, slug=null, linkTarget=null}

menu("blog"): PageTreeNode{label=null, url=null, children=, activeBranch=false, activeNode=false, level=null, pageTitle=null, pageId=null, slug=null, linkTarget=null}

Menu Node Properties (when iterating)

node.label:

node.url:

node.pageId:

node.slug:

node.level:

node.activeNode:

node.activeBranch:

System Variables

System and environment variables

Font Lists

builtin_font_family_list:

google_font_family_list:

Standard Includes

standard_header_includes:

standard_footer_includes:

CSS and JS

require_css:

require_js:

Body Classes

builtin_body_classes: hs-content-id-195952262994 hs-blog-post hs-blog-id-30742428004

Widget Data Variables

Module and widget data exported to template context

widget_data: {}

Note: widget_data contains values from modules with export_to_template_context=True. Specific properties will depend on your modules, for example: widget_data.module_name.field_name
Important: Many of these variables will only have values in specific contexts. Some may return empty values or null depending on your blog setup, the current post, and whether you're viewing in the editor vs. live site.
Usage: Copy the variable expressions you need and paste them into your HubSpot blog templates to see their actual output. You can also add this entire code block to a blog post template for comprehensive testing.