add opengraph info maybe
This commit is contained in:
parent
91a0082b41
commit
9fb45c0588
|
@ -5,6 +5,8 @@ import { FoodExcludeTypes } from "./types";
|
||||||
|
|
||||||
const FONT_TYPES = [
|
const FONT_TYPES = [
|
||||||
["default", "Default (Comic Sans, Comic Neue or Default)"],
|
["default", "Default (Comic Sans, Comic Neue or Default)"],
|
||||||
|
["system", "System Sans Font (as picked by Bootstrap Defaults)"],
|
||||||
|
|
||||||
["comicneue", "Comic Neue"],
|
["comicneue", "Comic Neue"],
|
||||||
["opendyslexic", "Open Dyslexic"]
|
["opendyslexic", "Open Dyslexic"]
|
||||||
];
|
];
|
||||||
|
|
|
@ -63,6 +63,9 @@ body {
|
||||||
html [data-font="default"] {
|
html [data-font="default"] {
|
||||||
font-family: $fonts-comic-sans-neue;
|
font-family: $fonts-comic-sans-neue;
|
||||||
}
|
}
|
||||||
|
html [data-font="system"] {
|
||||||
|
font-family: $default-fonts;
|
||||||
|
}
|
||||||
html [data-font="comicneue"] {
|
html [data-font="comicneue"] {
|
||||||
font-family: $fonts-comic-neue;
|
font-family: $fonts-comic-neue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,14 @@ module.exports = {
|
||||||
},
|
},
|
||||||
devtool: "eval-source-map",
|
devtool: "eval-source-map",
|
||||||
plugins: [
|
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: {
|
devServer: {
|
||||||
historyApiFallback: true,
|
historyApiFallback: true,
|
||||||
|
|
|
@ -20,7 +20,14 @@ module.exports = {
|
||||||
hints: false,
|
hints: false,
|
||||||
},
|
},
|
||||||
plugins: [
|
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: {
|
devServer: {
|
||||||
historyApiFallback: true,
|
historyApiFallback: true,
|
||||||
|
|
Loading…
Reference in a new issue