GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

Commit 159aef07 authored by Guilherme Henrique's avatar Guilherme Henrique
Browse files

Partial export

parent e0faae5a
(require 'package)
(add-to-list 'package-archives
'("org" . "orgmode.org/elpa/"))
(package-initialize)
(package-refresh-contents)
(package-install 'org-plus-contrib)
(require 'ox-publish)
;(let ((root-dir (locate-dominating-file buffer-file-name ".dir-locals.el")))
(setq org-publish-project-alist
`(("org-zezin"
:base-directory "org"
:base-extension "org"
:publishing-directory "_posts"
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 6
:html-extension "html"
:body-only t
:with-toc nil
:section-numbers nil
:table-of-contents nil
:author "Guilherme Henrique"
:email "gjhenrique@gmail.com")
("org-static-zezin"
:base-directory "org"
:base-extension "css\\|js\\|png\\|jpg\\|ico\\|gif\\|pdf\\|mp3\\|flac\\|ogg\\|swf\\|php\\|markdown\\|md\\|html\\|htm\\|sh\\|xml\\|gz\\|bz2\\|vcf\\|zip\\|txt\\|tex\\|otf\\|ttf\\|eot\\|rb\\|yml\\|htaccess\\|gitignore\\|svg"
:publishing-directory "."
:recursive t
:publishing-function org-publish-attachment)
("zezin" :components ("org-zezin" "org-static-zezin"))))
;)
(print org-publish-project-alist)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment