diff --git a/theme/templates/includes/macros.html b/theme/templates/includes/macros.html index 459087c..9d906ee 100644 --- a/theme/templates/includes/macros.html +++ b/theme/templates/includes/macros.html @@ -1,5 +1,6 @@ {# output a featured image for an article #} {% macro fi(pic, link='', alt='', title='', credit='', credit_link='') %} +{% if not link %}{% set link = pic %}{% endif %}