Commit 0e19e99457

0e19e994579849f73645041fda0c8e4205976cf6

parent: 3d4da5ac60

Unsigned

cmc <hello@cleberg.net> · 2023-12-03 05:32 UTC

fix: change README to refer out to publish.el

Layout: unified · split

README.org +3 −28
@@ -8,39 +8,14 @@ and sub-pages such as blog posts.
8* Configuration 8* Configuration
9 9
10If you want to replicate this project structure, you'll need to customize your 10If you want to replicate this project structure, you'll need to customize your
11=.emacs= file appropriately. 11=.emacs= file appropriately, or load a custom =.el= file.
12
13My =.emacs= file below show a handful of project-related settings
14
15#+BEGIN_SRC lisp
16;; Project publishing settings
17(setq org-publish-project-alist
18 '(("cleberg.net"
19 :base-directory "~/Source/cleberg.net/"
20 :publishing-function org-html-publish-to-html
21 :publishing-directory "~/Source/cleberg.net/public/"
22 :auto-sitemap t
23 :recursive t
24 :section-numbers nil
25 :with-toc nil
26 :with-author nil
27 :html-validation-link nil
28 :with-tags t
29 :html-head "<link rel=stylesheet href=/static/styles.css>"
30 :html-preamble "<nav><a href=/>Home</a><a href=/blog/>Blog</a><a href=/notes/>Notes</a><a href=/services/>Services</a></nav>")
31
32 ("static"
33 :base-directory "~/Source/cleberg.net/static/"
34 :base-extension "css\\|el"
35 :publishing-directory "~/Source/cleberg.net/public/static/"
36 :publishing-function org-publish-attachment)
37 ("website" :components ("cleberg.net" "static"))))
38#+END_SRC
39 12
40If you're within emacs while changing =.emacs=, you'll need to reload the 13If you're within emacs while changing =.emacs=, you'll need to reload the
41configuration with =M-x load-file= and hit enter to reload the current file 14configuration with =M-x load-file= and hit enter to reload the current file
42(=.emacs=). 15(=.emacs=).
43 16
17See the [[elisp/publish.el][publish.el]] file for this repository's configuration.
18
44* Building 19* Building
45 20
46When ready to publish, open any of the =.org= files in the project and execute 21When ready to publish, open any of the =.org= files in the project and execute