summary refs log tree commit diff
path: root/build-aux
diff options
context:
space:
mode:
authorArun Isaac2021-06-18 14:55:43 +0530
committerArun Isaac2021-06-18 14:55:43 +0530
commit4c0d30d4f8b05149b38414b43bf3f4e0036eb0cf (patch)
treee16640fcfba6bfb9da8b8a213a7d7ae2fec1a8d5 /build-aux
parent80064a35aa4134657f7daae99004982c28768593 (diff)
downloadguile-email-4c0d30d4f8b05149b38414b43bf3f4e0036eb0cf.tar.gz
guile-email-4c0d30d4f8b05149b38414b43bf3f4e0036eb0cf.tar.lz
guile-email-4c0d30d4f8b05149b38414b43bf3f4e0036eb0cf.zip
website: Reference external stylesheet.
* website/style.css: New file.
* Makefile.am (AM_MAKEINFOHTMLFLAGS): Set to --css-ref=/style.css.
* build-aux/build-website.el (org-html-head): Set to <link> tag
referencing external stylesheet.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/build-website.el14
1 files changed, 1 insertions, 13 deletions
diff --git a/build-aux/build-website.el b/build-aux/build-website.el
index f10b89b..3bea2ad 100644
--- a/build-aux/build-website.el
+++ b/build-aux/build-website.el
@@ -22,19 +22,7 @@
 (setq org-export-with-section-numbers nil
       org-export-with-sub-superscripts nil
       org-export-with-toc nil
-      org-html-head "<style type=\"text/css\">
-  body {
-      margin: 40px auto;
-      max-width: 650px;
-      line-height: 1.6;
-      font-size: 18px;
-      color: #444;
-      padding: 0 10px;
-  }
-  h1, h2, h3 {
-      line-height: 1.2;
-  }
-</style>"
+      org-html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />"
       org-html-head-include-default-style nil
       org-html-head-include-scripts nil
       org-html-postamble nil)