;; 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= '/blog.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"))
"Set project alist. `output-dir' is the directory of publish-directory.
`root-dir' is the root directory of blog repository."
"Set project alist. `output-dir' is the directory of publish-directory.
`root-dir' is the root directory of blog repository."
:base-directory ,root-dir
:base-extension "org"
:publishing-directory ,output-dir
:base-directory ,root-dir
:base-extension "org"
:publishing-directory ,output-dir
: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
:base-directory ,(concat root-dir "/posts")
:base-extension "org"
:publishing-directory ,(concat output-dir "/posts")
:base-directory ,(concat root-dir "/posts")
:base-extension "org"
:publishing-directory ,(concat output-dir "/posts")