projects
/
blog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the correct date format when creating post
[blog.git]
/
my-publish.el
diff --git
a/my-publish.el
b/my-publish.el
index
f694433
..
b21533d
100644
(file)
--- a/
my-publish.el
+++ b/
my-publish.el
@@
-24,8
+24,6
@@
;;; Code:
;;; Code:
-;; (defconst root-dir "~/Private/blog/")
-
(require 'org)
(require 'ox-publish)
(require 'htmlize)
(require 'org)
(require 'ox-publish)
(require 'htmlize)
@@
-45,15
+43,11
@@
"<nav><ul>"
"<li><a href= '/about.html' >About</a></li>"
"<li><a href= '/posts/sitemap.html' >Blog</a></li>"
"<nav><ul>"
"<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>"
+
;;
"<li><a href= '/index.html' >Home</a></li>"
"</ul></nav>"
"</header>"
"<hr>"))
"</ul></nav>"
"</header>"
"<hr>"))
-;; (setq blog-footer
-;; (concat
-;; "<hr />\n"
-;; "<span><a href= \"http://orgmode.org\"/>Org-mode </a>" (org-version) "</span>"))
(setq blog-footer
(concat
"<hr />\n"
(setq blog-footer
(concat
"<hr />\n"
@@
-118,7
+112,9
@@
;; sitemap
:auto-sitemap t
:sitemap-filename "sitemap.org"
;; sitemap
:auto-sitemap t
:sitemap-filename "sitemap.org"
- :sitemap-title "Sitemap"
+ :sitemap-title "Blog"
+ :sitemap-sort-files anti-chronologically
+ :sitemap-file-entry-format "%d %t"
;; other generic options
:with-toc nil ; table of contents
;; other generic options
:with-toc nil ; table of contents