Skip to content

Instantly share code, notes, and snippets.

@iani
Created June 22, 2011 11:49
Show Gist options
  • Save iani/1039938 to your computer and use it in GitHub Desktop.
Save iani/1039938 to your computer and use it in GitHub Desktop.
search form for top horizontal menu in org publish html
;;;;;;;;;;;;;;;;;;;;;;; AMBIANT HOME;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-to-list 'org-publish-project-alist
'("ambiantHome"
:base-directory "~/Dropbox/Sites.org/ambiant/home"
:base-extension "org"
:publishing-directory "~/Dropbox/Sites.html/ambiant"
:section-numbers nil
:table-of-contents nil
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 1
:auto-preamble t
:preamble
"
<div id=\"toc\">
<a href=\"http://ambiant.earlab.org\">Home</a> |
<a href=\"http://ambiant.earlab.org/workshop2010.html\">Workshop 2010</a> |
<a href=\"http://ambiant.earlab.org/summerworkshop2011/\">Workshop 2011</a>|
<a href=\"http://ambiant.earlab.org/residencies.html\">Residencies</a>|
<a href=\"http://ambiant.earlab.org/search.html\">Search</a>
<FORM METHOD=\"POST\" ACTION=\"/cgi-bin/3.0/search_engine.cgi\">
<INPUT TYPE=\"text\" SIZE=\"30\" NAME=\"keywords\" MAXLENGTH=\"120\">
<INPUT TYPE=\"SUBMIT\" VALUE=\"Search\">
</FORM>
</div>
"
:style "
<link rel=\"stylesheet\" href=\"http://iani.github.com/css/org.css\" type=\"text/css\"/>
"
:auto-index t
:table-of-contents t
:link-home "http://earlab.org"
:author "Ioannis Zannos & Aris Bezas"
:email "zannos AT gmail DOT com & aribezas AT gmail DOT com"
:postamble
"
"
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment