Move meta tags into a partial
This commit is contained in:
parent
a30e3a71ea
commit
40685312fa
2 changed files with 11 additions and 10 deletions
10
source/_partials/meta.html.twig
Normal file
10
source/_partials/meta.html.twig
Normal file
|
@ -0,0 +1,10 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
|
||||
|
||||
{% if page.meta.description %}
|
||||
<meta name="description" content="{{ page.meta.description|e('html') }}">
|
||||
{% endif %}
|
||||
|
||||
{% include 'og' with { og: page.meta.og } %}
|
Loading…
Add table
Add a link
Reference in a new issue