Generate card from banner if present. Use page/section description instead of config if available (fixes #51 and #50)
This commit is contained in:
7
templates/partials/description.html
Normal file
7
templates/partials/description.html
Normal file
@ -0,0 +1,7 @@
|
||||
{%- if page.description -%}
|
||||
{{- page.description }}
|
||||
{%- elif section.description -%}
|
||||
{{- section.description }}
|
||||
{%- else -%}
|
||||
{{- config.description -}}
|
||||
{%- endif -%}
|
Reference in New Issue
Block a user