add links

This commit is contained in:
Surjith S M
2022-11-10 12:28:18 +05:30
parent e5a8950e49
commit 5ccc4c357c
3 changed files with 18 additions and 4 deletions

View File

@@ -16,6 +16,10 @@ export interface Props {
// console.log(src);
const resolvedImageWithDomain = new URL("/opengraph.jpg", Astro.url).toString();
const { title } = Astro.props;
const makeTitle = title
? title + " | " + "Astroship"
: "Astroship - Starter Template for Astro with TailwindCSS & Alpine.js";
---
<!DOCTYPE html>
@@ -28,7 +32,7 @@ const { title } = Astro.props;
<!-- <link rel="preload" as="image" href={src} alt="Hero" /> -->
<SEO
title={`${title}${title && " | "}Astroship`}
title={makeTitle}
description="Astroship is a starter website template for Astro built with TailwindCSS."
twitter={{
creator: "@surjithctly",