{% assign copyright-year = site.copyright-year %} {% unless copyright-year %} {% capture copyright-year %}{{ 'now' | date: '%Y' }}{% endcapture %} {% endunless %}