Have descriptions take precedence over intro's for meta tags
This commit is contained in:
parent
bc801326fc
commit
ed6292147a
|
@ -1,8 +1,8 @@
|
|||
{%
|
||||
if page.intro
|
||||
%}{{ page.intro | markdownify | strip_html }}{%
|
||||
elsif page.description
|
||||
if page.description
|
||||
%}{{ page.description }}{%
|
||||
elsif page.intro
|
||||
%}{{ page.intro | markdownify | strip_html }}{%
|
||||
elsif page.type == 'article'
|
||||
%}One-page reference for {{ page.title }}: usage, examples, links, snippets, and more.{%
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue