Hugo params for image as well, update index fornt matter

This commit is contained in:
Thomas Smith 2023-03-23 16:38:05 -04:00
parent dca90ee23b
commit 03414ccfdc
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,8 @@
--- ---
title: "Home" title: "Install tea"
Description: "the next-generation, crossplatform package manager" Description: "the next-generation, crossplatform package manager"
layout: "index" layout: "index"
og_image: "/static/cover.png"
menu: main menu: main
weight: 1 weight: 1
--- ---

View file

@ -83,7 +83,7 @@
<meta name="twitter:image:alt" content="sh &lt;(curl tea.xyz)"> <meta name="twitter:image:alt" content="sh &lt;(curl tea.xyz)">
<meta name="twitter:title" content="{{ .Params.title }}"> <meta name="twitter:title" content="{{ .Params.title }}">
<meta name="twitter:site" content="@teaxyz_"> <meta name="twitter:site" content="@teaxyz_">
<meta name="twitter:image" content="http://www.tea.xyz.s3-website-us-east-1.amazonaws.com/cover.png"> <meta name="twitter:image" content="{{ .Params.og_image }}">
<meta name="twitter:description" content="{{ .Params.Description }}"> <meta name="twitter:description" content="{{ .Params.Description }}">
<meta name="twitter:creator" content="@mxcl"> <meta name="twitter:creator" content="@mxcl">
@ -91,7 +91,7 @@
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:title" content="{{ .Params.title }}" /> <meta property="og:title" content="{{ .Params.title }}" />
<meta property="og:description" content="{{ .Params.Description }}" /> <meta property="og:description" content="{{ .Params.Description }}" />
<meta property="og:image" content="http://www.tea.xyz.s3-website-us-east-1.amazonaws.com/cover.png" /> <meta property="og:image" content="{{ .Params.og_image }}" />
<meta property="og:image:alt" content="sh &lt;(curl tea.xyz)" /> <meta property="og:image:alt" content="sh &lt;(curl tea.xyz)" />
<meta property="og:site_name" content="Tea, Inc."> <meta property="og:site_name" content="Tea, Inc.">
<meta name="facebook-domain-verification" content="0fsbdl7joh0gha23zbhtovtpn0z0cl" /> <meta name="facebook-domain-verification" content="0fsbdl7joh0gha23zbhtovtpn0z0cl" />