diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/blogpost.rs.html | 2 | ||||
| -rw-r--r-- | templates/mara.rs.html | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html index 029192e..6cb6da9 100644 --- a/templates/blogpost.rs.html +++ b/templates/blogpost.rs.html @@ -84,6 +84,8 @@ <p>The art for Mara was drawn by <a href="https://selic.re/">Selicre</a>.</p> +<p>The art for Cadey was drawn by <a href="https://artzorastudios.weebly.com/">ArtZora Studios</a>.</p> + <script> // The actual function. Set this as an onclick function for your "Share on Mastodon" button function share_on_mastodon() @{ diff --git a/templates/mara.rs.html b/templates/mara.rs.html index 3161cd6..06d977e 100644 --- a/templates/mara.rs.html +++ b/templates/mara.rs.html @@ -1,12 +1,15 @@ -@(mood: &str, character: &str, message: Html<String>) +@(mood: &str, character: &str, message: Html<String>, smol: bool) <div class="conversation"> - <div class="conversation-picture"> + <div class="conversation-picture @if smol { 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> @@ -15,4 +18,5 @@ @message </blockquote> </div> + } </div> |
