From 295a2f993db8b1f7bb45d5d1d9c621ffe6400e58 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 23 Jan 2023 09:54:22 -0500 Subject: Add page that explains the characters in the blog Signed-off-by: Xe --- lib/xesite_markdown/src/lib.rs | 2 +- lib/xesite_templates/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/xesite_markdown/src/lib.rs b/lib/xesite_markdown/src/lib.rs index 0767c30..008a4ca 100644 --- a/lib/xesite_markdown/src/lib.rs +++ b/lib/xesite_markdown/src/lib.rs @@ -124,7 +124,7 @@ pub fn render(inp: &str) -> Result {
{name} is {mood}
-
<{name}> "# +
<{name}> "# ), ContentType::Html, ); diff --git a/lib/xesite_templates/src/lib.rs b/lib/xesite_templates/src/lib.rs index d6b3abe..a0070f1 100644 --- a/lib/xesite_templates/src/lib.rs +++ b/lib/xesite_templates/src/lib.rs @@ -75,7 +75,7 @@ pub fn conv(name: String, mood: String, body: Markup) -> Markup { } ."conversation-chat" { "<" - b { (name) } + a href={"/characters#" (name_lower)} { b { (name) } } "> " (body) } -- cgit v1.2.3