Add extra meta tags

This commit is contained in:
Tom Hodson 2023-07-31 22:30:00 +01:00
parent 5b73adecb5
commit bbad43ec3e
2 changed files with 9 additions and 2 deletions

View File

@ -6,6 +6,7 @@
<title>Tom Hodson - {{ page.title }}</title>
<meta property="og:title" content="Tom Hodson - {{ page.title }}">
<meta name="twitter:title" content="Tom Hodson - {{ page.title }}">
<meta name="theme-color" content="#FFC300">
<meta name="description" content="{{page.excerpt | strip_html | strip}}">
<meta property="og:description" content="{{page.excerpt | strip_html | strip}}">
@ -14,15 +15,21 @@
<meta property="og:url" content="{{site.url}}{{page.url}}">
<meta property="twitter:domain" content="thomashodson.com">
<meta property="twitter:url" content="{{site.url}}{{page.url}}">
<meta name="twitter:site" content="@T_Hodson">
<meta property="og:type" content="website">
{% if page.image %}
<meta name="twitter:card" content="{{site.url}}{{page.image}}">
<!-- 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 -->
<meta name="robots" content="max-image-preview:large">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="{{site.url}}{{page.image}}">
<meta property="og:image" content="{{site.url}}{{page.image}}">
{% if page.alt %} <!-- Note og:image:alt must immediately follow og:image tag -->
<meta property="og:image:alt" content="{{page.alt | strip}}">
<meta property="twitter:image:alt" content="{{page.alt | strip}}">
{% endif %}
{% endif %}

View File

@ -8,7 +8,7 @@ permalink: /thesis/
<p>The formal abstract follows but, in a paragraph, it's about what happens when many electrons interact together in a way where their 'quantumness' is important. It turns out that many weird and wonderful things can happen. Alas we, quantum physicists, don't have great mathematical tools to describe these things. Trying to fix that is what this thesis is about.
<p>This is the <a href="http://thomashodson.com/thesis/">HTML version</a> of this document. A PDF version is available online with either <a href="https://github.com/TomHodson/Thesis/raw/main/thesis.pdf">normal</a> or <a href="https://github.com/TomHodson/Thesis/raw/main/double_line_spaced.pdf">double</a> line spacing.
<p>This is the <a href="thomashodson.com/thesis/">HTML version</a> of this document. A PDF version is available online with either <a href="https://github.com/TomHodson/Thesis/raw/main/thesis.pdf">normal</a> or <a href="https://github.com/TomHodson/Thesis/raw/main/double_line_spaced.pdf">double</a> line spacing.
<h3>Contents</h3>