Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bowencool/blog
/ functions
Functions
35 in github.com/bowencool/blog
⨍
Functions
35
◇
Types & classes
7
↓ 14 callers
Function
withOpacity
(variableName)
tailwind.config.cjs:1
↓ 5 callers
Function
getPostsByLang
(lang: string)
src/utils/getPosts.ts:7
↓ 3 callers
Function
getSortedPosts
(posts: CollectionEntry<"blog">[])
src/utils/getSortedPosts.ts:4
↓ 3 callers
Function
slugifyStr
(str: string)
src/utils/slugify.ts:3
↓ 2 callers
Function
getUniqueTags
(posts: CollectionEntry<"blog">[])
src/utils/getUniqueTags.ts:12
↓ 2 callers
Function
isPlainObject
(obj: unknown)
src/utils/plainObject.ts:3
↓ 2 callers
Function
svgBufferToPngBuffer
(svg: string)
src/utils/generateOgImages.tsx:37
↓ 1 callers
Function
generateOgImageForPost
(post: CollectionEntry<"blog">)
src/utils/generateOgImages.tsx:43
↓ 1 callers
Function
generateOgImageForSite
()
src/utils/generateOgImages.tsx:48
↓ 1 callers
Function
getPageNumbers
(numberOfPosts: number)
src/utils/getPageNumbers.ts:3
↓ 1 callers
Function
getPostLang
(postId: string)
src/utils/getPosts.ts:3
↓ 1 callers
Function
useLocalization
()
src/hooks/useLocalization.ts:4
Function
Card
({ href, frontmatter, secHeading = true }: Props)
src/components/Card.tsx:11
Function
Datetime
({ pubDatetime, modDatetime, size = "sm", className }: Props)
src/components/Datetime.tsx:14
Function
FloatingTOC
(props: { collapseDepth?: number })
src/components/FloatingTOC.tsx:4
Function
FormattedDatetime
(props: DatetimesProps)
src/components/Datetime.tsx:43
Function
GET
()
src/pages/robots.txt.ts:13
Function
GET
()
src/pages/og.png.ts:5
Function
GET
(ctx: APIContext)
src/pages/rss.xml.ts:8
Function
GET
(ctx: APIContext)
src/pages/zh/rss.xml.ts:8
Function
GET
(ctx: APIContext<{ tag: Tag }, { tag: string }>)
src/pages/zh/tags/[tag]/rss.xml.ts:24
Function
GET
(ctx: APIContext<{ tag: Tag }, { tag: string }>)
src/pages/tags/[tag]/rss.xml.ts:22
Function
GET
({ props })
src/pages/posts/[permalink]/index.png.ts:18
Function
SearchBar
({ searchList }: Props)
src/components/Search.tsx:24
Function
ThrottleAsyncResultDemo
()
src/content/_demos/ThrottleAsyncResultDemo.tsx:14
Function
api
(data: { msg: string })
src/content/_demos/ThrottleAsyncResultDemo.tsx:3
Function
error2String
(err: unknown)
src/utils/error2String.ts:3
Function
getPagination
({ posts, page, isIndex = false }: GetPaginationProps<T[]>)
src/utils/getPagination.ts:10
Function
getStaticPaths
()
src/pages/zh/tags/[tag]/rss.xml.ts:9
Function
getStaticPaths
()
src/pages/tags/[tag]/rss.xml.ts:9
Function
getStaticPaths
()
src/pages/posts/[permalink]/index.png.ts:7
Function
handleChange
(e: React.FormEvent<HTMLInputElement>)
src/components/Search.tsx:31
Function
isEmptyObject
(obj: unknown)
src/utils/plainObject.ts:7
Function
postFilter
({ data }: CollectionEntry<"blog">)
src/utils/postFilter.ts:4
Function
slugifyAll
(arr: string[])
src/utils/slugify.ts:5