mirror of
https://github.com/SqrtMinusOne/sqrtminusone.github.io.git
synced 2025-12-10 07:43:03 +03:00
This commit is contained in:
parent
65cbccf9c4
commit
68f8a28476
2 changed files with 18 additions and 3 deletions
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
(require 'use-package)
|
||||
|
||||
;; Org Hugo
|
||||
(straight-use-package 'org)
|
||||
;; (straight-use-package 'org)
|
||||
|
||||
(defvar-local my/org-hugo-heading-slugs nil)
|
||||
|
||||
|
|
@ -73,10 +73,25 @@
|
|||
(setq org-make-toc-link-type-fn #'org-make-toc--link-entry-org))
|
||||
|
||||
|
||||
;; No clue what's wrong here
|
||||
(defun my/org-blackfriday-table-cell-alignment-around (fn &rest args)
|
||||
(condition-case error
|
||||
(apply fn args)
|
||||
(error
|
||||
(apply #'org-export-table-cell-alignment args))))
|
||||
|
||||
;; (advice-add #'org-blackfriday-table-cell-alignment
|
||||
;; :around #'my/org-blackfriday-table-cell-alignment-around)
|
||||
|
||||
;; Export dotfiles
|
||||
|
||||
(setq my/config-files
|
||||
'("README.org" "Emacs.org" "Desktop.org" "Console.org" "Mail.org" "Guix.org"))
|
||||
'("README.org"
|
||||
"Emacs.org"
|
||||
"Desktop.org"
|
||||
"Console.org"
|
||||
"Mail.org"
|
||||
"Guix.org"))
|
||||
|
||||
(defun my/export-dotfiles ()
|
||||
(cd (concat (vc-find-root default-directory ".git") "org/configs"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue