diff --git a/render_html.py b/render_html.py
index 6905a09..9462be9 100644
--- a/render_html.py
+++ b/render_html.py
@@ -6,6 +6,7 @@ Run after adding/editing any summary.
"""
import re
+from html import escape
from pathlib import Path
import markdown
@@ -28,6 +29,15 @@ PAGE_TEMPLATE = """
a {{ color: #1a5fb4; }}
hr {{ border: none; border-top: 1px solid #ddd; margin: 2em 0; }}
em {{ color: #555; }}
+ nav {{ font-size: .8em; color: #888; line-height: 1.5; }}
+ nav a {{ color: #777; text-decoration: none; }}
+ nav a:hover {{ text-decoration: underline; }}
+ .crumbs {{ padding-bottom: .5em; border-bottom: 1px solid #eee; }}
+ .crumbs .sep {{ margin: 0 .35em; color: #bbb; }}
+ .pager {{ margin-top: 3em; padding-top: 1em; border-top: 1px solid #ddd;
+ display: flex; flex-wrap: wrap; gap: .6em 1em; justify-content: space-between; }}
+ .pager a {{ overflow-wrap: anywhere; }}
+ .pager .next {{ text-align: right; margin-left: auto; }}
@@ -48,13 +58,68 @@ def check_svgs(md_path: Path, text: str) -> None:
raise SystemExit(f"{md_path}:{line}: linie goală în interiorul