diff options
author | tdback <tyler@tdback.net> | 2025-01-26 11:54:00 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-26 11:54:00 -0500 |
commit | 9fbfde3ae45cbdce118b5c9cc80b7b0cd3af0737 (patch) | |
tree | ce922a2d42d798df9964c1e8a2ebc39e9d1ce88b | |
parent | cf9da6397d8339c98ca21ef9aafe8504117c076d (diff) |
flake: update path when creating a new post
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -27,7 +27,7 @@ SITE="$HOME/projects/tdback.net" new-post() { - hugo new "posts/$1/index.md" + hugo new "$SITE/content/posts/$1/index.md" $EDITOR "$SITE/content/posts/$1/index.md" } |