https://blog.naskya.net/
[[ ๐
^wzWnj blog
]] ::
[๐ฅ Inbox]
[๐ค Outbox]
[๐ฅ Errbox]
[๐ค Followers]
[๐ค Collaborators]
[๐ Projects]
[๐ Commits]
Clone
HTTPS:
git clone https://code.naskya.net/repos/wzWnj
SSH:
git clone USERNAME@code.naskya.net:wzWnj
Branches
Tags
main
::
newpost
#!/bin/sh
set -eu
article_slug=$(pnpm dlx nanoid --size 12 --alphabet "abcdefghijklmnopqrstuvwxyz0123456789")
hugo new "post/${article_slug}.md"
printf 'content/post/%s.md\n' "${article_slug}"