Migrate deploy-lftp script to tsx

Also change assets directory to `assets` and add default `.htaccess` file
This commit is contained in:
Bad Manners 2024-07-18 19:17:13 -03:00
parent 405ad38f5d
commit d01594f456
19 changed files with 172 additions and 97 deletions

View file

@ -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",