mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
fix home page render error
This commit is contained in:
parent
143094d301
commit
83288a00b0
@ -110,17 +110,13 @@ end
|
|||||||
</div>
|
</div>
|
||||||
<div id = "cover">
|
<div id = "cover">
|
||||||
<div id = "book" <?=book_width_css?>>
|
<div id = "book" <?=book_width_css?>>
|
||||||
|
<?lua if tocdata then ?>
|
||||||
<div id="doc_toc" class = "doc-toc" <?=show_toc_css?> >
|
<div id="doc_toc" class = "doc-toc" <?=show_toc_css?> >
|
||||||
<div class = "doc-name doc-toc-header">
|
<div class = "doc-name doc-toc-header">
|
||||||
<?lua if tocdata then ?>
|
<a href ="<?=HTTP_ROOT..'/'..tocdata.controller..'/'?>">
|
||||||
<a href ="<?=HTTP_ROOT..'/'..tocdata.controller..'/'?>">
|
<?=tocdata.data.name?>
|
||||||
<?=tocdata.data.name?>
|
</a>
|
||||||
</a>
|
|
||||||
<?lua end ?>
|
|
||||||
</div>
|
</div>
|
||||||
<?lua
|
|
||||||
if tocdata then
|
|
||||||
?>
|
|
||||||
<?lua
|
<?lua
|
||||||
if elinks then
|
if elinks then
|
||||||
for k,v in ipairs(elinks) do
|
for k,v in ipairs(elinks) do
|
||||||
@ -131,8 +127,8 @@ end
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<?lua
|
<?lua
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
?>
|
?>
|
||||||
<div class = "doc-toc-header doc-toc-legend">Table of content</div>
|
<div class = "doc-toc-header doc-toc-legend">Table of content</div>
|
||||||
<?lua
|
<?lua
|
||||||
|
Loading…
Reference in New Issue
Block a user