change components
This commit is contained in:
@@ -31,17 +31,3 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props;
|
|||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<meta name="title" content={title} />
|
<meta name="title" content={title} />
|
||||||
<meta name="description" content={description} />
|
<meta name="description" content={description} />
|
||||||
|
|
||||||
<!-- Open Graph / Facebook -->
|
|
||||||
<meta property="og:type" content="website" />
|
|
||||||
<meta property="og:url" content={Astro.url} />
|
|
||||||
<meta property="og:title" content={title} />
|
|
||||||
<meta property="og:description" content={description} />
|
|
||||||
<meta property="og:image" content={new URL(image, Astro.url)} />
|
|
||||||
|
|
||||||
<!-- Twitter -->
|
|
||||||
<meta property="twitter:card" content="summary_large_image" />
|
|
||||||
<meta property="twitter:url" content={Astro.url} />
|
|
||||||
<meta property="twitter:title" content={title} />
|
|
||||||
<meta property="twitter:description" content={description} />
|
|
||||||
<meta property="twitter:image" content={new URL(image, Astro.url)} />
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const today = new Date();
|
|||||||
© {today.getFullYear()} Jimmy Gan. All rights reserved.
|
© {today.getFullYear()} Jimmy Gan. All rights reserved.
|
||||||
<div class="social-links">
|
<div class="social-links">
|
||||||
<a href="https://github.com/jimmy-gan/me" target="_blank">
|
<a href="https://github.com/jimmy-gan/me" target="_blank">
|
||||||
<span class="sr-only">Go to Astro's GitHub repo</span>
|
<span class="sr-only">Go to Jimmy's GitHub repo</span>
|
||||||
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github"
|
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32" astro-icon="social/github"
|
||||||
><path
|
><path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import { SITE_TITLE } from '../consts';
|
|||||||
</div>
|
</div>
|
||||||
<div class="social-links">
|
<div class="social-links">
|
||||||
<a href="https://github.com/jimmy-gan/me" target="_blank">
|
<a href="https://github.com/jimmy-gan/me" target="_blank">
|
||||||
<span class="sr-only">Go to Astro's GitHub repo</span>
|
<span class="sr-only">Go to Jimmy's GitHub repo</span>
|
||||||
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32"
|
<svg viewBox="0 0 16 16" aria-hidden="true" width="32" height="32"
|
||||||
><path
|
><path
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
|
|||||||
Reference in New Issue
Block a user