Variable: org-html-link-org-files-as-html

org-html-link-org-files-as-html is a customizable variable defined in ox-html.el.gz.

Value

t

Documentation

Non-nil means make file links to "file.org" point to "file.html".

When Org mode is exporting an Org file to HTML, links to non-HTML files are directly put into a "href" tag in HTML. However, links to other Org files
(recognized by the extension ".org") should become links to the corresponding
HTML file, assuming that the linked Org file will also be converted to HTML.

Links to "file.org.gpg" are also converted.

When nil, the links still point to the plain ".org" file.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-html.el.gz
;;;; Links :: Generic

(defcustom org-html-link-org-files-as-html t
  "Non-nil means make file links to \"file.org\" point to \"file.html\".

When Org mode is exporting an Org file to HTML, links to non-HTML files
are directly put into a \"href\" tag in HTML.  However, links to other Org files
\(recognized by the extension \".org\") should become links to the corresponding
HTML file, assuming that the linked Org file will also be converted to HTML.

Links to \"file.org.gpg\" are also converted.

When nil, the links still point to the plain \".org\" file."
  :group 'org-export-html
  :type 'boolean)