diff --git a/src/utils.ts b/src/utils.ts index 6fff89ebedfe..ccab24ba5cad 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -238,75 +238,20 @@ export const setSeoRouteFeature = ({ // @ts-ignore : `${route.route} 在${t(ServiceIds[serviceId])}的服務時間表?`, "acceptedAnswer": { - "@type": "Answer", - text: - lang === "en" - ? "
" + - `The route ${route.route} travel between ${route.orig.en} and ${route.dest.en}, with the service provided by ${route.co.map((co) => t(co)).join(" and ")}. ` + - `${route.jt ? `The whole journey takes about ${route.jt} minutes. ` : ""}` + - `${ - route.fares - ? `The segmented fares for the trip is $${route.fares - .filter((v, idx, self) => self.indexOf(v) === idx) - .map((v) => `$${v}`)}.` - : "" - }` + - "
" - : "" + - `${route.route} 往來${route.orig.zh}和${route.dest.zh},由${route.co.map((co) => t(co)).join("和")}營運` + - `${route.jt ? `,全程${route.jt}分鐘` : ""}` + - `${ - route.fares - ? `,分段車費為 ${route.fares - .filter((v, idx, self) => self.indexOf(v) === idx) - .map((v) => `$${v}`)}` - : "" - }` + - "。
", - }, - }, - { - "@type": "Question", - name: - lang === "en" - ? `What are the stops for the route ${route.route} from ${route.orig.en}?` - : `由${route.orig.zh}開出的 ${route.route} 會經過甚麼站?`, - acceptedAnswer: { - "@type": "Answer", - text: - "