summaryrefslogtreecommitdiff
path: root/www/src/components/BlogPost.astro
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-06-08 16:44:56 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-06-08 16:44:56 -0700
commit348e2166f2bf40fe79361f36d1673f3cc78f835f (patch)
tree91430e108da947f9bca370ca08bed1d407c074f1 /www/src/components/BlogPost.astro
parent0361b210bde8fa0f70e6a1e04892e9cc195da1c6 (diff)
downloadastro-348e2166f2bf40fe79361f36d1673f3cc78f835f.tar.gz
astro-348e2166f2bf40fe79361f36d1673f3cc78f835f.tar.zst
astro-348e2166f2bf40fe79361f36d1673f3cc78f835f.zip
add github star to blog post
Diffstat (limited to 'www/src/components/BlogPost.astro')
-rw-r--r--www/src/components/BlogPost.astro2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/src/components/BlogPost.astro b/www/src/components/BlogPost.astro
index 44154137e..0884c6575 100644
--- a/www/src/components/BlogPost.astro
+++ b/www/src/components/BlogPost.astro
@@ -1,5 +1,6 @@
---
import Author from './Author.astro';
+import GithubStarButton from './GithubStarButton.astro';
export let title: string;
export let author: string;
@@ -15,6 +16,7 @@ export let heroImage: string;
<p class="publish-date">{publishDate}</p>
<h1 class="title">{title}</h1>
<Author authorId={author} />
+ <GithubStarButton />
</header>
<main>
<slot />