1
0
Fork 0

add opengraph info maybe

This commit is contained in:
ChaotiCryptidz 2022-05-31 22:22:46 +01:00
parent 91a0082b41
commit 9fb45c0588
No known key found for this signature in database
4 changed files with 87 additions and 68 deletions

View file

@ -5,6 +5,8 @@ import { FoodExcludeTypes } from "./types";
const FONT_TYPES = [
["default", "Default (Comic Sans, Comic Neue or Default)"],
["system", "System Sans Font (as picked by Bootstrap Defaults)"],
["comicneue", "Comic Neue"],
["opendyslexic", "Open Dyslexic"]
];

View file

@ -63,6 +63,9 @@ body {
html [data-font="default"] {
font-family: $fonts-comic-sans-neue;
}
html [data-font="system"] {
font-family: $default-fonts;
}
html [data-font="comicneue"] {
font-family: $fonts-comic-neue;
}

View file

@ -22,7 +22,14 @@ module.exports = {
},
devtool: "eval-source-map",
plugins: [
new HtmlWebpackPlugin({ title: "Chaos's Food Likes/Dislikes" })
new HtmlWebpackPlugin({
title: "Chaos's Food Likes/Dislikes",
aseUrl: './',
meta: {
'og:title': { property: 'og:title', content: "Chaos's Food Likes/Dislikes" },
'og:description': { property: 'og:description', content: "A list for all the foods we like, dislike and find unable to eat due to sensory difficulties." },
},
})
],
devServer: {
historyApiFallback: true,

View file

@ -20,7 +20,14 @@ module.exports = {
hints: false,
},
plugins: [
new HtmlWebpackPlugin({ title: "Chaos's Food Likes/Dislikes", baseUrl: './' })
new HtmlWebpackPlugin({
title: "Chaos's Food Likes/Dislikes",
aseUrl: './',
meta: {
'og:title': { property: 'og:title', content: "Chaos's Food Likes/Dislikes" },
'og:description': { property: 'og:description', content: "A list for all the foods we like, dislike and find unable to eat due to sensory difficulties." },
},
})
],
devServer: {
historyApiFallback: true,