diff --git a/README.org b/README.org index 3363952..2e942f4 100644 --- a/README.org +++ b/README.org @@ -2494,26 +2494,28 @@ Ox-Hugo[fn:72] is an Org-Mode[fn:60] exporter for Hugo[fn:33] compabile markdown ;; Configure `ox-hugo' as an `org-mode-export' backend. (require 'ox-hugo) +;; Set up the base directory. +(setq org-hugo-base-dir (expand-file-name "/etc/dotfiles/docs")) + ;; Capture templates. ;; Shared content. - (add-to-list 'org-roam-capture-templates '("d" "Post" plain "%?" :target (file+head "docs/posts/${slug}.org.gpg" " -#+TITLE: ${title} -#+AUTHOR: Christopher James Hayward -#+DATE: %<%Y-%m-%d> +,#+TITLE: ${title} +,#+AUTHOR: Christopher James Hayward +,#+DATE: %<%Y-%m-%d> -#+OPTIONS: num:nil todo:nil tasks:nil +,#+OPTIONS: num:nil todo:nil tasks:nil -#+EXPORT_FILE_NAME: ${slug} -#+ROAM_KEY: https://chrishayward.xyz/posts/${slug}/ +,#+EXPORT_FILE_NAME: ${slug} +,#+ROAM_KEY: https://chrishayward.xyz/posts/${slug}/ -#+HUGO_BASE_DIR: ../ -#+HUGO_AUTO_SET_LASTMOD: t -#+HUGO_SECTION: posts -#+HUGO_DRAFT: true +,#+HUGO_BASE_DIR: ../ +,#+HUGO_AUTO_SET_LASTMOD: t +,#+HUGO_SECTION: posts +,#+HUGO_DRAFT: true " ) :unnarrowed t)) diff --git a/docs/config.toml b/docs/config.toml index 49a4e1b..a17bfb8 100644 --- a/docs/config.toml +++ b/docs/config.toml @@ -70,17 +70,12 @@ pygmentsUseClasses = true url = "posts/" weight = 10 - [[menu.main]] - name = "Notes" - url = "notes/" - weight = 20 - [[menu.main]] name = "Dotfiles" url = "dotfiles" - weight = 30 + weight = 20 [[menu.main]] name = "Projects" url = "https://git.chrishayward.xyz/explore/repos" - weight = 40 \ No newline at end of file + weight = 30 \ No newline at end of file diff --git a/docs/posts/plantuml.org.gpg b/docs/posts/plantuml.org.gpg index 4b0ec0e..586be79 100644 Binary files a/docs/posts/plantuml.org.gpg and b/docs/posts/plantuml.org.gpg differ