diff options
| author | Christine Dodrill <me@christine.website> | 2021-04-25 18:42:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 18:42:59 -0400 |
| commit | b7226624b8a3f318199581306c1e785e16c4d5e9 (patch) | |
| tree | baf19beeb6029404ff4f8b9e6f1f68ddec7313ab /templates | |
| parent | 2c5de872de9cc60980387f42ee51ea2b18f5bc79 (diff) | |
| download | xesite-b7226624b8a3f318199581306c1e785e16c4d5e9.tar.xz xesite-b7226624b8a3f318199581306c1e785e16c4d5e9.zip | |
blog: add morph tutorial (#363)
* blog: add morph tutorial
Signed-off-by: Christine Dodrill <me@christine.website>
* typos
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mara.rs.html | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/templates/mara.rs.html b/templates/mara.rs.html index f892c1e..ad86b1c 100644 --- a/templates/mara.rs.html +++ b/templates/mara.rs.html @@ -1,22 +1,11 @@ -@(mood: &str, character: &str, message: Html<String>, smol: bool) +@(mood: &str, character: &str, message: Html<String>) <div class="conversation"> - <div class="conversation-picture @if smol { conversation-smol }"> + <div class="conversation-picture conversation-smol"> <picture> <source srcset="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).avif" type="image/avif"> <source srcset="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).webp" type="image/webp"> <img src="https://cdn.christine.website/file/christine-static/stickers/@character.to_lowercase()/@(mood).png" alt="@character is @mood"> </picture> </div> - @if smol { <div class="conversation-chat"><<b>@character</b>> @message</div> - } else { - <div> - <p> - <b>@character</b> - </p> - <blockquote> - @message - </blockquote> - </div> - } </div> |
