make it a macro i think?
This commit is contained in:
parent
79d78dc0ec
commit
397e72243e
1 changed files with 3 additions and 3 deletions
|
@ -73,12 +73,12 @@
|
|||
(if (equal "rss.org" (file-name-nondirectory filename))
|
||||
(org-rss-publish-to-rss plist filename dir)))
|
||||
|
||||
(defun jj/html-preamble () "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/dotfiles/'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>")
|
||||
(defvar jj/html-preamble "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/dotfiles/'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>")
|
||||
|
||||
(setq org-html-htmlize-output-type 'css)
|
||||
(setq org-html-postamble 'create-webring-html)
|
||||
(setq org-publish-project-alist
|
||||
'(
|
||||
`(
|
||||
("org-core"
|
||||
:base-directory "~/website/"
|
||||
:base-extension "org"
|
||||
|
@ -89,7 +89,7 @@
|
|||
:headline-levels 4
|
||||
:section-numbers nil
|
||||
:html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>"
|
||||
:html-preamble jj/html-preamble)
|
||||
:html-preamble ,jj/html-preamble)
|
||||
("org-static-website"
|
||||
:base-directory "~/website/"
|
||||
:base-extension "txt\\|css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
|
||||
|
|
Loading…
Add table
Reference in a new issue