emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] why prepend "file://" to abs paths in html output?


From: Nicolas Goaziou
Subject: Re: [O] why prepend "file://" to abs paths in html output?
Date: Thu, 13 Jul 2017 14:46:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Brett Viren <address@hidden> writes:

> Nikola source wants this layout:
>
>   /path/to/my/nikola/posts/my-blog-post.org
>   /path/to/my/nikola/images/unicorn.jpg
>
> The Org source generates to HTML which will be found at this URL path:
>
>   /mysiteroot/posts/my-blog-post/index.html
>
> So, right now, either the Org link to the image must be written to be
> invalid (for Org):
>
>   [[../../images/unicorn.jpg]]

Your examples do not apply here, as we are talking about absolute file
names. 

Relative links are exported as relative URL, which is good in most
cases. The remaining cases can be dealt with filters or some such or by
back-end themselves.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]