diff --git a/config.toml b/config.toml index 30687bd..36d7f32 100644 --- a/config.toml +++ b/config.toml @@ -178,6 +178,8 @@ csp = [ { directive = "base-uri", domains = ["'none'"] }, { directive = "form-action", domains = ["'none'"] } ] +# Uncomment this to disable the card displayed in share previews +# card = false [extra.nav] # Whether to automatically hide nav when not hovered or focused diff --git a/templates/partials/head.html b/templates/partials/head.html index 8b64a98..01475f6 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -119,6 +119,8 @@ - + {%- if config.extra.card is not defined or config.extra.card != false -%} + + {%- endif -%}