;; To prevent inline-css when exporting html. will use external css
(setq org-html-htmlize-output-type 'css)
(setq blog-extra-head
(concat
;; To prevent inline-css when exporting html. will use external css
(setq org-html-htmlize-output-type 'css)
(setq blog-extra-head
(concat
- "<li><a href= './' >About</a></li>"
- "<li><a href= './sitemap.html' >Blog</a></li>"
- "<li><a href= './home.html' >Home</a></li>"
+ "<li><a href= '/about.html' >About</a></li>"
+ "<li><a href= '/posts/sitemap.html' >Blog</a></li>"
+ "<li><a href= '/index.html' >Home</a></li>"
- "<hr />\n
-<p><span style=\"float: left;\"><a href= \"/blog.xml\">RSS</a></span>
-License: <a href= \"https://creativecommons.org/licenses/by-sa/4.0/\">CC BY-SA 4.0</a></p\n")
+ (concat
+ "<hr />\n"
+ "<p><span style=\"float: left;\"><a href= \"http://orgmode.org\"/>Org-mode </a>" (org-version) "</span>"
+ "License: <a href= \"https://creativecommons.org/licenses/by-sa/4.0/\">CC BY-SA 4.0</a></p\n"))
(defun blog-setup-project-alist (root-dir &optional output-dir)
"Set project alist. `output-dir' is the directory of publish-directory.
(defun blog-setup-project-alist (root-dir &optional output-dir)
"Set project alist. `output-dir' is the directory of publish-directory.
:html-head-include-scripts nil
:html-head-extra ,blog-extra-head
:html-preamble ,blog-header
:html-head-include-scripts nil
:html-head-extra ,blog-extra-head
:html-preamble ,blog-header