Build Your Course The Easy Way
Get Started Free

blog_post

The liquid object `blog_post` returns information about your current Blog Post.

In this article:


    blog_post.id

    Returns the unique id for the current Blog Post.

    <p>This Blog Posts's id is {{ blog_post.id }}.</p>

    blog_post.title

    Returns the Title for the current Blog Post.

    <h1>{{ blog_post.title }}</h1>

    blog_post.content

    Returns the Content for the current Blog Post.

    {{ blog_post.content }}

    blogpost.imageurl

    Returns the Image URL for the current Blog Post.

    <img src="{{ blog_post.image_url }}">

    blogpost.createdat

    Returns the timestamp for when the current Blog Post was created.

    <p>Blog posted on {{ blog_post.created_at }}.</p>

    blog_post.url

    If a blog custom domain is present, this will return the custom domain. Otherwise, this will return the default path for the blog post.

    <a href="{{ blog_post.url}}">

    blog_post.tags

    Returns the collection of tags for the current Blog Post. (Note: it's best to use the join filter, as demonstrated below, in order to add comma-separation.)

    <p>Tags: {{ blog_post.tags | join: ', ' }}</p>

    Contact support or access our 24/7 Live Chat:

    Contact Support Live Chat

    Need Help? Live Chat with Us.