Add a symlink for index.html, update mathjax config.

This commit is contained in:
Brit Butler 2012-08-26 12:37:06 -04:00
parent a8fdbed399
commit 25aae81312
2 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,7 @@
(defvar *mathjax-header* "<script type=\"text/x-mathjax-config\">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['\\[','\\]']]
inlineMath: [['$$','$$']]
}
});
</script>

View file

@ -60,7 +60,8 @@
:prev (and (plusp (1- i)) (1- i))
:next (and (< (* i 20) (length posts)) (1+ i))
:relative nil)
until (> (* i 20) (length posts))))))
until (> (* i 20) (length posts)))
(update-symlink "index.html" "1.html"))))
(defun render-by-tag ()
"Render the indices to view posts by tag."