mirror of
https://github.com/Mikaela/cv.git
synced 2024-11-25 18:09:24 +01:00
head: fix title, og:title & og:site_name
This commit is contained in:
parent
d3ee0eff13
commit
730bd2c597
@ -1,13 +1,13 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noai">
|
||||
<title>{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}" </title>
|
||||
<title>{{site.title}} {{ page.title }} — {{site.author}}</title>
|
||||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="referrer" content="no-referrer" />
|
||||
<meta name="og:title" content="{% if page.title %}{{ page.title }} ~~ {{ site.title }}{% else %}{{ site.title }}{% endif %}" />
|
||||
<meta name="og:title" content="{{site.title}} {{ page.title }} — {{site.author}}" />
|
||||
<meta name="og:description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description | nstrip_html | strip_newlines }}{% endif %}" />
|
||||
<meta name="og:site_name" content="{{site.title}}" />
|
||||
<meta name="og:site_name" content="{{site.title}} — {{site.author}}" />
|
||||
<meta name="og:image" content="{{site.icon}}"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
|
||||
|
Loading…
Reference in New Issue
Block a user