adding hugo and zola ox

This commit is contained in:
Chris Cochrun 2024-07-01 10:09:20 -05:00
parent 198978811c
commit 3c9e2e9d73
2 changed files with 34 additions and 19 deletions

View file

@ -2106,7 +2106,9 @@ Optional BACKEND must be `re-reveal' or a backend derived from it."
*** ox-zola
I'm going to start a website for my own ramblings, tutorials and links. To do this I'll likely use Zola since it's built in Rust.
#+begin_src emacs-lisp :tangle no
#+begin_src emacs-lisp
(use-package ox-hugo)
(use-package ox-zola
:load-path "ox-zola/"
:config
@ -3688,6 +3690,16 @@ Let's make sure docker is capable of using tramp.
#+end_src
Still need dockerfile-mode in order to be able to edit dockerfiles.
*** Just
Let's use just-mode
#+begin_src emacs-lisp
(use-package just-mode
:mode ("\\.just\\'" . just-mode))
#+end_src
#+begin_src emacs-lisp
(use-package justl)
#+end_src
*** Fish
Fish is my preferred shell and made some scripts in it so I keep this to be able to edit those scripts.
@ -3711,7 +3723,10 @@ It's probably smart to have markdown.
"C-j" 'markdown-next-visible-heading
"M-j" 'markdown-move-down
"C-k" 'markdown-previous-visible-heading
"M-k" 'markdown-move-up))
"M-k" 'markdown-move-up
"C-<return>" 'markdown-insert-list-item)
(general-def 'insert markdown-mode-map
"C-<return>" 'markdown-insert-list-item))
#+end_src
*** QML

34
init.el
View file

@ -1611,6 +1611,14 @@ Optional BACKEND must be `re-reveal' or a backend derived from it."
async subtreep visible-only body-only ext-plist))
file)))
(use-package ox-hugo)
(use-package ox-zola
:load-path "ox-zola/"
:config
(setq org-hugo-base-dir "/home/chris/dev/cochrun.xyz"
org-hugo-section "blog"))
(use-package ellama
:init
(require 'llm-ollama)
@ -2697,6 +2705,11 @@ targets."
(use-package docker-tramp
:after docker)
(use-package just-mode
:mode ("\\.just\\'" . just-mode))
(use-package justl)
(use-package fish-mode
:mode ("\\.fish\\'" . fish-mode))
@ -2712,7 +2725,10 @@ targets."
"C-j" 'markdown-next-visible-heading
"M-j" 'markdown-move-down
"C-k" 'markdown-previous-visible-heading
"M-k" 'markdown-move-up))
"M-k" 'markdown-move-up
"C-<return>" 'markdown-insert-list-item)
(general-def 'insert markdown-mode-map
"C-<return>" 'markdown-insert-list-item))
(use-package qml-mode
:mode ("\\.qml\\'" . qml-mode))
@ -3935,19 +3951,3 @@ interfere with the default `bongo-playlist-buffer'."
gcmh-verbose nil))
(setq warning-suppress-types '((comp)))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(pdf-misc-print-program-args
'("-o media=Letter" "-o fitplot" "-o sides=two-sided-long-edge"))
'(pdf-misc-print-program-executable "lpr")
'(safe-local-variable-values '((rustic-rustfmt-args . "--edition 2021"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(markdown-code-face ((t (:inherit org-block))))
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36"))))