From fb8408a8220220ea0ba47d7988c43961a18ba87e Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 24 Jun 2021 18:01:01 +1000 Subject: Adding assets to publish.el --- publish.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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")))) -- cgit v1.2.3