This would be a good macro - if we were using Jinja.  Oh well.