Files
website/src/layouts/index.astro
2025-08-19 20:42:14 +03:00

38 lines
1.0 KiB
Plaintext
Executable File

---
import Header from "../components/header.astro";
import Footer from "../components/footer.astro";
import "../fonts.css";
import "../style.css";
const {frontmatter, title} = Astro.props;
let props = {};
if (typeof frontmatter !== 'undefined') {
props.title = frontmatter.title;
} else { props.title = title; };
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<!--<link rel="icon" type="image/svg+xml" href="/favicon.svg" />-->
<meta name="generator" content={Astro.generator} />
<meta name="description" content="{frontmatter.description}" />
<meta name="keywords" content="nothing crypto free software libre self host {frontmatter.keys}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/nothingrun-favicon-whiteonblack.png" type="image/png">
<title>{props.title}</title>
</head>
<body>
<Header />
<h1>{props.title}</h1>
<slot />
<Footer />
</body>
</html>