You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running emacs --script publish.el, the (custom) template templates/post.html gets used properly, however, the static/style.css file and in fact any other files inside static/ get ignored in favour of the contents of the static directory of weblorg's default template:
INFO writing: ./output/posts/post-1.html
INFO writing: ./output/posts/post-2.html
INFO copying: ~/.config/emacs/elpa/weblorg-20230828.150/themes/default/static/style.css -> ./output/static/style.css
My understanding of https://emacs.love/weblorg/doc/file-paths.html is that the local ./static directory should get precedence over any static directories in any themes (external or internal).
In any case, there is a workaround - I can move static into a my-theme directory, and adjust publish.el to say this:
I have the following directory structure:
and the contents of
publish.el
is:When running
emacs --script publish.el
, the (custom) templatetemplates/post.html
gets used properly, however, thestatic/style.css
file and in fact any other files insidestatic/
get ignored in favour of the contents of thestatic
directory of weblorg'sdefault
template:My understanding of https://emacs.love/weblorg/doc/file-paths.html is that the local
./static
directory should get precedence over anystatic
directories in any themes (external or internal).In any case, there is a workaround - I can move
static
into amy-theme
directory, and adjustpublish.el
to say this:which picks up the custom static files properly:
The text was updated successfully, but these errors were encountered: