mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 09:56:51 +01:00
photo page tweaks
This commit is contained in:
parent
3cf866f865
commit
d03bdf4727
@ -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} />
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user