Mentions légales du service

Skip to content
Snippets Groups Projects
Commit db3c2f3d authored by FELŠÖCI Marek's avatar FELŠÖCI Marek
Browse files

pages.el: simplify the export function

parent bcb7a744
No related branches found
No related tags found
No related merge requests found
......@@ -23,15 +23,16 @@
(setq org-publish-project-alist
(list
(list "site-org"
(list "site-org" ;; Publish the example page as HTML.
:base-directory "."
:base-extension "org"
:recursive t
:publishing-function '(org-html-publish-to-html)
:publishing-directory "./public"
:html-head-extra "<link rel=\"icon\" type=\"image/x-icon\"
href=\"https://mfelsoci.gitlabpages.inria.fr/inria-org-html-themes/favicon.ico\"/>")
(list "site-static"
href=\"https://mfelsoci.gitlabpages.inria.fr/inria-org-html-themes/favicon.ico\"
/>")
(list "site-static" ;; Publish the sources of the theme.
:base-directory "."
:exclude "public/"
:base-extension site-attachments
......@@ -39,12 +40,6 @@ href=\"https://mfelsoci.gitlabpages.inria.fr/inria-org-html-themes/favicon.ico\"
:publishing-directory "./public"
:publishing-function 'org-publish-attachment
:recursive t)
(list "site-tangles"
:base-directory "./"
:recursive t
:publishing-directory "./public"
:recursive t
:publishing-function 'org-babel-tangle-publish)
(list "site" :components '("site-org"))))
(provide 'publish)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment