1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-17 06:09:50 +02:00

blog now use silk

This commit is contained in:
Xuan Sang LE
2018-09-05 16:56:04 +02:00
parent 1f57e18fc7
commit 914bff3498
28 changed files with 419 additions and 509 deletions

View File

@ -1,6 +1,4 @@
<?lua
local args = {...}
local data = args[1].data
if not data then return end
for k,v in pairs(data) do

View File

@ -1,24 +1,20 @@
<?lua
local args = {...}
local views = args[1]
?>
<html>
<head>
<script type="text/javascript" src="rst/gscripts/showdown.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" type="text/css" href="rst/font-awesome.css" />
<script type="text/javascript" src="<?=HTTP_ROOT?>/rst/gscripts/showdown.min.js"></script>
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/style.css" />
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/rst/font-awesome.css" />
<title>Porfolio</title>
</head>
<body>
<div class="layout">
<div class = "cv-content">
<?lua
if views.user then
views.user:render()
if user then
user:render()
end
if views.__main__ then
views.__main__:render()
if __main__ then
__main__:render()
end
?>
<div class = "container">
@ -27,9 +23,9 @@
</div>
</div>
<?lua
if views.toc then
views.toc:set("data", views.__main__:get("toc"))
views.toc:render()
if toc then
toc:set("data", __main__:get("toc"))
toc:render()
end
?>
</div>

View File

@ -1,7 +1,5 @@
<?lua
if HEADER.mobile then return end
local args = {...}
local data = args[1].data
if not data then return end
?>
<div class = "cv-toc">

View File

@ -1,8 +1,3 @@
<?lua
local args = {...}
local data = args[1].data
?>
<h1>
<span class="name"><?=data.fullname?></span>
<span class="cv">Curriculum Vitae</span>