Konubinix' opinionated web of thoughts

Ox-Hugo Cannot Have Toc Inside the Content

Fleeting

ox-hugo cannot have toc inside the content

  (org-trim (concat
             toc
             contents
             ;; Make sure CONTENTS is separated from table of contents
             ;; and footnotes with at least a blank line.
             "\n"
             (org-blackfriday-footnote-section info (org-hugo--lang-cjk-p info))))))

--- ox-hugo.el --- (defun org-hugo-inner-template (contents info)