aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2021-06-24 18:01:01 +1000
committerYuchen Pei <me@ypei.me>2021-06-24 18:01:01 +1000
commitfb8408a8220220ea0ba47d7988c43961a18ba87e (patch)
tree7659a3f5921cb6bcbd58a3a08f3e6f65d9411986
parent8b458071bd26c034dbd1add7fa3667af7899ecb5 (diff)
Adding assets to publish.el
-rw-r--r--publish.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/publish.el b/publish.el
index d3fe3f3..7e7bfb7 100644
--- a/publish.el
+++ b/publish.el
@@ -158,4 +158,10 @@ PUB-DIR is when the output will be placed."
:publishing-function org-publish-attachment
:recursive t
)
- ("all" :components ("posts" "microposts" "pages" "css" "js"))))
+ ("assets"
+ :base-directory "assets"
+ :publishing-directory "site/assets"
+ :publishing-function org-publish-attachment
+ :recursive t
+ )
+ ("all" :components ("posts" "microposts" "pages" "css" "js" "assets"))))