modified meta tags

added unique page descriptions
This commit is contained in:
liyunze 2023-06-18 14:15:51 +08:00
parent b2cfe786a2
commit 67eeb90021
8 changed files with 21 additions and 16 deletions

View file

@ -3,19 +3,17 @@ import NavBar from "../components/navBar.astro";
export interface Props {
title: string;
description: string;
}
const { title } = Astro.props;
const { title, description } = Astro.props;
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="Get started with Coworking streams!"
/>
<meta name="description" content={description} />
<meta name="keywords" content="coworking, study, streams" />
<meta name="author" content="RyanPython" />
<meta name="viewport" content="width=device-width" />

View file

@ -4,6 +4,7 @@ import NavBar from "../components/navBar.astro";
export interface Props {
frontmatter: {
title: string;
description: string;
};
}
@ -14,10 +15,7 @@ const { frontmatter } = Astro.props;
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="Get started with Coworking streams!"
/>
<meta name="description" content={frontmatter.description} />
<meta name="keywords" content="coworking, study, streams" />
<meta name="author" content="RyanPython" />
<meta name="viewport" content="width=device-width" />

View file

@ -7,7 +7,7 @@ import Layout from "../layouts/Layout.astro";
// - why did I open source
---
<Layout title="About">
<Layout title="About" description="About the creator of this website + FAQ">
<div class="h-full flex flex-col text-white">
<div class="w-full h-full flex flex-col justify-center items-center">
<div

View file

@ -1,6 +1,7 @@
---
title: Bots
layout: "../layouts/Markdown.astro"
description: Find out the bots you can use for your stream!
---
# Twitch Bots

View file

@ -2,7 +2,10 @@
import Layout from "../layouts/Layout.astro";
---
<Layout title="Get started with Coworking streams!">
<Layout
title="Get started with Coworking streams"
description="A guide for new and existing coworking streamers!"
>
<div
class="flex flex-col lg:flex-row justify-center items-center h-full text-gray-100 sm:flex-col"
>

View file

@ -1,6 +1,7 @@
---
title: Specifications
layout: "../layouts/Markdown.astro"
description: Find out the minimum computer specification requirements for coworking streams!
---
<!--

View file

@ -1,17 +1,20 @@
---
title: Tips
layout: "../layouts/Markdown.astro"
description: Tips for coworking streamers
---
# Tips
Here are some tips for coworking streamers!
- [To mute or not to mute?](#to-mute-or-not-to-mute)
- [Should I leave chat opened while working?](#should-i-leave-chat-opened-while-working)
- [Fixed schedule](#fixed-schedule)
- [Social media](#social-media)
- [Chat commands for coworking streams](#chat-commands-for-coworking-streams)
- [Tips](#tips)
- [To mute or not to mute?](#to-mute-or-not-to-mute)
- [Should I leave chat opened while working?](#should-i-leave-chat-opened-while-working)
- [Fixed schedule](#fixed-schedule)
- [Social media](#social-media)
- [Chat commands for coworking streams](#chat-commands-for-coworking-streams)
- [References](#references)
---

View file

@ -1,6 +1,7 @@
---
title: Widgets
layout: "../layouts/Markdown.astro"
description: Find out the widgets you can use to enhance your stream!
---
# Widgets