Add a symlink for index.html, update mathjax config.
This commit is contained in:
parent
a8fdbed399
commit
25aae81312
2 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
(defvar *mathjax-header* "<script type=\"text/x-mathjax-config\">
|
||||
MathJax.Hub.Config({
|
||||
tex2jax: {
|
||||
inlineMath: [['\\[','\\]']]
|
||||
inlineMath: [['$$','$$']]
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue