summaryrefslogtreecommitdiffstats
path: root/src/components/PostHeader
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-25 15:33:27 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-25 15:38:50 +0100
commit97dc68e22e754d8e478beee590dbe9868171af50 (patch)
tree01876f9b236b0a4ba696d5b084bd766b69046494 /src/components/PostHeader
parent71942c86311a9d1ddf4ae486d811f8393786e855 (diff)
chore: add reading time in posts meta
Diffstat (limited to 'src/components/PostHeader')
-rw-r--r--src/components/PostHeader/PostHeader.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/PostHeader/PostHeader.tsx b/src/components/PostHeader/PostHeader.tsx
index 57d20fa..f070583 100644
--- a/src/components/PostHeader/PostHeader.tsx
+++ b/src/components/PostHeader/PostHeader.tsx
@@ -21,9 +21,11 @@ const PostHeader = ({
meta?.author ||
meta?.commentCount ||
meta?.dates ||
+ meta?.readingTime ||
meta?.results ||
meta?.thematics ||
- meta?.website
+ meta?.website ||
+ meta?.wordsCount
);
};