{% import "macros.html" as macros -%} {%- set description = config.description -%} {%- if page -%} {%- set description = page.title -%} {%- elif term -%} {%- set description = "posts tagged with #" ~ term.name -%} {%- elif terms -%} {%- set description = "all tags" -%} {%- endif -%} {%- set title = title | default(value=description) -%}