feat(*): refactor metadata handling; move metadata to backend where possible, refine client views
This commit is contained in:
parent
929bc9f9f8
commit
9687509e4a
35 changed files with 506 additions and 339 deletions
|
@ -1,10 +1,9 @@
|
|||
{%- assign description = pageDescription | markdown | strip_html | htmlTruncate | escape -%}
|
||||
<title>{{ pageTitle }}</title>
|
||||
<meta name="description" content="{{ pageDescription | markdown | strip_html | htmlTruncate | escape }}" />
|
||||
<meta property="og:title" content="{{ pageTitle }}" />
|
||||
<meta name="description" content="{{ description }}" />
|
||||
<meta property="og:description" content="{{ description }}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:description" content="{{ pageDescription | markdown | strip_html | htmlTruncate | escape }}" />
|
||||
<meta property="og:type" content="{{ page.metadata.type | default: 'article' }}" />
|
||||
<meta property="og:url" content="{{ fullUrl }}" />
|
||||
<link rel="alternate" type="application/json+oembed" href="{{ oembedUrl }}" title="{{ pageTitle }}">
|
||||
<link rel="canonical" href="{{ fullUrl }}" />
|
||||
<meta property="og:image" content="{{ ogImage }}" />
|
||||
<link rel="alternate" type="application/json+oembed" href="{{ oembedUrl }}" title="{{ pageTitle }}" />
|
||||
<link rel="canonical" href="{{ fullUrl }}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue