emacsorphanage / org-page

[INACTIVE] A static site generator based on Emacs and org mode.
673 stars 99 forks source link

Relative paths beginning with / #83

Closed emilioj closed 10 years ago

emilioj commented 10 years ago

Hi there!

I like your approach and so I am thinking in using your org-page to maintain my personal webpage (kudos for your work!). The thing is: my webpage is in a directory (eg. http://www.domain.com/~me), but all relative paths are generated by org-page beginning with '/', so they are all relative to the domain (http://www.domain.com/media/css/main.css instead of http://www.domain.com/~me/media/css/main.css).

Can this behavior be easely configured anywhere? I did not find it :-?

Thanks again, E

sillykelvin commented 10 years ago

Sorry for late response, the last ten days I was "offline" for my holiday.

The answer is: no. This issue is not taken into consideration while designing org-page.

But there is a workaround: modify the file themes/mdo/templates/template.html, change the path at line 13 to your own path, it will work fine.

Hope this helps. Kelvin

sillykelvin commented 10 years ago

Seems you have switched to other solutions, so close this issue.

emilioj commented 10 years ago

Thank you for your answer! I'am still evaluating org-page and o-blog as solutions to easily manage my personal web site using org-mode files. I really like your org+git approach, but now I am giving o-blog a try.