import BLOG from '@/blog.config' import BlogPostListScroll from './components/BlogPostListScroll' import BlogPostListPage from './components/BlogPostListPage' import LayoutBase from './LayoutBase' import React from 'react' import Link from 'next/link' export const LayoutTag = (props) => { const tag = props.tags.find((t) => { return t.name === props.tag }) return {tag && (
#{tag.name + (tag.count ? `(${tag.count})` : '')}
)} {BLOG.POST_LIST_STYLE === 'page' ? : }
}