Skip to content

Commit 15bded6

Browse files
committed
nits: customise homepage title; add todo to word.astro layout for dynamic return navigation url computation
1 parent a660de2 commit 15bded6

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/layouts/word.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
/**
3+
* @todo Get URL of previous page (maybe from `referer`) and return there on Navigation back; good for browse page
4+
*/
25
import BaseLayout from "./base.astro";
36
import { getCollection } from "astro:content";
47
import Navbar from "../components/navbar.astro";

src/pages/index.astro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ import RecentSearches from "../components/islands/recent-searches.jsx";
77
const dictionary = await getCollection("dictionary");
88
---
99

10-
<BaseLayout pageTitle="Dictionary">
10+
<BaseLayout
11+
pageTitle="Jargons.dev"
12+
subtitle="Simplified Meaning & Definition to Technical Terms"
13+
>
1114
<main class="flex flex-col max-w-screen-lg p-5 justify-center mx-auto min-h-screen">
1215
<!-- Title -->
1316
<div class="mb-4 md:mb-6">

0 commit comments

Comments
 (0)