ソースを参照

Use index title as page tile, not as section.

Carsten Dominik 16 年 前
コミット
6c32d29bbc
2 ファイル変更4 行追加1 行削除
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-publish.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-publish.el (org-publish-org-index): Use index-title at page
+	title, not as section.
+
 	* org-exp.el (org-export-html-format-desc): Respect the
 	org-protect property.
 	(org-export-as-html): Protect image specifiers that are in the

+ 1 - 1
lisp/org-publish.el

@@ -626,7 +626,7 @@ Default for INDEX-FILENAME is 'index.org'."
     (if index-buffer
 	(kill-buffer index-buffer))
     (with-temp-buffer
-      (insert (concat "* " index-title "\n\n"))
+      (insert (concat "#+TITLE: " index-title "\n\n"))
       (while (setq file (pop files))
 	(let ((fn (file-name-nondirectory file))
 	      (link (file-relative-name file dir))