Clean up the project a bit

Fix imports, remove unnecessary imports, and replace all single apostrophe to double apostrophes
This commit is contained in:
itsfinniii
2026-04-27 21:15:32 +02:00
parent 9a92b1939c
commit d9430335d5
47 changed files with 192 additions and 197 deletions

View File

@@ -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;
@@ -43,7 +43,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={tags.join(',')} />
<meta name="keywords" content={tags.join(",")} />
<!-- Low Priority Page Metadata -->
<meta name="description" content={pageSettings.description} />
@@ -56,7 +56,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)} />

View File

@@ -2,7 +2,6 @@
import '@/styles/global.css';
import { getSettings } from "@/content/settings/settings";
import { getTextColor } from '@/lib/colors';
import Footer from '@/components/footer/Footer.astro';
import { getImageSize } from '@/lib/images';
import { getImage } from 'astro:assets';

View File

@@ -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)} />

View File

@@ -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: WebpageLayoutProps;