1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +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} />} {type === 'link' && <PostLinkActions slug={slug} linkurl={linkurl} />}
<PostMeta post={post} /> <PostMeta post={post} />
<PostActions githubLink={githubLink} /> {type !== 'photo' && <PostActions githubLink={githubLink} />}
</article> </article>
<RelatedPosts isPhotos={type === 'photo'} tags={tags as string[]} /> <RelatedPosts isPhotos={type === 'photo'} tags={tags as string[]} />
<PrevNext prev={prev} next={next} /> <PrevNext prev={prev} next={next} />
</> </>
) )