summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwd6
1 files changed, 3 insertions, 3 deletions
diff --git a/wd b/wd
index f43b6af..9a76b1e 100755
--- a/wd
+++ b/wd
@@ -40,10 +40,10 @@ cmd_journal () {
local weekly_journal_subtitle="## $(date '+%Y-%m-%d %A')"
local monthly_journal_title="# $(date '+%B %Y')"
- local monthly_journal_subtitle="## [Week $week_number $year](week$week_number.md)"
+ local monthly_journal_subtitle="## [Week $week_number $year]($year-week$week_number.md)"
- local weekly_journal="$WD_JOURNALS_DIR/$year/week$week_number.md"
- local monthly_journal="$WD_JOURNALS_DIR/$year/$(date '+%Y-%m').md"
+ local weekly_journal="$WD_JOURNALS_DIR/$year-week$week_number.md"
+ local monthly_journal="$WD_JOURNALS_DIR/$(date '+%Y-%m').md"
local file_to_edit="$weekly_journal"
local file_title="$weekly_journal_title"