diff --git a/themes/heo/components/AnalyticsCard.js b/themes/heo/components/AnalyticsCard.js index 835f4900917..a6c17e8816d 100644 --- a/themes/heo/components/AnalyticsCard.js +++ b/themes/heo/components/AnalyticsCard.js @@ -11,31 +11,35 @@ export function AnalyticsCard(props) { const today = new Date() const diffTime = today.getTime() - targetDate.getTime() // 获取两个日期之间的毫秒数差值 const diffDays = Math.ceil(diffTime / (1000 * 60 * 60 * 24)) // 将毫秒数差值转换为天数差值 + const postCountTitle = siteConfig('HEO_POST_COUNT_TITLE', null, CONFIG) + const siteTimeTitle = siteConfig('HEO_SITE_TIME_TITLE', null, CONFIG) + const siteVisitTitle = siteConfig('HEO_SITE_VISIT_TITLE', null, CONFIG) + const siteVisitorTitle = siteConfig('HEO_SITE_VISITOR_TITLE', null, CONFIG) const { postCount } = props return <>