change notes 2024-02-12

  • Changing notes to change notes (in the filenames) and adding notes as a distinct category, removing 'notes' from the permalinks.
    • Examples:
      • change notes: /changes/2024/02/12/notes => /changes/2024/02/12/
        • title changes as well: "changes 2024-02-12" => "change notes 2024-02-12"
      • notes: /notes/2024/02/12/
    • in YAML front matter: - permalink: /:categories/:year/:month/:day/
    • How? A Find & Replace in Sublime across _posts adding the permalink wherever changes was the category. Changed 57 files. I will fix the redirects separately. Then updated by newpost.py script to add it automatically.
    elif category in ["changes", "notes"]:
        permalink_line = "\npermalink: /:categories/:year/:month/:day/"

    [ . . . ]

    if category == "changes":
        title = f"change notes {date}"
        filename = f"{date}-change-notes.md"
    elif category == "notes":
        title = f"notes {date}"
        filename = f"{date}-notes.md"