Make README only refer to git.fripost.org
[fripost-web.git] / fripost-web.el
blobdfdc466ec7608f9a92e1c0d9059ea64bb974ea44
1 (require 'org-publish)
3 (setq org-publish-project-alist
4 `(
5 ("fripost-web-pages"
6 :base-directory ,(concat default-directory "/site/")
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><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>
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\">
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> &amp; <a href=\"http://validator.w3.org/check?uri=referer\">XHTML</a>. Design by <a href=\"http://arcsin.se\">Arcsin</a>
34 </div>
36 </div>
37 </div>"
38 :auto-preamble nil
39 :auto-postamble nil
40 :headline-levels 4 ; Just the default for this project.
41 :auto-preamble t
43 ;; sitemap
44 :auto-index t ; remove with newer org-mode
45 :index-title "Sitemap for fripost.org"
46 :auto-sitemap t
49 ("fripost-web-static"
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/")
53 :exclude "/publish/"
54 :recursive t
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