Skip to content

Commit

Permalink
Add frontmatter
Browse files Browse the repository at this point in the history
  • Loading branch information
pivee committed Nov 12, 2023
1 parent 313a9b8 commit ba807f8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions pages/tongue-twisters.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: "Tongue Twisters"
description: "Tongue twisters are fun phrases that can help you get better at saying tricky words. They're like puzzles for your mouth!"
---

# Tongue Twisters

Tongue twisters are fun phrases that can help you get better at saying tricky words. They're like puzzles for your mouth! Using tongue twisters can make you more skilled at saying words clearly. By practicing these challenging phrases, you can improve how you talk and sound more confident. It's a playful way to work on your pronunciation and have some fun with language. So, try out some tongue twisters and enjoy the playful side of improving how you speak!
Expand Down
4 changes: 2 additions & 2 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ const config: DocsThemeConfig = {
},
head: () => {
const { asPath, defaultLocale, locale } = useRouter();
const { frontMatter } = useConfig();
const { frontMatter, title } = useConfig();
const url =
'https://engreesi.engspire.lk' +
(defaultLocale === locale ? asPath : `/${locale}${asPath}`);

return (
<>
<meta property="og:url" content={url} />
<meta property="og:title" content={frontMatter.title || 'Engreesi'} />
<meta property="og:title" content={frontMatter.title || title || 'Engreesi'} />
<meta
property="og:description"
content={frontMatter.description || 'English Lessons from Engspire'}
Expand Down

0 comments on commit ba807f8

Please sign in to comment.