aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpost-process.sh2
-rw-r--r--publish.el17
2 files changed, 1 insertions, 18 deletions
diff --git a/post-process.sh b/post-process.sh
index 81a216b..6300115 100755
--- a/post-process.sh
+++ b/post-process.sh
@@ -8,8 +8,6 @@ for post in site/posts/*.html; do
# fix absolute links mislabelled as file:// links
sed -i 's/src="file:\/\//src="/g' "$post"
sed -i 's/href="file:\/\//href="/g' "$post"
- # add comments link
- sed -Ei 's/(<span class="subtitle">)(.*)(<\/span>)/\1\2 | <a href="#isso-thread">Comments<\/a>\3/' "$post"
done
for page in site/*.html; do
diff --git a/publish.el b/publish.el
index b0fc94a..8b74178 100644
--- a/publish.el
+++ b/publish.el
@@ -114,22 +114,7 @@ PUB-DIR is when the output will be placed."
:sitemap-filename "../pages/blog.org"
:html-doctype "html5"
:html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/>
-<link rel='alternate' title=\"Yuchen's blog\" href='/blog-feed.xml' type='application/rss+xml'>
-<script data-isso=\"/comments/\"
- data-isso-css=\"true\"
- data-isso-lang=\"en\"
- data-isso-reply-to-self=\"false\"
- data-isso-require-author=\"true\"
- data-isso-require-email=\"true\"
- data-isso-max-comments-top=\"10\"
- data-isso-max-comments-nested=\"5\"
- data-isso-reveal-on-click=\"5\"
- data-isso-avatar=\"true\"
- data-isso-avatar-bg=\"#f0f0f0\"
- data-isso-avatar-fg=\"#9abf88 #5698c4 #e279a3 #9163b6 ...\"
- data-isso-vote=\"true\"
- data-vote-levels=\"\"
- src=\"/comments/js/embed.min.js\"></script>"
+<link rel='alternate' title=\"Yuchen's blog\" href='/blog-feed.xml' type='application/rss+xml'>"
:html-preamble me/html-preamble
:html-self-link-headlines t
:author ("Yuchen Pei")