Add social image that's better than just the logo
This commit is contained in:
parent
f4ad87f73b
commit
5ba84abd0e
|
@ -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">
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
|
@ -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">
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue