publish static files first
This commit is contained in:
parent
51a33d72a7
commit
299e0c4da1
16
publish.el
16
publish.el
|
@ -22,6 +22,14 @@
|
||||||
;;; my web server directly.
|
;;; my web server directly.
|
||||||
(setq org-publish-project-alist
|
(setq org-publish-project-alist
|
||||||
'(
|
'(
|
||||||
|
;;; static contains... static files. Notably, the CSS and fonts.
|
||||||
|
("org-site-static"
|
||||||
|
:base-directory "~/org/static/"
|
||||||
|
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|woff2"
|
||||||
|
:publishing-directory "~/org/publish/s/"
|
||||||
|
:recursive t
|
||||||
|
:publishing-function org-publish-attachment)
|
||||||
|
|
||||||
;;; entries contains blog posts. Simple-as.
|
;;; entries contains blog posts. Simple-as.
|
||||||
("org-site-entries"
|
("org-site-entries"
|
||||||
:base-directory "~/org/entries/"
|
:base-directory "~/org/entries/"
|
||||||
|
@ -57,14 +65,6 @@
|
||||||
:sitemap-filename "sitemap.org"
|
:sitemap-filename "sitemap.org"
|
||||||
:sitemap-title "metacircular pages")
|
:sitemap-title "metacircular pages")
|
||||||
|
|
||||||
;;; static contains... static files. Notably, the CSS and fonts.
|
|
||||||
("org-site-static"
|
|
||||||
:base-directory "~/org/static/"
|
|
||||||
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|woff2"
|
|
||||||
:publishing-directory "~/org/publish/s/"
|
|
||||||
:recursive t
|
|
||||||
:publishing-function org-publish-attachment)
|
|
||||||
|
|
||||||
;;; the site root is mostly the index page.
|
;;; the site root is mostly the index page.
|
||||||
("org-site-root"
|
("org-site-root"
|
||||||
:base-directory "~/org"
|
:base-directory "~/org"
|
||||||
|
|
Loading…
Reference in New Issue