June 25, 2015
Recently we introduced a new set of expressions to the Blogger templating language, designed to let you customize the HTML of each post and page on your blog. We’ve gotten great feedback on them, so we figured we'd offer even more.
Now you can try out new tags, like:
- b:elseif for a simpler multiple-case b:if branch.
- b:switch and b:case for succinctly handling several possible cases of a variable.
- b:eval for evaluation of more complex expressions involving data variables.
- b:with for creating a nicer variable alias for a calculated value.
An example of customizing the markup of your blog, using the new switch tags.
If you’d like to customize your blog's template using these tags and expressions, just head to the dashboard under Settings > Template > Edit HTML. To see the full specs of the new tags or learn more, check out the help article.
Posted by Luke Bjerring, Software Engineer