diff options
| author | Xe Iaso <me@christine.website> | 2023-01-23 09:54:22 -0500 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2023-01-23 09:54:53 -0500 |
| commit | 295a2f993db8b1f7bb45d5d1d9c621ffe6400e58 (patch) | |
| tree | b2a05e83fd8ddbe0442cc887b2653b3d6d8dbba9 /lib | |
| parent | 36e516527d76954aa5434e66102f12c2c87a8637 (diff) | |
| download | xesite-295a2f993db8b1f7bb45d5d1d9c621ffe6400e58.tar.xz xesite-295a2f993db8b1f7bb45d5d1d9c621ffe6400e58.zip | |
Add page that explains the characters in the blog
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/xesite_markdown/src/lib.rs | 2 | ||||
| -rw-r--r-- | lib/xesite_templates/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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<String> { <div class="{class}"> <img src="https://cdn.xeiaso.net/sticker/{name_lower}/{mood}/{size}" alt="{name} is {mood}"> </div> - <div class="conversation-chat"><<b>{name}</b>> "# + <div class="conversation-chat"><<a href="/characters#{name_lower}"><b>{name}</b></a>> "# ), 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) } |
