@@ -29,7 +29,6 @@ import PageMetadata from "@/components/PageMetadata"
29
29
30
30
import { getFileContributorInfo } from "@/lib/utils/contributors"
31
31
import { dateToString } from "@/lib/utils/date"
32
- import { getLastDeployDate } from "@/lib/utils/getLastDeployDate"
33
32
import { getContent , getContentBySlug } from "@/lib/utils/md"
34
33
import { runOnlyOnce } from "@/lib/utils/runOnlyOnce"
35
34
import { getLocaleTimestamp } from "@/lib/utils/time"
@@ -156,7 +155,6 @@ export const getStaticProps = (async (context) => {
156
155
const timeToRead = readingTime ( markdown . content )
157
156
const tocItems = remapTableOfContents ( tocNodeItems , mdxSource . compiledSource )
158
157
const slug = `/${ params . slug . join ( "/" ) } /`
159
- const lastDeployDate = getLastDeployDate ( )
160
158
161
159
// Get corresponding layout
162
160
let layout = ( frontmatter . template as Layout ) ?? "static"
@@ -198,10 +196,6 @@ export const getStaticProps = (async (context) => {
198
196
locale as Lang ,
199
197
lastUpdatedDate
200
198
) ,
201
- lastDeployLocaleTimestamp : getLocaleTimestamp (
202
- locale as Lang ,
203
- lastDeployDate
204
- ) ,
205
199
contentNotTranslated,
206
200
layout,
207
201
timeToRead : Math . round ( timeToRead . minutes ) ,
@@ -238,7 +232,6 @@ ContentPage.getLayout = (page) => {
238
232
slug,
239
233
frontmatter,
240
234
lastEditLocaleTimestamp,
241
- lastDeployLocaleTimestamp,
242
235
layout,
243
236
timeToRead,
244
237
tocItems,
@@ -250,7 +243,6 @@ ContentPage.getLayout = (page) => {
250
243
slug,
251
244
frontmatter,
252
245
lastEditLocaleTimestamp,
253
- lastDeployLocaleTimestamp,
254
246
timeToRead,
255
247
tocItems,
256
248
contributors,
0 commit comments