diff --git a/templates/partials/copyright.html b/templates/partials/copyright.html index 4e192d4..b9cfc01 100644 --- a/templates/partials/copyright.html +++ b/templates/partials/copyright.html @@ -7,9 +7,7 @@ {%- endif -%} {%- elif config.extra.translate_copyright -%} {# Old way to translate the copyright through toml files #} - {# When the feature is removed, uncomment below to throw a descriptive error #} - {# {{ throw(message="ERROR: The 'translate_copyright' feature has been deprecated. Please set 'copyright_translations' in config.toml. See the documentation: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#copyright") }} #} - {% set copyright = macros_translate::translate(key="copyright", default=config.extra.copyright, language_strings=language_strings) %} + {{ throw(message="ERROR: The 'translate_copyright' feature has been deprecated. Please set 'copyright_translations' in config.toml. See the documentation: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#copyright") }} {%- endif -%} {# Check for missing variables in the notice #}