This question may be related to a resolved thread.
I am trying to create something very similar to the thread above. In each post on the page I would like to have a conditional that shows “Posted in CATEGORY” only if there is an associated category. But I cannot find a conditional variable in Global or Weblog conditionals that allow me to target the presence of categories. If one exists my code would look something like this:
{if category_name != ""}
Posted in
{categories}
<a href="http://{path={my_weblog}categories}">{category_name}</a>
{/categories}
{/if}How can I work around this to target categories assigned to each post?