mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 10:18:21 +01:00
15 lines
234 B
Plaintext
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>
|