Fix for issue #8.

This commit is contained in:
simon 2016-09-16 13:07:16 +01:00
parent ad152b336a
commit dba58e4eca
2 changed files with 2 additions and 3 deletions

View file

@ -7,8 +7,7 @@ Smeagol is a simple Wiki engine inspired by [Gollum](https://github.com/gollum/g
So at this stage Smeagol is a Wiki engine written in Clojure which uses Markdown as its text format, which does have user authentication, and which uses Git as its versioning and backup system. So at this stage Smeagol is a Wiki engine written in Clojure which uses Markdown as its text format, which does have user authentication, and which uses Git as its versioning and backup system.
## Status ## Status
Smeagol is now a fully working small Wiki engine, and meets my own immediate needs. There are some obvious Smeagol is now a fully working small Wiki engine, and meets my own immediate needs.
things which could be improved - see **TODO** list below - but it works now and doesn't seem to have any major problems.
## Markup syntax ## Markup syntax
Smeagol uses the Markdown format as provided by [markdown-clj](https://github.com/yogthos/markdown-clj), with the addition that anything enclosed in double square brackets, \[\[like this\]\], will be treated as a link into the wiki itself. Smeagol uses the Markdown format as provided by [markdown-clj](https://github.com/yogthos/markdown-clj), with the addition that anything enclosed in double square brackets, \[\[like this\]\], will be treated as a link into the wiki itself.

View file

@ -126,7 +126,7 @@
:page page :page page
:content (util/local-links (util/md->html file-name)) :content (util/local-links (util/md->html file-name))
:editable true}))) :editable true})))
true (response/redirect (str "edit?page=" page))))) true (response/redirect (str "/edit?page=" page)))))
(defn history-page (defn history-page