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 /src/tmpl | |
| 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 'src/tmpl')
| -rw-r--r-- | src/tmpl/mod.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/tmpl/mod.rs b/src/tmpl/mod.rs index 2ad62c0..db4f720 100644 --- a/src/tmpl/mod.rs +++ b/src/tmpl/mod.rs @@ -233,6 +233,25 @@ pub fn contact(links: &Vec<Link>) -> Markup { ) } +pub fn characters(characters: &Vec<Character>) -> Markup { + base( + Some("Characters"), + None, + html! { + h1 {"Characters"} + p{ + "When I am writing articles on this blog, sometimes I will use " + a href="https://en.wikipedia.org/wiki/Socratic_method" {"the Socratic method"} + " to help illustrate my point. These characters are written off of a set of tropes to help give them a place in the discussions. The characters are just that, characters. Their dialogues are fiction, unless otherwise indicated everything that happens in those dialogues are products of the author's imagination or are used in a fictitious manner. Any resemblance to actual persons (living or dead) is purely coincidental." + } + + @for character in characters { + (character) + } + }, + ) +} + pub fn patrons(patrons: &Users) -> Markup { base( Some("Patrons"), |
