Commit 12ee08f15205

Vincent Demeester <vincent@sbr.pm>
2015-04-28 16:51:57
Add zenika to org-publish projects
1 parent fa9ae3a
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -2032,6 +2032,34 @@
                :publishing-function org-publish-attachment
               )
               ("sbr" :components ("sbr-notes" "sbr-static"))
+              ("znk-notes"
+               :base-directory "~/desktop/org/notes/zenika"
+               :base-extension "org"
+               :publishing-directory "~/var/public_html/zenika"
+               :makeindex t
+               :exclude "FIXME"
+               :recursive t
+               :htmlized-source t
+               :publishing-function org-html-publish-to-html
+               :headline-levels 4
+               :auto-preamble t
+               :html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\" />"
+               :html-preamble "<div id=\"nav\">
+      <ul>
+      <li><a href=\"/\" class=\"home\">Home</a></li>
+      </ul>
+      </div>"
+               :html-postamble "<div id=\"footer\">
+      %a %C %c
+      </div>")
+              ("znk-static"
+               :base-directory "~/desktop/org/notes/zenika"
+               :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg"
+               :publishing-directory "~/var/public_html/zenika"
+               :recursive t
+               :publishing-function org-publish-attachment
+              )
+              ("znk" :components ("znk-notes" "znk-static"))
               ))
     #+END_SRC
 *** Protocol
@@ -2547,7 +2575,6 @@
    #+BEGIN_SRC emacs-lisp
      (use-package gist
        :ensure t
-       :bind ("C-c g p" . gist-region-or-buffer-private)
        :config
        (setq gist-view-gist t))
    #+END_SRC