diff --git a/templates/partials/title.html b/templates/partials/title.html index 297390a..de77d73 100644 --- a/templates/partials/title.html +++ b/templates/partials/title.html @@ -1,4 +1,7 @@ {#- Setup -#} +{% if not config.title %} +{{ throw(message="ERROR: No `title` set in `config.toml`. tabi requires a title to function.") }} +{% endif %} {%- set prefix = config.title | safe -%} {%- set custom_separator = config.extra.separator | default(value="•") -%} {%- set separator = " " ~ custom_separator ~ " " -%}