Fix two links.
[fripost-web.git] / fripost-web.el
blob731d9af49bd707508927b283bf4c7be26d3e0506
1 (require 'org-publish)
3 (setq org-publish-project-alist
4 `(
5 ("fripost-web-pages"
6 :base-directory ,default-directory
7 :base-extension "org"
8 :publishing-directory ,(concat default-directory "/publish/")
9 :exclude "/publish/"
10 :recursive t
11 :publishing-function org-publish-org-to-html
12 :preamble "<div class=\"header\">
13 <h1>Fripost</h1>
14 <a href=\"index.en.html\" class=\"translate\">Click here for English</a>
15 </div>
17 <div class=\"navigation\">
18 <a href=\"index.html\">Hem</a>
19 <a href=\"organisation.html\">Om</a>
20 <a href=\"faq.html\">FAQ</a>
21 <a href=\"medlemskap.html\">Gå med</a>
22 <a href=\"kontakt.html\">Kontakt</a>
23 <div class=\"clearer\"><span></span></div>
24 </div>
26 <div class=\"container\">
27 <div class=\"content\">"
28 :postamble "<div class=\"divider\"></div>
30 <div class=\"footer\">
31 <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/2.5/se/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"http://i.creativecommons.org/l/by-sa/2.5/se/80x15.png\" /></a><br /><span xmlns:dct=\"http://purl.org/dc/terms/\">This website</span> by <a xmlns:cc=\"http://creativecommons.org/ns#\" href=\"http://fripost.org/\" rel=\"cc:attributionURL\">Fripost - föreningen för fri e-post</a> is licensed under a <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/2.5/se/\">Creative Commons Attribution-ShareAlike 2.5 Sweden License</a>.<br />
32 Valid <a href=\"http://jigsaw.w3.org/css-validator/check/referer\">CSS</a> &amp; <a href=\"http://validator.w3.org/check?uri=referer\">XHTML</a>. Design by <a href=\"http://arcsin.se\">Arcsin</a>
33 </div>
35 </div>
36 </div>"
37 :auto-preamble nil
38 :auto-postamble nil
39 :headline-levels 4 ; Just the default for this project.
40 :auto-preamble t
43 ("fripost-web-static"
44 :base-directory ,default-directory
45 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|txt"
46 :publishing-directory ,(concat default-directory "/publish/")
47 :exclude "/publish/"
48 :recursive t
49 :publishing-function org-publish-attachment
52 ("fripost-web" :components ("fripost-web-pages" "fripost-web-static"))
55 ;; M-x org-publish-project RET fripost-web