mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
Internal links weren't working in the left bar or the header. Now they are.
This commit is contained in:
parent
009d047fbf
commit
8edd392ba9
1 changed files with 2 additions and 2 deletions
|
|
@ -84,8 +84,8 @@
|
|||
(cond exists?
|
||||
(layout/render "wiki.html"
|
||||
{:title content
|
||||
:left-bar (util/md->html "/content/_left-bar.md")
|
||||
:header (util/md->html "/content/_header.md")
|
||||
:left-bar (local-links (util/md->html "/content/_left-bar.md"))
|
||||
:header (local-links (util/md->html "/content/_header.md"))
|
||||
:content (local-links (util/md->html file-name))
|
||||
:user (session/get :user)})
|
||||
true (response/redirect (str "/edit?content=" content)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue