From 7fd509b7e4dbb3f877a7ba4cc3cbb309b8b57a0a Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sat, 14 Feb 2026 00:58:35 +0100 Subject: [PATCH] Add back button to md pages --- web/components/markdown.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/components/markdown.tsx b/web/components/markdown.tsx index 487a8b6..10e0510 100644 --- a/web/components/markdown.tsx +++ b/web/components/markdown.tsx @@ -4,6 +4,7 @@ import ReactMarkdown from "react-markdown"; import {SEO} from "web/components/SEO"; import {capitalize} from "lodash"; import {CustomLink} from "web/components/links"; +import {BackButton} from "web/components/back-button"; export const MD_PATHS = [ 'constitution', @@ -39,8 +40,11 @@ export default function MarkdownPage({content, filename}: Props) { url={`/` + filename} /> - - {content} + + +
+ {content} +