mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Update title texts
This commit is contained in:
@@ -13,7 +13,7 @@ const posts = await Astro.glob<Frontmatter>("../contents/*.md");
|
|||||||
const sortedPosts = getSortedPosts(posts);
|
const sortedPosts = getSortedPosts(posts);
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Welcome to Astro.">
|
<Layout>
|
||||||
<Header />
|
<Header />
|
||||||
<main id="main-content">
|
<main id="main-content">
|
||||||
<section id="hero">
|
<section id="hero">
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const posts = await Astro.glob<Frontmatter>("../../contents/*.md");
|
|||||||
const sortedPosts = getSortedPosts(posts);
|
const sortedPosts = getSortedPosts(posts);
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="Welcome to Astro.">
|
<Layout title="Posts | AstroPaper">
|
||||||
<Header activeNav="posts" />
|
<Header activeNav="posts" />
|
||||||
<Main pageTitle="Posts" pageDesc="All the tags used in posts.">
|
<Main pageTitle="Posts" pageDesc="All the tags used in posts.">
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ const posts: MarkdownInstance<Frontmatter>[] = await Astro.glob(
|
|||||||
const tagPosts = getPostsByTag(posts, tag);
|
const tagPosts = getPostsByTag(posts, tag);
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="AstroPaper: tags">
|
<Layout title={`Tag:${tag} | AstroPaper`}>
|
||||||
<Header activeNav="tags" />
|
<Header activeNav="tags" />
|
||||||
<Main
|
<Main
|
||||||
pageTitle={`Tag:${tag}`}
|
pageTitle={`Tag:${tag}`}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const posts = await Astro.glob<Frontmatter>("../../contents/*.md");
|
|||||||
let tags = getUniqueTags(posts);
|
let tags = getUniqueTags(posts);
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="AstroPaper: tags">
|
<Layout title="Tags | AstroPaper">
|
||||||
<Header activeNav="tags" />
|
<Header activeNav="tags" />
|
||||||
<Main pageTitle="Tags" pageDesc="All the tags used in posts.">
|
<Main pageTitle="Tags" pageDesc="All the tags used in posts.">
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user