Migrate deploy-lftp script to tsx
Also change assets directory to `assets` and add default `.htaccess` file
This commit is contained in:
parent
405ad38f5d
commit
d01594f456
19 changed files with 172 additions and 97 deletions
|
|
@ -165,7 +165,6 @@ const { instance, user, postId } = Astro.props;
|
|||
commentBoxPostLink.href = comment.url;
|
||||
commentBoxPostLink.target = "_blank";
|
||||
const publishDate = commentBoxPostLink.querySelector<HTMLSpanElement>("[data-publish-date]")!;
|
||||
// TO-DO Pretty format date
|
||||
publishDate.innerText = new Date(Date.parse(comment.created_at)).toLocaleString("en-US", {
|
||||
month: "short",
|
||||
day: "numeric",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue