Gollum wiki:包括其他页面不起作用

时间:2013-10-13 10:27:26

标签: ruby github sinatra wiki

我正在尝试使用Include other pages中的Gollum语法,但它不会像我期望的那样工作。 它不包括另一个页面的内容,但它只是放了一个链接。

例如,在主页(http://localhost:4567/Home)中,我使用的语法如下:

[[include:testpage]]

我希望它在家中包含页面http://localhost:4567/testpage(testpage.md)的内容,但它只显示指向http://localhost:4567/include%3Atestpage的链接

你能给我一个正确语法的例子吗?

我正在使用Gollum版本:

gollum(2.5.0)
gollum-lib(1.0.6)

1 个答案:

答案 0 :(得分:0)

我在gollum 2.5.1中尝试了“include other pages”,一切都按预期工作,所以我猜这是版本2.5.0的错误