Browse Source

Update hugo output

main
parent
commit
c1eb1adb06
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 24
      README.org
  2. 9
      docs/config.toml
  3. BIN
      docs/posts/plantuml.org.gpg

24
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))

9
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
weight = 30

BIN
docs/posts/plantuml.org.gpg

Loading…
Cancel
Save