3 (setq org-publish-project-alist
6 :base-directory
,(concat default-directory
"/site/")
8 :publishing-directory
,(concat default-directory
"/publish/")
11 :publishing-function org-publish-org-to-html
12 :preamble
"<div class=\"header\">
13 <h1><img src=\"images/logo2011_top.png\" alt=\"fripost.org | demokratisk e-post\" /></h1>
14 <a href=\"index.en.html\" class=\"translate\">Click here for English</a>
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>
26 <div class=\"container\">
27 <div class=\"content\">"
28 :postamble
"<div class=\"divider\"></div>
30 <div class=\"footer\">
32 <a rel=\"license\" href=\"http://creativecommons.org/licenses/by-sa/2.5/se/\"><img alt=\"Creative Commons License\" style=\"border-width:0\" src=\"images/cc80x15.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 />
33 Valid <a href=\"http://jigsaw.w3.org/css-validator/check/referer\">CSS</a> & <a href=\"http://validator.w3.org/check?uri=referer\">XHTML</a>. Design by <a href=\"http://arcsin.se\">Arcsin</a>
40 :headline-levels
4 ; Just the default for this project.
44 :auto-index t
; remove with newer org-mode
45 :index-title
"Sitemap for fripost.org"
50 :base-directory
,(concat default-directory
"/site/")
51 :base-extension
"css\\|js\\|png\\|jpg\\|gif\\|eps\\|pdf\\|mp3\\|ogg\\|txt"
52 :publishing-directory
,(concat default-directory
"/publish/")
55 :publishing-function org-publish-attachment
58 ("fripost-web" :components
("fripost-web-pages" "fripost-web-static"))
61 (provide 'fripost-web
)
63 ;; M-x org-publish-project RET fripost-web