Add social image that's better than just the logo

This commit is contained in:
Robbie Antenesse 2019-07-17 16:25:22 -06:00
parent f4ad87f73b
commit 5ba84abd0e
6 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@
<meta property="og:type" content="article"> <meta property="og:type" content="article">
<meta property="og:title" content="Advertising on Lexiconga"> <meta property="og:title" content="Advertising on Lexiconga">
<meta property="og:description" content="Buy advertisement space on Lexiconga"> <meta property="og:description" content="Buy advertisement space on Lexiconga">
<meta property="og:image" content="processedImages/logo.png"> <meta property="og:image" content="processedImages/social.jpg">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:image:alt" content="Lexiconga logo"> <meta name="twitter:image:alt" content="Lexiconga logo">

View File

@ -9,7 +9,7 @@ if (!fs.existsSync(folder)) {
const favicon = sharp('./src/images/favicon.svg'); const favicon = sharp('./src/images/favicon.svg');
sharp('./src/images/logo.svg').toFile(folder + 'logo.png', (err, info) => { sharp('./src/images/social.jpg').toFile(folder + 'social.jpg', (err, info) => {
if (err) return console.error(err); if (err) return console.error(err);
console.log(info); console.log(info);
}); });

View File

@ -12,7 +12,7 @@
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:title" content="Lexiconga (OFFLINE)"> <meta property="og:title" content="Lexiconga (OFFLINE)">
<meta property="og:description" content="The quick and easy (offline) dictionary builder for constructed languages."> <meta property="og:description" content="The quick and easy (offline) dictionary builder for constructed languages.">
<meta property="og:image" content="processedImages/logo.png"> <meta property="og:image" content="processedImages/social.jpg">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:image:alt" content="Lexiconga logo"> <meta name="twitter:image:alt" content="Lexiconga logo">

BIN
src/images/social.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -12,7 +12,7 @@
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:title" content="Lexiconga"> <meta property="og:title" content="Lexiconga">
<meta property="og:description" content="The quick and easy dictionary builder for constructed languages."> <meta property="og:description" content="The quick and easy dictionary builder for constructed languages.">
<meta property="og:image" content="processedImages/logo.png"> <meta property="og:image" content="processedImages/social.jpg">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:image:alt" content="Lexiconga logo"> <meta name="twitter:image:alt" content="Lexiconga logo">

View File

@ -13,7 +13,7 @@
<meta property="og:type" content="website"> <meta property="og:type" content="website">
<meta property="og:title" content="{{dict_name}}"> <meta property="og:title" content="{{dict_name}}">
<meta property="og:description" content="A Lexiconga dictionary by {{public_name}}"> <meta property="og:description" content="A Lexiconga dictionary by {{public_name}}">
<meta property="og:image" content="processedImages/logo.png"> <meta property="og:image" content="processedImages/social.jpg">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:image:alt" content="Lexiconga logo"> <meta name="twitter:image:alt" content="Lexiconga logo">