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} + + ) + } )}