[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with finding css file with orgmode blogging setup
From: |
Ashish Panigrahi |
Subject: |
Problem with finding css file with orgmode blogging setup |
Date: |
Sat, 22 Mar 2025 18:49:57 +0000 |
Hi all,
I'm trying to shift from my current blogging setup to using orgmode only with
org-publish. I seem to be having trouble with org-publish finding my css file.
The following is the file tree of my current situation:
.
├── build.sh
├── css
│ └── style.css
├── html
│ └── index.html
├── Makefile
├── org
│ └── index.org
└── publish.el
With the contents of `publish.el` being:
(require 'ox-publish)
(setq org-html-validation-link nil
org-html-head-include-scripts nil
org-html-doctype "html5"
org-html-html5-fancy t
org-html-html-include-default-style nil
org-html-head "<link rel=\"stylesheet\" type=\"text/css\"
href=\"css/style.css\" />")
(setq org-publish-project-alist
(list
(list "org-website"
:recursive t
:base-directory "./org/"
:publishing-directory "./html/"
:publishing-function 'org-html-publish-to-html
:with-author nil ;; Don't include author name
:with-creator t ;; Include Emacs and org version in footer
:with-toc nil
:section-numbers nil
:time-stamp-file nil)))
;; Generate the site output
(org-publish-all t)
(message "Build complete!")
I'd appreciate any help on this. Thanks!
Kind regards,
Ashish
- Problem with finding css file with orgmode blogging setup,
Ashish Panigrahi <=