mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-17 14:19:45 +02:00
adapt to new api mechanism
This commit is contained in:
@ -48,7 +48,7 @@
|
||||
<?lua
|
||||
echo("<ul>")
|
||||
for k,v in pairs(similar_posts) do
|
||||
echo("<li><a href='./r:id:"..v.st.sid.."'>"..v.post.title.."</a> (<b>Score</b>: "..string.format("%2.2f",v.st.score)..")</li>")
|
||||
echo("<li><a href='./"..v.st.sid.."'>"..v.post.title.."</a> (<b>Score</b>: "..string.format("%2.2f",v.st.score)..")</li>")
|
||||
end
|
||||
echo("</ul>")
|
||||
end?>
|
||||
|
Reference in New Issue
Block a user