hugo newコマンドはデフォルトでcontentフォルダにファイルを生成するのですが、content/posts配下に変更する必要があったのでその方法を記録しておきます。
初期配置の変更は設定のcontentDirで指定することで行えます。baseurlなどが記述されているconfig.toml(yaml)を適時編集しましょう。
baseurl = "https://hack.ironsand.net/"
contentDir = "content/posts"このように設定しておけば以下のように指定したディレクトリに新規ファイルが生成されます。
❯ hugo new post.md
/Users/ironsand/www/hack.ironsand.net/content/posts/post.md created