1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 09:13:35 +01:00

photo page tweaks

This commit is contained in:
Matthias Kretschmann 2023-02-28 18:16:18 +00:00
parent 3cf866f865
commit d03bdf4727
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -63,11 +63,10 @@ export default function Post({
{type === 'link' && <PostLinkActions slug={slug} linkurl={linkurl} />}
<PostMeta post={post} />
<PostActions githubLink={githubLink} />
{type !== 'photo' && <PostActions githubLink={githubLink} />}
</article>
<RelatedPosts isPhotos={type === 'photo'} tags={tags as string[]} />
<PrevNext prev={prev} next={next} />
</>
)