tangled
alpha
login
or
join now
vielle.dev
/
site-archive
0
fork
atom
[Archived] Archived WIP of vielle.dev
0
fork
atom
overview
issues
pulls
pipelines
Allow pages to have no custom title
vielle.dev
8 months ago
53a40a74
84f9d4c2
verified
This commit was signed with the committer's
known signature
.
vielle.dev
SSH Key Fingerprint:
SHA256:/4bvxqoEh9iMdjAPgcgAgXKZZQTROL3ULiPt6nH9RSs=
+2
-2
1 changed file
expand all
collapse all
unified
split
src
Base.astro
+2
-2
src/Base.astro
···
1
1
---
2
2
interface Props {
3
3
-
title: string;
3
3
+
title?: string;
4
4
dataset?: Record<string, any>;
5
5
[key: string]: any;
6
6
}
···
27
27
<meta name="viewport" content="width=device-width" />
28
28
<meta name="generator" content={Astro.generator} />
29
29
<link rel="sitemap" href="/sitemap-index.xml" />
30
30
-
<title>{title} | vielle.dev</title>
30
30
+
<title>{title ? `${title} | vielle.dev` : "vielle.dev"}</title>
31
31
<script>
32
32
// sets the timezone offset
33
33
document.cookie = `timezone=${new Date().toString()};path=/`;