aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/templates/post.ts
diff options
context:
space:
mode:
Diffstat (limited to 'nuldoc-src/templates/post.ts')
-rw-r--r--nuldoc-src/templates/post.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuldoc-src/templates/post.ts b/nuldoc-src/templates/post.ts
index c89240c..9a89a73 100644
--- a/nuldoc-src/templates/post.ts
+++ b/nuldoc-src/templates/post.ts
@@ -28,7 +28,7 @@ export default async function convertPost(
metaElement([["name", "author"], ["content", config.blog.author]]),
metaElement([["name", "copyright"], [
"content",
- `© ${doc.revisions[0].date.substring(0, 4)} ${config.blog.author}`,
+ `© ${doc.getCreatedDate().substring(0, 4)} ${config.blog.author}`,
]]),
metaElement([["name", "description"], ["content", doc.summary]]),
];