diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-03-28 18:24:16 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2023-03-28 18:24:16 -0400 |
| commit | 82ba3a11575337d03b7bcfaf216de40071d20e79 (patch) | |
| tree | 6792fa8c299eaf88e794f9bc8d09acae2da91160 /lib | |
| parent | 15b16baa19a606c962dc749d5e0e115c55e6bfe1 (diff) | |
| download | xesite-82ba3a11575337d03b7bcfaf216de40071d20e79.tar.xz xesite-82ba3a11575337d03b7bcfaf216de40071d20e79.zip | |
atom feed: show content
Closes #609
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/xesite_templates/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xesite_templates/src/lib.rs b/lib/xesite_templates/src/lib.rs index 79d4004..767ac45 100644 --- a/lib/xesite_templates/src/lib.rs +++ b/lib/xesite_templates/src/lib.rs @@ -42,7 +42,7 @@ pub fn picture(path: String) -> Markup { pub fn hero(file: String, prompt: Option<String>, ai: Option<String>) -> Markup { let ai = ai.unwrap_or("MidJourney".to_string()); html! { - meta property="og:image" content={"https://cdn.xeiaso.net/file/christine-static/hero/" (file) "-smol.png"} + meta property="og:image" content={"https://cdn.xeiaso.net/file/christine-static/hero/" (file) "-smol.png"}; figure.hero style="margin:0" { picture style="margin:0" { source type="image/avif" srcset={"https://cdn.xeiaso.net/file/christine-static/hero/" (file) ".avif"}; |
