Clean up the project a bit
Fix imports, remove unnecessary imports, and replace all single apostrophe to double apostrophes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
---
|
||||
import '@/styles/global.css';
|
||||
import "@/styles/global.css";
|
||||
import { getSettings } from "@/content/settings/settings";
|
||||
import { getTextColor } from '@/lib/colors';
|
||||
import Footer from '@/components/footer/Footer.astro';
|
||||
import { getTextColor } from "@/lib/colors";
|
||||
import Footer from "@/components/footer/Footer.astro";
|
||||
|
||||
interface Props {
|
||||
settings: BlogLayoutProps;
|
||||
@@ -42,7 +42,7 @@ const css = {
|
||||
<link rel="alternate" type="application/rss+xml" href="/rss.xml" title="RSS" />
|
||||
<link rel="canonical" href={`${settings.website.domainName}/`} />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="keywords" content={[].join(',')} />
|
||||
<meta name="keywords" content={[].join(",")} />
|
||||
|
||||
<!-- Low Priority Page Metadata -->
|
||||
<meta name="description" content={pageSettings.description} />
|
||||
@@ -55,7 +55,7 @@ const css = {
|
||||
<meta property="og:url" content={`${settings.website.domainName}${Astro.url.pathname}`} />
|
||||
<meta property="og:site_name" content={settings.website.applicationName} />
|
||||
<meta property="article:author" content={settings.website.author.name} />
|
||||
<meta property="article:tags" content={[].join(',')} />
|
||||
<meta property="article:tags" content={[].join(",")} />
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:title" content={settings.website.titleTemplate.replaceAll("%T", pageSettings.title)} />
|
||||
|
||||
Reference in New Issue
Block a user