{% blog_post %}

Fetch a single blog_post.


{% blog_post [[var|set|assign] new_variable_name] [output_to_template] blog_post|guid|string %}

You MUST include at least either a variable name to assign the blog_post to, "output_to_template", or both (if both, output_to_template should be the later argument).

If you are assigning the blog_post to a variable and do not specify one of "var", "set", or "assign", then the "var" behavior will be used - which is to save the result on the current scope. If new_variable_name starts with '&', will attempt to assign the value by reference.

If you are outputting the blog_post to the template, it will use the default output for blog posts.

Developer Overview

Liquid Markup