1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 02:18:20 +01:00
antd-web-apps/info/views/default/toc/index.ls
2018-09-05 16:56:04 +02:00

15 lines
234 B
Plaintext

<?lua
if HEADER.mobile then return end
if not data then return end
?>
<div class = "cv-toc">
<ul>
<?lua
for k, v in pairs(data) do
?>
<li><a href=<?='"#toc'..v[2]..'"'?>><?=v[1]?></a></li>
<?lua
end
?>
</ul>
</div>