summaryrefslogtreecommitdiff
path: root/baldeagle
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-06-07 23:24:09 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-06-07 23:24:09 +0400
commitc909ed9af85e50ecfbe64ec14d8bda0e9b03a35a (patch)
tree58c0cb1e48dd99830cc48d31e8ebe052475d967e /baldeagle
parent9615469daa47df936a06198bc995241362b8fcd6 (diff)
baldeagle: Change layout
Diffstat (limited to 'baldeagle')
-rw-r--r--baldeagle/.gitignore3
-rw-r--r--baldeagle/publish.el12
2 files changed, 6 insertions, 9 deletions
diff --git a/baldeagle/.gitignore b/baldeagle/.gitignore
index 14ecebd..d298be1 100644
--- a/baldeagle/.gitignore
+++ b/baldeagle/.gitignore
@@ -1,2 +1 @@
-baldeagle-public/
-baldeagle-gemini/ \ No newline at end of file
+public/ \ No newline at end of file
diff --git a/baldeagle/publish.el b/baldeagle/publish.el
index 4f71c06..087bfad 100644
--- a/baldeagle/publish.el
+++ b/baldeagle/publish.el
@@ -5,15 +5,13 @@
(require 'ox-publish)
(require 'ox-gemini)
-(setq exclude-regex "baldeagle-\\(public\\|gemini\\)/")
-
-exclude-regex
+(setq exclude-regex "public/")
(setq org-publish-project-alist
`(("baldeagle-content"
:base-directory "."
:base-extension "org"
- :publishing-directory "baldeagle-public/"
+ :publishing-directory "public/baldeagle.me/"
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 4
@@ -23,14 +21,14 @@ exclude-regex
("baldeagle-static"
:base-directory "."
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
- :publishing-directory "baldeagle-public/"
+ :publishing-directory "public/baldeagle.me/"
:recursive t
:exclude ,exclude-regex
:publishing-function org-publish-attachment)
("baldeagle-gemini"
:base-directory "."
:base-extension "org"
- :publishing-directory "baldeagle-gemini/"
+ :publishing-directory "public/gem.baldeagle.me/"
:recursive t
:publishing-function org-gemini-publish-to-gemini
:headline-levels 4
@@ -40,7 +38,7 @@ exclude-regex
("baldeagle-gemini-media"
:base-directory "."
:base-extension "png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
- :publishing-directory "baldeagle-gemini/"
+ :publishing-directory "public/gem.baldeagle.me/"
:recursive t
:exclude ,exclude-regex
:publishing-function org-publish-attachment)