mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Update default_head_tags.html
This commit is contained in:
parent
4e06bb6bae
commit
3d7a353bdb
@ -2,21 +2,28 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<!-- HTML Meta Tags -->
|
<!-- HTML Meta Tag Title -->
|
||||||
<title>Tom Hodson - {{ page.title }}</title>
|
<title>Tom Hodson - {{ page.title }}</title>
|
||||||
<meta property="og:title" content="Tom Hodson - {{ page.title }}">
|
<meta property="og:title" content="Tom Hodson - {{ page.title }}">
|
||||||
<meta name="twitter:title" content="Tom Hodson - {{ page.title }}">
|
<meta name="twitter:title" content="Tom Hodson - {{ page.title }}">
|
||||||
|
|
||||||
|
<!-- HTML Meta Tag Theme Color -->
|
||||||
<meta name="theme-color" content="#fcfcfc">
|
<meta name="theme-color" content="#fcfcfc">
|
||||||
|
|
||||||
|
{% if page.excerpt %}
|
||||||
|
<!-- HTML Meta Tag Description -->
|
||||||
<meta name="description" content="{{page.excerpt | strip_html | strip}}">
|
<meta name="description" content="{{page.excerpt | strip_html | strip}}">
|
||||||
<meta property="og:description" content="{{page.excerpt | strip_html | strip}}">
|
<meta property="og:description" content="{{page.excerpt | strip_html | strip}}">
|
||||||
<meta name="twitter:description" content="{{page.excerpt | strip_html | strip}}">
|
<meta name="twitter:description" content="{{page.excerpt | strip_html | strip}}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<!-- HTML Meta Tag Url -->
|
||||||
<meta property="og:url" content="{{page.url | absolute_url}}">
|
<meta property="og:url" content="{{page.url | absolute_url}}">
|
||||||
<meta property="twitter:domain" content="thomashodson.com">
|
<meta property="twitter:domain" content="thomashodson.com">
|
||||||
<meta property="twitter:url" content="{{page.url | absolute_url}}">
|
<meta property="twitter:url" content="{{page.url | absolute_url}}">
|
||||||
<meta name="twitter:site" content="@T_Hodson">
|
<meta name="twitter:site" content="@T_Hodson">
|
||||||
|
|
||||||
|
<!-- HTML Meta Tag Type -->
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
|
|
||||||
{% if page.social_image %}
|
{% if page.social_image %}
|
||||||
@ -38,6 +45,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if image %}
|
{% if image %}
|
||||||
|
<!-- HTML Meta Tag Image -->
|
||||||
|
|
||||||
<!-- This tag enables pages to be featured in Google Discover as large previews
|
<!-- This tag enables pages to be featured in Google Discover as large previews
|
||||||
See: https://developers.google.com/search/docs/advanced/mobile/google-discover?hl=en&visit_id=637424198370039526-3805703503&rd=1 -->
|
See: https://developers.google.com/search/docs/advanced/mobile/google-discover?hl=en&visit_id=637424198370039526-3805703503&rd=1 -->
|
||||||
<meta name="robots" content="max-image-preview:large">
|
<meta name="robots" content="max-image-preview:large">
|
||||||
@ -45,10 +54,10 @@ See: https://developers.google.com/search/docs/advanced/mobile/google-discover?h
|
|||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:image" content="{{image | absolute_url}}">
|
<meta name="twitter:image" content="{{image | absolute_url}}">
|
||||||
<meta property="og:image" content="{{image | absolute_url}}">
|
<meta property="og:image" content="{{image | absolute_url}}">
|
||||||
{% if alt %} <!-- Note og:image:alt must immediately follow og:image tag -->
|
{% if alt %} <!-- Note og:image:alt must immediately follow og:image tag -->
|
||||||
<meta property="og:image:alt" content="{{alt | strip}}">
|
<meta property="og:image:alt" content="{{alt | strip}}">
|
||||||
<meta property="twitter:image:alt" content="{{alt | strip}}">
|
<meta property="twitter:image:alt" content="{{alt | strip}}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- indieauth.com authentication -->
|
<!-- indieauth.com authentication -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user