summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-conf.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/org-conf.el b/org-conf.el
index cf0b9b1..22b7c45 100644
--- a/org-conf.el
+++ b/org-conf.el
@@ -1042,7 +1042,7 @@ title."
;; if it already has a time info, don't generate again
(cond ((save-excursion
(forward-char 1)
- (looking-at-p "<time datetime=")))
+ (looking-at-p "<p class=\"subtitle\"")))
(t
(let* ((date (let (temp)
(save-excursion
@@ -1063,8 +1063,7 @@ title."
(date
(insert
(format
- "\n<time datetime=\"%s\">%s</time>\n"
- (format-time-string "%FT%T%z" date-time)
+ "\n<p class=\"subtitle\">%s</p>\n"
(format-time-string "%F" date-time)))
(write-region nil nil html-file-name))))))))))