links-org-to-html.lua 146 B

1234567
  1. function Link(el)
  2. if not string.find(el.target, "://") then
  3. el.target = string.gsub(el.target, "%.org", ".html")
  4. end
  5. return el
  6. end