aboutsummaryrefslogtreecommitdiff
path: root/shittyweb-html.el
diff options
context:
space:
mode:
Diffstat (limited to 'shittyweb-html.el')
-rw-r--r--shittyweb-html.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/shittyweb-html.el b/shittyweb-html.el
index c0d817c..3454566 100644
--- a/shittyweb-html.el
+++ b/shittyweb-html.el
@@ -41,6 +41,11 @@ holding export options."
">\n")
"<head>\n"
;;(org-html--build-meta-info info) ;; Causes scaling issues on mobile
+ ;; Title (to make up for the above line commented out)
+ (let* ((title (org-html-plain-text
+ (org-element-interpret-data (plist-get info :title)) info))
+ (title (if (org-string-nw-p title) title "&lrm;")))
+ (format "<title>%s</title>\n" title))
(org-html--build-head info)
(org-html--build-mathjax-config info)
;; Background