acdh-oeaw / vicav-vue3

Reimplementation of the VICAV Frontend based on Vue.js 3
https://vicav-vue.acdh-ch-dev.oeaw.ac.at
MIT License
0 stars 0 forks source link

provide metadata per instance #135

Open ctot-nondef opened 6 months ago

ctot-nondef commented 6 months ago

to fill the following template, please provide a path to the properties in projectConfig:

            { name: "description", content: t("DefaultLayout.meta.description") },
            { property: "og:type", content: "website" },
            { property: "og:title", content: t("DefaultLayout.meta.title") },
            { property: "og:site_name", content: t("DefaultLayout.meta.title") },
            { property: "og:description", content: t("DefaultLayout.meta.description") },
            {
                property: "og:image",
                content: String(
                    createUrl({
                        baseUrl: env.public.NUXT_PUBLIC_APP_BASE_URL,
                        pathname: "/opengraph-image.png",
                    }),
                ),
            },
            { name: "twitter:card", content: "summary_large_image" },
            { name: "twitter:creator", content: "@acdh_oeaw" },
            { name: "twitter:site", content: "@acdh_oeaw" },