aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/stylesheet.css27
-rw-r--r--publish.el5
2 files changed, 3 insertions, 29 deletions
diff --git a/css/stylesheet.css b/css/stylesheet.css
index 2393f8f..3bc204e 100644
--- a/css/stylesheet.css
+++ b/css/stylesheet.css
@@ -55,30 +55,3 @@ a:hover {
text-align: left;
}
}
-
-pre {
- border: 1px solid #e6e6e6;
- border-radius: 3px;
- background-color: #f2f2f2;
- padding: 8pt;
- font-family: monospace;
- font-size: 10px;
- overflow-x: scroll;
- overflow-y: visible;
- margin: 1.2em;
-}
-
-pre.src {
- position: relative;
- overflow: auto;
-}
-
-pre.src:before {
- display: none;
- position: absolute;
- bottom: -16px;
- right: 12px;
- padding: 3px;
- color: #555;
- background-color: #f2f2f2;
-}
diff --git a/publish.el b/publish.el
index 6e2e9c8..3b24602 100644
--- a/publish.el
+++ b/publish.el
@@ -10,10 +10,10 @@
(setq use-package-always-ensure t
use-package-expand-minimally t))
-(use-package org
- :ensure org-plus-contrib)
(use-package ox-rss
:after org)
+(use-package htmlize
+ :after org)
(require 'org)
(require 'ox-html)
@@ -115,6 +115,7 @@
:base-extension "org"
:html-head "<link rel='stylesheet' href='/css/stylesheet.css' type='text/css'/>"
:html-preamble "<div class='topnav'><a href='/'>Home</a><a href='/projects.html'>Projects</a><a href='/blog'>Blog</a><a href='/config.html'>Dotfiles</a><a href='/about.html'>About Me</a><a href='/rss.xml'>RSS</a></div>"
+ :html-wrap-src-lines t
:html-postamble nil
:publishing-directory "~/public_html"
:publishing-function org-html-publish-to-html