diff --git a/src/routes/get.ts b/src/routes/get.ts index 8fd4f2e..57089d3 100644 --- a/src/routes/get.ts +++ b/src/routes/get.ts @@ -38,7 +38,7 @@ export default async function getRoute(fastify: FastifyInstance) { return parsed.textContent; } else { reply.type("text/html; charset=utf-8"); - return reply.view("/templates/get.ejs", { parsed: parsed }); + return reply.view("/templates/get.ejs", { parsed, remoteUrl }); } } ); diff --git a/static/get.css b/static/get.css index 3b60923..fc3c161 100644 --- a/static/get.css +++ b/static/get.css @@ -1,3 +1,12 @@ +.menu { + display: flex; + flex-direction: row; + column-gap: 1rem; +} +.title { + font-weight: 500; +} + a { color: var(--link); } diff --git a/templates/get.ejs b/templates/get.ejs index 7139bad..e51e288 100644 --- a/templates/get.ejs +++ b/templates/get.ejs @@ -11,6 +11,10 @@
+
<%= parsed.title %>