Jacky Zhao
2023-07-04 ab9da02c60c962128820e6874e6f07c98bc3dda7
quartz/components/ReadingTime.tsx
@@ -3,8 +3,7 @@
function ReadingTime({ fileData }: QuartzComponentProps) {
  const text = fileData.text
  const isHomePage = fileData.slug === "index"
  if (text && !isHomePage) {
  if (text) {
    const { text: timeTaken, words } = readingTime(text)
    return <p class="reading-time">{words} words, {timeTaken}</p>
  } else {