diff --git a/blog/view/detail.ls b/blog/view/detail.ls index 125e5c8..c53eee3 100644 --- a/blog/view/detail.ls +++ b/blog/view/detail.ls @@ -10,7 +10,7 @@ end local title = "Welcome to my blog" if not #data or #order == 0 then - topview(title) + topview(title, false) ?>

No entry found

@@ -31,7 +31,7 @@ title = content:sub(b+1, c-1) end end - topview(title) + topview(title, true) end local url = "https://blog.lxsang.me/r:id:"..data.id ?> diff --git a/blog/view/entries.ls b/blog/view/entries.ls index 6692eaf..f4324be 100644 --- a/blog/view/entries.ls +++ b/blog/view/entries.ls @@ -11,7 +11,7 @@ if HEADER.mobile then class = "card mobile" end - loadscript(BLOG_ROOT.."/view/top.ls")("Welcome to my blog") + loadscript(BLOG_ROOT.."/view/top.ls")("Welcome to my blog", false) if #order == 0 then ?>
diff --git a/blog/view/top.ls b/blog/view/top.ls index 64129dc..c179f75 100644 --- a/blog/view/top.ls +++ b/blog/view/top.ls @@ -1,6 +1,7 @@ - - - - + + +