From 803a06d57a7e98caae9edf92d47f3e6975555713 Mon Sep 17 00:00:00 2001 From: shandianchengzi <1252402849@qq.com> Date: Sun, 5 May 2024 22:27:16 +0800 Subject: [PATCH] =?UTF-8?q?PostDetails:=20=E6=96=87=E6=9C=AB=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E9=83=A8=E5=88=86=E6=B7=BB=E5=8A=A0=20=E7=BF=BB?= =?UTF-8?q?=E8=AF=91=E4=B8=AD=20=E4=B8=8E=20=E6=A0=A1=E5=AF=B9=E4=B8=AD=20?= =?UTF-8?q?=E4=B8=A4=E7=A7=8D=E6=96=B0=E7=8A=B6=E6=80=81.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/src/layouts/PostDetails.astro | 37 +++++++++++++++++++---------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/pages/src/layouts/PostDetails.astro b/pages/src/layouts/PostDetails.astro index a489b0a..d570ee2 100644 --- a/pages/src/layouts/PostDetails.astro +++ b/pages/src/layouts/PostDetails.astro @@ -77,23 +77,34 @@ const layoutProps = {

选题: {collector} - {translated_date && ( + {translator != "HCTT" && ( -    - 译者: +   { + translated_date ? + 译者: : + 正在翻译: + } {translator} - {proofread_date && ( + { + proofreader != "HCTT" && ( -    - 校对:{proofreader} +   { + proofread_date ? + 校对: : + 正在校对: + } + {proofreader} - )} - {published_date && ( - -    - 发布:{publisher} - - )} + ) + } + { + published_date && ( + +    + 发布者:{publisher} + + ) + } )}