Skip to content

Commit

Permalink
added seo improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Sep 23, 2024
1 parent dd2f2ae commit e600f15
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 2 deletions.
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import { defineConfig } from "astro/config";

import tailwind from "@astrojs/tailwind";
import sitemapPlugin from '@astrojs/sitemap';

import node from "@astrojs/node";

Expand All @@ -12,6 +13,7 @@ export default defineConfig({
tailwind({
// applyBaseStyles: false,
}),
sitemapPlugin()
],

output: "static",
Expand Down
65 changes: 65 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@astrojs/check": "^0.9.3",
"@astrojs/node": "^8.3.3",
"@astrojs/sitemap": "^3.1.6",
"@astrojs/tailwind": "^5.1.0",
"@directus/sdk": "^17.0.1",
"astro": "^4.15.6",
Expand Down
9 changes: 7 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,25 @@ const { title } = Astro.props;
<!doctype html>
<html lang="en">
<head>
<title>{title}</title>
<meta charset="UTF-8" />
<meta name="description" content="Social media analyzing tool" />
<meta name="viewport" content="width=device-width" />
<meta property="og:title" content="Try IONKOL" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://ionkol.com" />
<meta property="og:image" content="/public/ionkol-logo.jpeg" />
<meta property="og:image" content="/ionkol-logo.jpg" />
<meta
property="og:image:secure_url"
content="https://www.ionkol.com/ionkol-logo.jpg"
/>
<meta
property="og:description"
content="All in on social media analyzing tool. Explore. Analyze. Discover."
/>
<meta property="og:site_name" content="IONKOL" />
<meta property="og:locale" content="en_US" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
Expand Down
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
title: "The Ultimate Guide to Baking Sourdough Bread"
description: "Learn the secrets to creating delicious and authentic sourdough bread at home with this comprehensive guide."
import Layout from "../layouts/Layout.astro";
import directus from "../../lib/directus";
import { readItems } from "@directus/sdk";
Expand Down

0 comments on commit e600f15

Please sign in to comment.