aboutsummaryrefslogtreecommitdiff
path: root/luax/reluax.luax
diff options
context:
space:
mode:
authorStanisław Zagórowski <hasohasacz@gmail.com>2024-01-14 22:14:50 +0100
committerStanisław Zagórowski <hasohasacz@gmail.com>2024-01-14 22:14:50 +0100
commitd5c0555775ac835f75246a17b5e6f3ddc353d82b (patch)
treef53f7147e8d5b662f98d7a6815b460134eb3b632 /luax/reluax.luax
parentddf436a9e4deb65dfb0375b52d590a7a253b2084 (diff)
all: add dev mode for local testing, fix metadata
Diffstat (limited to 'luax/reluax.luax')
-rw-r--r--luax/reluax.luax11
1 files changed, 10 insertions, 1 deletions
diff --git a/luax/reluax.luax b/luax/reluax.luax
index b078ce8..1cfc04c 100644
--- a/luax/reluax.luax
+++ b/luax/reluax.luax
@@ -48,7 +48,16 @@ local function route(path)
end
end
if post then
- local article = wrap_component(<Blogpost post={post} />)
+ local article =
+ <Common title={post.title} description={post.description}>
+ <Navbar />
+ <div class="back-shadows"></div>
+ <div id="app-main">
+ <Blogpost post={post} />
+ <AnimatedBg />
+ </div>
+ </Common>
+
return 200, article
end
end