AndrewSimm
Well-known member
Why would base_url not show in the below code? This macro goes in an article page that is part of an add-on that I am creating. What I see when I view the source is "/date/articles/image_name.png". I am only missing the base_url.
HTML:
<xf:macro template="metadata_macros" name="metadata"
arg-description="{$article.preview}"
arg-shareUrl="{{ link('canonical:articles', $article) }}"
arg-canonicalUrl="{{ link('canonical:articles', $article) }}"
arg-imageUrl="{{ base_url('/date/articles/' . $article.image_url) }}" />