emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Get html links relative to base directory for Jekyll site
@ 2014-11-22  5:29 Brady Trainor
  0 siblings, 0 replies; only message in thread
From: Brady Trainor @ 2014-11-22  5:29 UTC (permalink / raw)
  To: emacs-orgmode

Can I get org publishing to change paths of links? Jekyll system seems to work better if image links start from base. 

I want


(or something similar, "../img/" could be "img/" or "./img/")

to become

<img src="/img/jekyll.png" alt="jekyll.png" />

in the published HTML file. 

That is, the address should start "/img/".

Or perhaps another solution, a function which makes org contents




<img src="/img/jekyll.png" alt="jekyll.png" />

In other words, can I get the HTML link as a result in the org buffer. Simply adding a "/" here would be simple. Or somethink like cd-latex for html links?

Or does anyone have another solution for including links in a Jekyll site? I really like to have the inline org file: link as then I can use inline images while I'm drafting. 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-22  5:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-22  5:29 Get html links relative to base directory for Jekyll site Brady Trainor

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).