extracted page content to config file
This commit is contained in:
parent
4515b01deb
commit
e0b6d58122
|
@ -2,6 +2,7 @@
|
||||||
import "@srx/styles/base.css";
|
import "@srx/styles/base.css";
|
||||||
import Navbar from "@srx/components/Navbar.astro";
|
import Navbar from "@srx/components/Navbar.astro";
|
||||||
import Footer from "@srx/components/Footer.astro";
|
import Footer from "@srx/components/Footer.astro";
|
||||||
|
import Config from "@srx/config/page.json";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
metaTitle?: string;
|
metaTitle?: string;
|
||||||
|
@ -20,9 +21,9 @@ interface Props {
|
||||||
}
|
}
|
||||||
|
|
||||||
const {
|
const {
|
||||||
metaTitle = "srx digital",
|
metaTitle = Config.site.title,
|
||||||
metaSubtitle = "Development & Operations",
|
metaSubtitle = Config.site.subtitle,
|
||||||
metaDescription = "Hallo! Ich bin Sebastian aus Hamburg, spezialisiert auf Softwareentwicklung und Plattformengineering. Meine Welt sind Linux, Container, Cloud und Hardware, besonders wenn's um Open-Source geht. Ich helfe Firmen, ihre Digitalstrategien erfolgreich zu realisieren.",
|
metaDescription = Config.site.description,
|
||||||
metaImage = `${Astro.url}srx_digital_opengraph.jpg`,
|
metaImage = `${Astro.url}srx_digital_opengraph.jpg`,
|
||||||
metaAuthors = ["Sebastian Wendel"],
|
metaAuthors = ["Sebastian Wendel"],
|
||||||
metaType = "website",
|
metaType = "website",
|
||||||
|
|
Loading…
Reference in a new issue