use custom kebabcase function

This commit is contained in:
Timothy
2021-01-16 18:07:08 +08:00
parent 6f90fc50db
commit fdda4c2042
7 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
import kebabCase from 'just-kebab-case'
import siteMetadata from '@/data/siteMetadata'
import { kebabCase } from '@/lib/utils'
import { getAllTags } from '@/lib/tags'
import Tag from '@/components/Tag'
import Link from '@/components/Link'

View File

@ -1,6 +1,6 @@
import fs from 'fs'
import path from 'path'
import kebabCase from 'just-kebab-case'
import { kebabCase } from '@/lib/utils'
import { getAllFilesFrontMatter } from '@/lib/mdx'
import { getAllTags } from '@/lib/tags'
import siteMetadata from '@/data/siteMetadata'