From 25aae813127674e429537698f4242ea9ae6419bb Mon Sep 17 00:00:00 2001 From: Brit Butler Date: Sun, 26 Aug 2012 12:37:06 -0400 Subject: [PATCH] Add a symlink for index.html, update mathjax config. --- plugins/mathjax.lisp | 2 +- src/indices.lisp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/mathjax.lisp b/plugins/mathjax.lisp index 8ab007c..545e810 100644 --- a/plugins/mathjax.lisp +++ b/plugins/mathjax.lisp @@ -6,7 +6,7 @@ (defvar *mathjax-header* " diff --git a/src/indices.lisp b/src/indices.lisp index e3f0b85..3a325eb 100644 --- a/src/indices.lisp +++ b/src/indices.lisp @@ -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."